main-fns
Javascript utility library created with TypeScript
Documentation
Feel free to investigate the main-fns documentation, it is structured by modules and created using JSDoc.
Why main-fns?
It is quite tedious to be aware of all the dependencies and keep their changes. The idea of main-fns is that you only worry about this library. Main-fns will have all the main functions that are used in a common way such as the handling of dates, texts, arrays, numbers... Internally main-fns will use the best implementation of the moment and it will be updated for you.
Installation
Using npm:
npm i main-fns
Some examples
import { addDays, camelCase, max } from 'main-fns'
addDays(1, new Date(1996, 5, 26)) // new Date(1996, 5, 27)
camelCase('hello world') // helloWorld
max(3, 4, 5, 2) // 5
How to contribute?
See de CONTRIBUTING page
What changes does it have?
Detailed changes for each release are documented in the CHANGELOG page or in release notes.
License
See de LICENSE page