updated the npm version of this library.