35

GitHub - Codertocat/hello-world-npm: This is a simple npm package that demonstra...

 4 years ago
source link: https://github.com/Codertocat/hello-world-npm
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

README.md

hello-world-npm

This is a simple npm package that demonstrates the GitHub Package Registry.

Installation

Before installing, make sure to authenticate with GitHub Package Registry or using a .npmrc file. See "Configuring npm for use with GitHub Package Registry."

$ npm install @codertocat/hello-world-npm

Or add this package to your package.json file:

"dependencies": {
    "@codertocat/hello-world-npm": "1.0.0"
  }

Usage

const myPackage = require('@codertocat/hello-world-npm');
myPackage.helloWorld();

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK