Disclaimer: EtherSim is beta and is currently under development.
EtherSim is a Limited Ethereum RPC simulator for testing and development purposes. EtherSim is used by the Embark Framework
$ npm install -g ethersim
$ ethersim
var ethersim = require('ethersim');
var web3 = require('web3');
web3.setProvider(ethersim.web3Provider());
Currently EtherSim does not support Events. If used as a lib, all calls must be done asynchronously