A library project for nodejs. #nodejs #typescript #library
- hello (for debugging)
pojofor converting class objects to Plain Old Javascript Objects.createFindDirectoriesas a factory for finding directories; thinkfind path -type d.
git clone git@github.com:wtasg/node-lib.git
npm run build
npm run test
# make changes...We are using node --test for testing.
npm install @wtasnorg/node-lib# check if you can run code
import {hello} from "@wtasnorg/node-lib";
await hello();
// "hello from @wtasnorg/node-lib"