My first published NPM package.
Includes simple console logs and two functions squareIt
and cubeIt
for testing.
-
npm i stefannpm --save
-
Create a
test.js
file -
Paste the following:
const stefanNPM = require("stefannpm"); console.log(stefanNPM.squareIt(3)); console.log(stefanNPM.cubeIt(3));
-
node test