Installation
# npm
npm install @castore/core
# yarn
yarn add @castore/core
Castore is not a single package, but a collection of packages revolving around a core
package. This is made so every line of code added to your project is opt-in, wether you use tree-shaking or not.
Castore packages are released together. Though different versions may be compatible, you are guaranteed to have working code as long as you use matching versions.
Here is an example of working package.json
:
{
...
"dependencies": {
"@castore/core": "2.0.0",
"@castore/event-storage-adapter-dynamodb": "2.0.0"
...
},
"devDependencies": {
"@castore/lib-test-tools": "2.0.0"
...
}
}