Jump to content

JSGI

From Wikipedia, the free encyclopedia

This is the current revision of this page, as edited by InternetArchiveBot (talk | contribs) at 09:44, 16 February 2023 (Rescuing 1 sources and tagging 0 as dead.) #IABot (v2.0.9.3). The present address (URL) is a permanent link to this version.

(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

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

[edit]

All these packages are for Node.JS.

Low level

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

Framework

[edit]

These frameworks allow using promises with Q:[2]

The names are inspired by Sinatra.

References

[edit]
  1. ^ "CommonJS Web server to application interface Spec".
  2. ^ "Q promise framework". Archived from the original on 2016-03-26. Retrieved 2013-05-22.
[edit]