domain-container

3.0.0 • Public • Published

NPM

DomainContainer

DomainContainer is a tool to help you isolate your different Krypton ORM environments and anything that the Krypton models may need, also can be used for storing anything in general.

You just need some reliable way of identifying the different DomainContainer instances, for example a sub-domain in the URL or something like this.

Check the SPEC.md file for detailed use-cases and the reasoning behind this module.

Usage

It's all explained in the SPEC.md file, check it out.

Installation

$ npm i -SE domain-container

Tests

$ npm i
$ npm run test:once

You may need to configure Knex under test/create-table.js and test/domain-container.js. You need Postgres installed.

Changelog

Check the CHANGELOG.md file for the changelog.

License

Check the LICENSE file for licensing details.

Package Sidebar

Install

npm i domain-container

Weekly Downloads

3

Version

3.0.0

License

ISC

Last publish

Collaborators

  • greduan