Features

  • Small footprint
  • Ecmascript ES5/ES5.1 compliant, some features borrowed from Ecmascript ES6
  • TypedArray and Buffer support
  • Built-in regular expression engine
  • Built-in Unicode support
  • Tail call support
  • Combined reference counting and mark-and-sweep garbage collection with finalization
  • CommonJS-based module loading system
  • Support for native modules written in C
  • Rich standard library
  • Binary name 25% shorter than Node

See also

Skookum JS gets most of its features through its engine: Duktape.

ES6 support

Duktape (the JavaScript engine used by sjs) currently implements a subset of ES6 features.

sjs expands on this by provising this ES6 shim builtin.

Note

No shim for Promise objects is currently provided.