Browser & node utils for cher-ami projects.
npm i @cher-ami/utils
Import all utils from @cher-ami/utils
import { modulo } from '@cher-ami/utils';
modulo(5, 2); // 1
# install dependencies
pnpm i
# run tests
pnpm test
# run tests in watch mode
pnpm test:watch
# build in watch mode
pnpm build:watch
# build for production
pnpm build
# build and tests
pnpm pre-publish
# increment version in package.json
npm verion {patch|minor|major}
# push to github with tags
git push --follow-tags
# publish to npm (you need to be logged in)
npm publish
# then create a release on github
MIT
© cher-ami