re #18 tentatively added compatibility with node.js packaging.