npm-publish-programatically
publish a thing to npm. but without touching the filesystem or anything like that.
installation
npm install npm-publish-programatically
usage
const npmPublishProgramatically = ; ;
options
auth: {token}
(required)
provide your npm auth token. you probably have one in ~/.npmrc
.
registry
npm registry url. it's probably https://registry.npmjs.com
, which is the default.
access
public
for public packages (default), private
for private packages.
licence
ISC