Converted lib to an npm module.
Merge branch 'node'