Skip to content

Repository files navigation

@remarkablemark/test

📦 GitHub Package test:

Read the blog post.

Prerequisites

Update .npmrc:

@remarkablemark:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}

Create auth token with scope read:packages and add it to your shell config (e.g., .zshrc):

export GITHUB_TOKEN=ghp_xxx

Or do with with GitHub CLI:

gh auth refresh -h github.com -s read:packages
echo'export GITHUB_TOKEN=$(gh auth token)'>>~/.zshrc

Install

Install the package:

npm install @remarkablemark/test

Usage

Use the package:

const{ hello }=require('@remarkablemark/test');console.log(hello());// 'Hello, world!'

Releases

Packages

Used by

Contributors

Languages