renamed property to predicate
make createGraph function writable
fixed node.js module exports
added npm package file