GitHub Package test
Update .npmrc:
@remarkablemark:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}
Create a token:
read:packages
Add to your .zshrc or .bashrc:
export GITHUB_TOKEN=ghp_xxxInstall the package:
npm install @remarkablemark/testUse the package:
const { hello } = require('@remarkablemark/test');
console.log(hello()); // 'Hello, world!'