@alextanhongpin/test

1.1.0 • Public • Published

test Node.js Package

A simple github package under the scoped name @alextanhongpin/test.

To use the package, create a .npmrc file with this:

registry=https://npm.pkg.github.com/alextanhongpin

Then install the package:

$ npm i @alextanhongpin/test

Sample usage:

const { greet } = require('@alextanhongpin/test')
console.log(greet)

Updating and publishing packages

First you need to create the GITHUB_TOKEN and then follow the setup here.

$ npm version minor|major|patch
$ npm publish

Automating publishing

Github Action is set to publish the package to both npm and Github Package (though it fails for npm now due to auth error). In order to trigger the Github Action, we need to create a release manually.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @alextanhongpin/test

      Weekly Downloads

      1

      Version

      1.1.0

      License

      ISC

      Unpacked Size

      2.75 kB

      Total Files

      5

      Last publish

      Collaborators

      • alextanhongpin