Skip to content

Urucas/pillbug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pillbug Build Status

Quick Static Express Server

#Usage

$ npm install -g pillbug
$ pillbug [port]

Serve current folder static html

$ pillbug
// or
$ pillbug 8009

Optional

$ pillbug --proxy

And make cross-domain calls from your code like:

$.ajax({
  url: '/proxy',
  dataType: 'json',
  type: 'GET',
  data: {url: 'http://gpai-service.herokuapp.com/?id=com.urucas.wifime'},
  success: function(data) {
    // do something with your data
  }
});

About

Quick Static Express Server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published