1.0.2 • Published 1 year ago

altdash v1.0.2

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

altdash

altdash is a lightweight alternative to lodash with a minimal function-set.

Installation

Using npm:

npm i altdash

Importing jsonlitedb to your Node Project:

const altdash = require(‘altdash’)

Usage

altdash currently features two functions:

min

Returns the smallest value in any given array.

This function has one mandatory parameter: 1. Your array

Example

let myArray = [1,4,7]

min(myArray) //Expected return: 1

max

Returns the largest value in any given array.

This function has one mandatory parameter: 1. Your array

Example

let myArray = [1,4,7]

max(myArray) //Expected return: 7
1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago