Browser and node utils library
npm install @cher-ami/utilsBrowser & node utils for cher-ami projects.
``shell`
npm i @cher-ami/utils
Import all utils from @cher-ami/utils
`js
import { modulo } from '@cher-ami/utils';
modulo(5, 2); // 1
`
- array
- dom
- envs
- math
- promise
- social
- string
`shellinstall dependencies
pnpm i
Publish a new version
`shell
build and tests
pnpm pre-publishincrement version in package.json
npm verion {patch|minor|major}push to github with tags
git push --follow-tagspublish to npm (you need to be logged in)
npm publishthen create a release on github
``MIT
© cher-ami