JSGI

JSGI, or JavaScript Gateway Interface, is an interface between web servers and JavaScript-based web applications and frameworks. It was inspired by the Rack for Ruby and WSGI for Python and was one of the inspirations of PSGI for Perl.

Jack at the Wayback Machine (archived December 17, 2014) is a reference implementation of JSGI.

It has been included in and further developed by the CommonJS project.[1]

JSGI packages

All these packages are for Node.JS.

Low level

  • Q-IO: Promise-based I/O, includes JSGI based HTTP server and client
  • jsgi-node: Low level JSGI interface for Node.JS

Framework

These frameworks allow using promises with Q:[2]

The names are inspired by Sinatra.

gollark: ddg! void star linux
gollark: ddg! void star
gollark: What if we just make there be multiple 5s, to resolve the issue?
gollark: Why do you even have indentation instead of just prepending random quantities of random Unicode whitespace to each line?
gollark: I see that bee memetics have been successfully uploaded.

References


This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.