Reference articles on history, science, culture and more
Encyclopedia

JSGI

Interface between web servers and JavaScript-based web applications

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.

01JSGI 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:

The names are inspired by Sinatra.

Watch videos about JSGIExplainers and documentaries on YouTube (opens in a new tab)

Sources and credits

This article is adapted from the Wikipedia article JSGI, written by its contributors and licensed under CC BY-SA 4.0. Fathomly has changed the layout, removed citation markers, navigation and maintenance notices, and adjusted punctuation. This adapted version is shared under the same license. For references, see the original article.

Fathomly is not affiliated with or endorsed by the Wikimedia Foundation. Spotted a problem? Tell us.