jshp

0.0.1 • Public • Published

JSHP

JavaScript HyperText Preprocessor

Bringing the awesomeness of PHP to JavaScript since 1870

JSHP is a runtime based on Node.js to provide some of the features of PHP (or typical uses of PHP) that make web development ridiculously easy, while maintaining the decency of JavaScript and Node.js APIs. Some of these features are:

  • Direct one-to-one mapping of request paths to directory structure on filesystem
  • Abstracting away the request-response HTTP cycle
  • Abstracting away session and cookie management
  • Easy interfacing with popular databases

JSHP also directly benefits from the asynchronous nature of Node.js, and the performance of V8 - the JavaScript engine currently used by Node.js. Synchronous APIs are just emulated using coroutines with Bluebird and previously existing Promise based APIs.

JSHP is currently in alpha; a working prototype + collecting major feedback and such.

Readme

Keywords

Package Sidebar

Install

npm i jshp

Weekly Downloads

1

Version

0.0.1

License

WTFPL

Last publish

Collaborators

  • awal