Make this a npm module