Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including stj with all npm packages installed. Try it out:

var stj = require("stj")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

stj v1.3.0

Standard Toolkit Javascript. Multi-platform core javascript library. Provide OOP and useful functions. As brand free as possible and CommonJS philosophy.

Multi-platform utility library

DESCRIPTION:

The library aims are:

  • no branding (or as invisible as possible) unlike dojo.*, jquery, etc.
  • improve native types with high level functions
  • gather all best functions and practises from javascript and other similar frameworks
  • cross platform (browsers and servers)
  • performances

Its utopic aim is to raise a discussion about what are the most needed functions in javascript and could be used as a standard.

The main drawback of the std.js approach native type tweaking like String, Array, etc. This choice is intentional to improve the Javascript language itself and not provide long API like Vendor.string.doSomeStuff(str).

Please post your comments, suggestions, improvements, bugfixes on the github url https://github.com/as-jpolo/std.js .

HOW TO INSTALL:

  1. Install plugin git clone git://github.com/as-jpolo/std.git .
  2. Include the library in your path or page

HOW TO CODE:

  • avoid abbreviations
  • explicit better than implicit
  • closure should be named for easier debugging when this make sense
  • IMPORTANT: no new property in Object.prototype (this break google api etc)

CHANGELOG:

0.1

tested and functional package

TODO:

which ECMA version to support?

include or not es5 shim?

CONTRIBUTION:

Contributions are welcome, feel free to push changes on github.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free