1.2.3 โข Published 3 years ago
@bengr.digital/utils v1.2.3
๐ฆ npm package - utils
This is code of npm package with most used utils functions.
Install with command:
npm install @bengr.digital/utils๐ข Publish package
- go to folder with package
cd ./package npm run compilefor compile (ornpx tsc)- update version of package in
package.jsonif you already didn't npm run publishfor publish (ornpm publish --access=public)
Every time check that code is working before publish!
๐งช Test package
- go to test folder
cd ./test - run
npm link ../packagefor download unpublished package - import new functionality and try it ๐ง
import { newFunction } from '@bengr.digital/utils';
newFunction();- Install typescript globaly
- compile with typescript
tsc index.ts - and run with
node index.js