Javascript utility library created with TypeScript
Documentation on https://nabby27.github.io/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 most current libraries of the moment and it will be updated for you.
Using npm:
npm i main-fns
import { addDays, dateToString } from 'main-fns'
addDays(1, new Date(1996, 5, 26)) // new Date(1996, 5, 27)
dateToString('yyyy-MM-dd', new Date(1996, 5, 27)) // '1996-06-27'
Feel free to investigate the main-fns API, it is structured by modules and created using JSDoc.
See de CONTRIBUTING page