├── .gitignore ├── .jshintignore ├── .jshintrc ├── .npmignore ├── .travis.yml ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── CONTRIBUTORS.md ├── LICENSE ├── README.md ├── index.js ├── package.json ├── release-notes.yml ├── test ├── .jshintrc ├── _utils.js ├── configuration.js ├── indexes.js ├── integration.js ├── middleware.js ├── opt-out.js ├── plugin.js └── require-tenant-id.js └── yarn.lock /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | coverage 3 | .nyc_output 4 | .idea 5 | 6 | -------------------------------------------------------------------------------- /.jshintignore: -------------------------------------------------------------------------------- 1 | coverage 2 | node_modules 3 | -------------------------------------------------------------------------------- /.jshintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftup/node-mongo-tenant/HEAD/.jshintrc -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftup/node-mongo-tenant/HEAD/.npmignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftup/node-mongo-tenant/HEAD/.travis.yml -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftup/node-mongo-tenant/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftup/node-mongo-tenant/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /CONTRIBUTORS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftup/node-mongo-tenant/HEAD/CONTRIBUTORS.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftup/node-mongo-tenant/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftup/node-mongo-tenant/HEAD/README.md -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftup/node-mongo-tenant/HEAD/index.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftup/node-mongo-tenant/HEAD/package.json -------------------------------------------------------------------------------- /release-notes.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftup/node-mongo-tenant/HEAD/release-notes.yml -------------------------------------------------------------------------------- /test/.jshintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftup/node-mongo-tenant/HEAD/test/.jshintrc -------------------------------------------------------------------------------- /test/_utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftup/node-mongo-tenant/HEAD/test/_utils.js -------------------------------------------------------------------------------- /test/configuration.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftup/node-mongo-tenant/HEAD/test/configuration.js -------------------------------------------------------------------------------- /test/indexes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftup/node-mongo-tenant/HEAD/test/indexes.js -------------------------------------------------------------------------------- /test/integration.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftup/node-mongo-tenant/HEAD/test/integration.js -------------------------------------------------------------------------------- /test/middleware.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftup/node-mongo-tenant/HEAD/test/middleware.js -------------------------------------------------------------------------------- /test/opt-out.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftup/node-mongo-tenant/HEAD/test/opt-out.js -------------------------------------------------------------------------------- /test/plugin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftup/node-mongo-tenant/HEAD/test/plugin.js -------------------------------------------------------------------------------- /test/require-tenant-id.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftup/node-mongo-tenant/HEAD/test/require-tenant-id.js -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftup/node-mongo-tenant/HEAD/yarn.lock --------------------------------------------------------------------------------