1.0.3 • Published 1 year ago

@imaryan08/npm-package v1.0.3

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

@imaryan08/npm-package

A Node.js package that sums two numbers.

Usage

First, install the package using npm:

npm install @imaryan08/npm-package --save

Then, require the package and use it like so:

var sum = require('@imaryan08/npm-package');

var res = sum(22,13);

console.log(sum);

API

function sum (a:number,b:number) => 
    return number;

License

MIT

keywords

none

Maintainers

Commands to Publish npm package

  • npm init --scope=@imaryan08
  • npm publish --access public

Extra commands while updating packages

  • npm publish (when you will update the version)
  • npm version 0.0.2(to update the version directly)