pillbug
Simple static express server
Last updated 4 months ago by urucas .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install pillbug -g
SYNC missed versions from official npm registry.

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
  }
});

Current Tags

  • 0.0.7                                ...           latest (4 months ago)

7 Versions

  • 0.0.7                                ...           4 months ago
  • 0.0.6                                ...           4 years ago
  • 0.0.5                                ...           5 years ago
  • 0.0.4                                ...           5 years ago
  • 0.0.3                                ...           5 years ago
  • 0.0.2                                ...           5 years ago
  • 0.0.1                                ...           5 years ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 4
Last Day 0
Last Week 0
Last Month 7
Dependencies (10)
Dev Dependencies (3)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |