1.1.1 • Published 2 years ago

wwwtalal_npm2 v1.1.1

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

Setup

  1. GitHub: Create repo wwwtalal_npm2

  2. init, run:

npm i
npm run git:all
  1. Coding, run:
npm start

npm t 
or 
npm run test:watch
  1. Push latest updates to github, run
npm run git:update
  1. Production, run:
npm run build
npm run start:lib
  1. Setup for link (here), run:
npm link

then run example

  1. Consume using link (there), run:
npm link wwwtalal_npm2
  1. Consume using github:
npm i https://github.com/wwwtalal/wwwtalal_npm2 --save
  1. Setup for npm, may need to change private in package.json to false, run:
npm run publish
// npm publish // other way
  1. Consume using npm, run:
npm i wwwtalal_npm2 --save
  1. Example:
const {main} = require('wwwtalal_npm2')
console.log(main('Me'))
// Hello Me!