Skip to content

LeonardoVal/creatartis-base.js

Repository files navigation

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.

About

Basic and generic utility functions and definitions.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published