js-stage
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

JS Stage

Description

This is a basic project template for creating and publishing an (Unscoped) npm package. To add organization or user scope, change the name in package.json from js-stage to @scope/js-stage

Referenced article

https://itnext.io/step-by-step-building-and-publishing-an-npm-typescript-package-44fe7164964c

Published public npm package

https://www.npmjs.com/package/js-stage

Test before publishing

npm install full-path-to-package-directory

Signup for an npm user account

https://www.npmjs.com/signup

Login to your npm account

npm login

Create a new version of the package

npm version patch

Publish package

npm publish

This command will publish publicly for unscoped package, and privately for scoped package by default. To explicitly specifying the access level, use this command:

npm publish --access=public

Unpublish package (only works within 72 hours of the initial publish)

npm unpublish js-stage -f

How to install

npm install js-stage

How to use:

  • Add import {Greeter} from 'js-stage'; to the top of the file
  • Calling Greeter("zakhan4") returns "Hello zakhan4"

Readme

Keywords

Package Sidebar

Install

npm i js-stage

Weekly Downloads

0

Version

1.0.5

License

ISC

Unpacked Size

2.57 kB

Total Files

4

Last publish

Collaborators

  • zakhan4