1.1.0 • Published 10 years ago

node-http-server2 v1.1.0

Weekly downloads
73
License
-
Repository
-
Last release
10 years ago

node-http-server2

This is a httpserver that support jshp. You can use it to create REST API or some webpage.

There is no longer support jshp default after version 1.1.x+,so node-http-server2 is a static file server now. But if you want use jshp ,i reserved a set_custom_parser function. you can download jshp_parser for node-http-server2 and set it. for example:

var jshp_parser = require("./jshp_parser");
web_service.set_custom_parser("jshp",jshp_parser);

Install

npm install node-http-server2

How to Use

var server =require('node-http-server');
server.start("/srv/www/node/",80);

JSHP variables and functions

variables->

  end(data);
});
</PRE>

Copyright (c) 2014 Chun-Yen Wu

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

1.1.0

10 years ago

1.0.1402

10 years ago

1.0.1401

10 years ago

1.0.14

10 years ago

1.0.13

10 years ago

1.0.12

10 years ago

1.0.11

10 years ago

1.0.10

10 years ago

1.0.9

10 years ago

1.0.8

10 years ago

1.0.7

10 years ago

1.0.6

10 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago