creatartis-base

0.1.8 • Public • Published

creatartis-base.js

Bundle of assorted utility definitions used in our Javascript projects. Can be loaded as a CommonJS module, with AMD, or with a <script> tag (defines base in the global scope). Tested in NodeJS, Firefox & Chrome using RequireJS.

Built with Grunt NPM

Includes (among other things):

  • OOP related functions like declare (similar to Dojo's).
  • A promises implementation for dealing with asynchronism, called Future (like Java's).
  • Functional style iterators and iterables.
  • Pseudorandom number generators (Javascript's Math.random does not allow seeding) with a rich set of features.
  • A Chronometer, and objects for gathering Statistics.

It's still work in progress and not completely tested, and it will probably remain so for a long time (or ever).

License

Open source under an MIT license (see LICENSE.md).

Contact

Suggestions and comments are always welcome at leonardo.val@creatartis.com.

Package Sidebar

Install

npm i creatartis-base

Weekly Downloads

11

Version

0.1.8

License

MIT

Unpacked Size

655 kB

Total Files

7

Last publish

Collaborators

  • leonardo.val