The Util reduces code size and helps to code quickly.
.npmrc
@creator-sn:registry=https://npm.pkg.github.com
- NPM Github
yarn add @creator-sn/common-utils # npm install @creator-sn/common-utils
import { DomUtil, CookieUtil, NotificationUtil, SystemUtil, RandomUtil, DateUtil } from '@creator-sn/common-utils';
// generate password
RandomUtil.password();
// generate uuid
RandomUtil.uuid();
// download a file
DOMUtil.download(new File([new Blob()], 'test.txt'));
- Serve
yarn dev
- Test
yarn test