@deva777m/test-npm-pkg
v1.0.7
Published
A simple test npm package
Readme
test-npm-pkg
A simple test npm package that provides basic mathematical operations.
Installation
npm install test-npm-pkgUsage
import { add, multiply } from 'test-npm-pkg';
// Adding numbers
const sum = add(5, 3); // Returns 8
// Multiplying numbers
const product = multiply(4, 2); // Returns 8API
add(a: number, b: number): number
Adds two numbers together and returns their sum.
multiply(a: number, b: number): number
Multiplies two numbers together and returns their product.
Development
- Clone the repository
- Install dependencies:
npm install - Run tests:
npm test - Build:
npm run build
License
MIT
