1.2.2 • Published 4 years ago
@mellow.cobra/lib v1.2.2
MC Lib
@mellow.cobra/lib
The MellowCobra Library for JavaScript is a collection of common methods for standard operations to fill in gaps in the existing standard JS library.
It contains functions for common operations that I find myself doing all over the place.
Documentation
Documentation is built from the code directly using TypeDoc and can be viewed here
Modules:
- Arr - A collection of methods for dealing with arrays
- Fn - A collection of methods for dealing with functions
- Obj - A collection of methods for dealing with objects
- Str - A collection of methods for dealing with strings
- Util - A collection of utility methods for checking equality of various values
Installation
NPM
npm install @mellow.cobra/libYarn
yarn add @mellow.cobra/libUsage
Import each module as needed
import { Arr } from "@mellow.cobra/lib"
console.log(Arr.lastItem([1, 2, 3])) // 3Import all modules in a single namespace
import MCLib from "@mellow.cobra/lib"
console.log(MCLib.Arr.lastItem([1, 2, 3])) // 31.2.0
4 years ago
1.1.4
4 years ago
1.2.2
4 years ago
1.1.3
4 years ago
1.2.1
4 years ago
1.1.1
4 years ago
1.1.2
4 years ago
1.1.0
5 years ago
1.0.15
5 years ago
1.0.14
5 years ago
1.0.13
5 years ago
1.0.12
5 years ago
1.0.11
5 years ago
1.0.10
5 years ago
1.0.9
5 years ago
1.0.8
5 years ago
1.0.7
5 years ago
1.0.6
5 years ago
1.0.5
5 years ago
1.0.4
5 years ago
1.0.3
5 years ago
1.0.2
5 years ago
1.0.1
5 years ago
1.0.0
5 years ago