@shravan06/my-npm-package
v1.0.0
Published
A simple math utility
Downloads
44
Readme
my-npm-package
A simple math utility.
Installation
npm install my-npm-package
Usage
const { add, subtract } = require('my-npm-package'); add(2, 3); // 5 subtract(5, 2); // 3
---
## 7. Add a .gitignore & .npmignore
**.gitignore** — keeps git clean:node_modules/ .env
**.npmignore** — controls what gets uploaded to npm (exclude test files, etc.):node_modules/ test/ .env *.test.js
