Conduitry
/
contexty
Archived
1
Fork 0

add npm badge

This commit is contained in:
Conduitry 2017-06-24 16:47:52 -04:00
parent 9ded47a50d
commit 7b455cf93d
1 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,7 @@
# Contexty
[![npm version](https://img.shields.io/npm/v/contexty.svg?style=flat-square)](https://www.npmjs.com/package/contexty)
**Contexty** is a very simple implementation of a "thread-local context"-esque concept for Node.js, based on asynchronous resources.
For example: Early in handling an HTTP request, you can create a new context. Elsewhere in your code, you can retrieve the current context and get/set values on it. The context is preserved for the duration of that HTTP request, but is kept separate for different HTTP requests.