@idityage/input-validation
v1.0.4
Published
> Warning about typescript
Readme
This is just a simple input validation package using zod and tupescript which is used to validate the input data in both frontend and backend.
Warning about typescript
don't push
.tsfile to npm, only push the.jsfile to npm
to declare the type of the package, make changes in
tsconfig.jsonfile -->"declaration": trueand runtsccommand to generate the.d.tsfile
Installation
npm install @idityage/input-validationHow to push to npm
npm login
npm publish --access publicHow to update the package
- Update the version in the package.json file
- Run the following commands
npm version patch
npm publish --access public