1.0.1 • Published 4 years ago
wwwtalal_npm8 v1.0.1
Setup
GitHub: Create repo wwwtalal_npm8
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- Coding, run:
npm start
npm t
or
npm run test:watch- Push latest updates to github, run
npm run git:update- try js result, run:
npm run build
npm run start:lib- Setup for Github only, run:
npm run release:git- Setup for Github and NPM, may need to change private in package.json to false, run:
npm run release:npm- Setup for link (here), run:
npm linkthen run example
- Consume using link (there), run:
npm link wwwtalal_npm8- Consume using github:
npm i https://github.com/wwwtalal/wwwtalal_npm8 --save- Consume using npm, run:
npm i wwwtalal_npm8 --save- Example:
const {main} = require('wwwtalal_npm8')
console.log(main('Me'))
// Hello Me!