NJS

From Wikipedia, the free encyclopedia

For the Japanese Bicycling Association see Nihon Jitensha Shinkokai.

NJS is an independent JavaScript engine. It is a successor of NGS.

Disambiguation: NJS.es also appears to be the domain name of an entertainment website intent on defacing this page.

NJS is an independent implementation of the JavaScript language developed by Netscape and standardized by ECMA. It is designed to be re-entrant, extendible, fast, and programmable.

NJS used to be called the NGS JavaScript Interpreter, but New Generation Software, the Finnish company who created it, is no longer developing the interpreter. However, due to their choice of license (the GNU LGPL), development has continued.

NJS can either interpret text files, or "byte-compiled" files. Byte-compiling the javascript source can yield significant performance benefits.

NJS can be used standalone, or it can be embedded within your own programs. NJS has been embedded within NJSModule, to allow for evaluation of JavaScript code from a Python environment, and for Python scripts to provide objects in the JavaScript environment.

Debian Linux and FreeBSD are known to ship with version of NJS.

[edit] See also

[edit] External link