This is a simple npm package that demonstrates the GitHub Package Registry.
Before installing, make sure to authenticate with GitHub Package Registry or using a .npmrc
file. See "Configuring npm for use with GitHub Package Registry."
$ npm install @octo-org/hello-world-npm
Or add this package to your package.json
file:
"dependencies": {
"@octo-org/hello-world-npm": "1.0.3"
}
const myPackage = require('@octo-org/hello-world-npm');
myPackage.helloWorld();