Personal utils collection.
-
Simplicity is paramount
Collecting the most commonly used tool functions in daily work, ES6 has been implemented without duplication. -
Written by TypeScript
Enjoy the benefits of TS type constraints and code hints. -
Comprehensive test
Each method guarantees at least one test case.
npm i @bougiel/utils -S
- Using Simple Writing
You need to ensure that the version of webpack is greater than or equal to 4.
import { Binder, cloneDeep, compose, dateFormat } from '@bougiel/utils'
- Import From Files
import { Binder } from '@bougiel/utils/lib/Binder'
import { cloneDeep } from '@bouigel/utils/lib/cloneDeep'
import { compose } from '@bouigel/utils/lib/compose'
import { dateFormat } from '@bouigel/utils/lib/dateFormat'