@asishuser123/hello-test-pkg
v1.0.0
Published
A minimal test npm package to learn how to publish
Readme
hello-test-pkg
A minimal npm package created to learn how to publish to npm.
Install
npm install @your-npm-username/hello-test-pkgUsage
const { greet, add } = require('@your-npm-username/hello-test-pkg');
console.log(greet('Asish')); // Hello, Asish! 👋 This is your first npm package.
console.log(add(3, 4)); // 7API
greet(name?)
Returns a greeting string. Defaults to "World" if no name given.
add(a, b)
Returns the sum of two numbers.
License
MIT
