packed it up to a npm