Evo Cloud Basic Elements

npm install evo-elements
4 downloads in the last week
8 downloads in the last month

Build Status



This package includes common and basic building elements for all evo projects.

In this version, it includes:

  • BiMap: a bi-directional map which maps a key entity to a value;
  • Config: a simple configuration framework to release you from writing similar code in projects;
  • DelayedJob: ensure a postponed job won't be scheduled multiple times;
  • Errors: unified error representation;
  • Logger: logging infrastructure using syslog levels;
  • Schema: data object validation and normalization;
  • StateMachine: a state machine with easy-to-use DSL;
  • States: a basic framework for building a state machine;
  • Trace: simple console logging with predefined levels and customizable component names;
  • Try: simple try/catch block wrapper to save you writing try/catch by routing exception to callback.


npm install evo-elements

or pull directly from github.com and link to your project:

git clone https://github.com/evo-cloud/elements
npm link elements --prefix=node_modules

In your JavaScript code, use

var elements = require('evo-elements');

How to Use

See doc for manuals of individual components.


MIT/X11 License

npm loves you