updated readme, exposed as a node module