js-ts-kit
v1.1.0
Published
JavaScript Utility Library
Readme
js-ts-kit
A JavaScript and TypeScript toolkit for shared code, including reusable variables, helper functions, constants, connectors, and core modules.
Pre-requisites
Read sources in References section to understand how to bundle this library so that it can be used in frontend and backend.
Important Notes
- This library must be compatible with frontend and backend.
- When updating this library, please make sure to not use any dependencies that only works with 1 environment, such as
bcrypt,mongoose, andsequelize.
Installation
Enter yarn add js-ts-kit.
Release Workflow
Use the npm lifecycle hooks instead of publishing from stale local artifacts.
- Run
npm test. - Run
npm run pack:checkto inspect the exact tarball contents. - Run
npm publishafter the dry run looks correct.
npm pack and npm publish automatically trigger prepack, which rebuilds dist before packaging.
Documentation Site
https://www.huadylan.com/js-ts-kit/
