https://github.com/thesoftwarehouse/node-common
Common libraries used by TSH
https://github.com/thesoftwarehouse/node-common
Last synced: 8 months ago
JSON representation
Common libraries used by TSH
- Host: GitHub
- URL: https://github.com/thesoftwarehouse/node-common
- Owner: TheSoftwareHouse
- License: mit
- Created: 2018-08-27T09:13:06.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-02-03T15:23:37.000Z (almost 3 years ago)
- Last Synced: 2025-04-25T11:05:35.914Z (8 months ago)
- Language: TypeScript
- Size: 1.92 MB
- Stars: 14
- Watchers: 13
- Forks: 4
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
#
[](https://travis-ci.com/github/TheSoftwareHouse/node-common)
[](https://lerna.js.org/)
node-common are set of useful tools for developing Node.js applications.
## Monorepo
This repo is a monorepo which contains the libs:
- [Command Bus](https://github.com/TheSoftwareHouse/node-common/tree/master/packages/command-bus)
- [Query Bus](https://github.com/TheSoftwareHouse/node-common/tree/master/packages/query-bus)
- [Event Dispatcher](https://github.com/TheSoftwareHouse/node-common/tree/master/packages/event-dispatcher)
- [Logger](https://github.com/TheSoftwareHouse/node-common/tree/master/packages/logger)
- [Awilix Resolver](https://github.com/TheSoftwareHouse/node-common/tree/master/packages/awilix-resolver)
## Setting up for local development
- Clone the repo
- From your workspace root run `npm install`, then `npm run bootstrap` and `npm run build`
- `npm run integration` - run integration tests in each package
- `npm run add -- [--scope=]` - add `` to `packages/package-name`. If `scope` flag is ommited it adds `dependency` to all packages.
- `npm run format` - run code formatter
- `npm run lint` - run linter analysis
- `npm run watch` - build packages and watch for changes
## License
[](https://raw.githubusercontent.com/TheSoftwareHouse/node-common/master/LICENSE)
This project is licensed under the terms of the [MIT license](/LICENSE).
## About us: