Skip to content

remarkablemark/github-package-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@remarkablemark/test

GitHub Package test

Prerequisites

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_xxx

Install

Install the package:

npm install @remarkablemark/test

Usage

Use the package:

const { hello } = require('@remarkablemark/test');

console.log(hello()); // 'Hello, world!'