3.4.0 • Published 3 years ago

functionkit v3.4.0

Weekly downloads
3
License
MIT
Repository
github
Last release
3 years ago

functionKit latest version | npm David GitHub Workflow Status GitHub Workflow Status GitHub commits since latest release (by date including pre-releases) Maintainability

A package with functions for example, sum 2 numbers A lodash ripoff

NOTE

I just reialized that functionKit is a lodash ripoff!

Install

npm i functionkit

or

npm install functionkit

Importing functionKit

import { sum, subtract, greet, divide } from 'functionKit';

Usage

// Greeter
console.log(greet('Shehab'));
          // Hello Shehab
// Custom Greeting
console.log(greet('Shehab', 'Welcome back,'));
                          // Welcome back, Shehab

// Math
// sum (add)
   console.log(sum([1, 1]));
   // 2
   // Same as: 1 + 1
// subtract (the opposite of sum)
   console.log(subtract(1, 3));
   // 3
   // Same as: 1 - 3
// Divide (i can't simplify it.)
   console.log(divide(55, 11));
   // 5
   // Same as: 55 / 11

For more documentation, head over to shahoob.github.io/functionKit

3.4.0

3 years ago

3.3.0

3 years ago

3.2.0

4 years ago

3.1.0

4 years ago

3.0.0

4 years ago

2.0.0

4 years ago

1.1.0

4 years ago