@macrobe/plus
v1.0.1
Published
Functional utility library for modern TypeScript, ESM, ES6+!
Downloads
284
Readme
@macrobe/plus
Part of @macrobe monorepo
🚀 Modern: Built with ESM modules and TypeScript
🪶 Lightweight: Tree-shakable functions for optimal bundle size
💪 Type-safe: Full TypeScript support with comprehensive type definitions
⚡ Fast: Optimized algorithms for maximum performance
📦 Zero Dependencies: No external dependencies
📦 Installation
npm install @macrobe/plus
# or
pnpm add @macrobe/plus
# or
yarn add @macrobe/plus🚀 Usage
import { plus } from '@macrobe/plus';
const result = plus(2, 3);
// => 5
const result2 = plus(10, -5);
// => 5📖 API
plus(a: number, b: number): number
Adds two numbers together.
Parameters:
a- First numberb- Second number
Returns: Sum of a and b
🔗 Links
📝 License
MIT © Igor Suvorov
@macrobe - Swimming in utilities 🐠
