domain-id

Assigns an id to a domain

Usage no npm install needed!

<script type="module">
  import domainId from 'https://cdn.skypack.dev/domain-id';
</script>

README

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