Socket
Socket
Sign inDemoInstall

@alextanhongpin/test

Package Overview
Dependencies
0
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @alextanhongpin/test

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


Version published
Maintainers
1
Install size
2.69 kB
Created

Readme

Source

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.

FAQs

Last updated on 29 Aug 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc