NJS

From Wikipedia, the free encyclopedia

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

NJS is an independent implementation of the JavaScript language developed by Netscape and standardized by ECMA. It is designed to be re-entrant, extendable, 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 other 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 bundle a version of NJS.

[edit] See also

[edit] External links