Assigns an id to a domain
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
tests
.gitignore
.travis.yml
README.md
index.js
package.json
patch_domain.js
patch_http.js

README.md

domain-id Build Status

Assigns an ID to a domain.

Propagates IDs across requests.

Install

$ npm install domain-id

Use

You just need to require domain-id:

require('domain-id');

You will then have domain._id accessible in your domain objects. This id will automatically propagate across your HTTP requests.

Licence

MIT