2.0.0 • Published 2 years ago

wwwtalal_npm3 v2.0.0

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

Setup

  1. GitHub: Create repo wwwtalal_npm3

  2. init, run:

npm i
npm run git:init:all
// or if did not create repo, create a new one, then run
npm run git:init:redo
  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_npm3
  1. Consume using github:
npm i https://github.com/wwwtalal/wwwtalal_npm3 --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_npm3 --save
  1. Example:
const {main} = require('wwwtalal_npm3')
console.log(main('Me'))
// Hello Me!