Making it an npm module