This is my personal Domain Driven Design library I'm using across projects. It's intended to make working with the DDD architecture a little easier and faster. It's still in development at the moment, so the API may change and it's not yet published on NPM. What is there now has been documented with JSDoc and tests.
The library contains classes like Entity and ValueObject that can be extended. It also provides helpers like Result module, that provides safe and typed error handling.
Most of it is based on Khalil Stemmler's excellent blog.
Installation:
git clone https://github.com/waspeer/forestfire-core
cd forestfire-core
yarn
tscFrom here you can either copy it into your project or use something like yarn link.
MIT © Wannes Salomé
