@datreeio/koa-requestid
Advanced tools
Comparing version 1.0.0 to 1.1.0
{ | ||
"name": "@datreeio/koa-requestid", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "A koa middleware to generate and forward request ids between services", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "mocha", | ||
"semantic-release": "semantic-release pre && npm publish && semantic-release post" | ||
"test": "./node_modules/mocha/bin/mocha test", | ||
"semantic-release": "npx semantic-release" | ||
}, | ||
@@ -17,6 +17,8 @@ "author": "", | ||
}, | ||
"repository": "https://github.com/datreeio/koa-requestid", | ||
"devDependencies": { | ||
"chai": "^4.1.2", | ||
"coveralls": "^3.0.0", | ||
"koa": "^2.4.1", | ||
"mocha": "^5.0.0", | ||
"nyc": "^11.4.1", | ||
"semantic-release": "^12.4.1", | ||
@@ -23,0 +25,0 @@ "supertest": "^3.0.0" |
@@ -1,3 +0,5 @@ | ||
# Gateway | ||
# koa-requestid [](https://travis-ci.com/datreeio/koa-requestid) | ||
A koa middleware to generate and forward request ids between services | ||
### Install | ||
@@ -16,3 +18,3 @@ | ||
```javascript | ||
const requestId = require('@datreeio/koa-requestId') | ||
const requestId = require('@datreeio/koa-requestid') | ||
const koa = require('koa') | ||
@@ -30,3 +32,3 @@ const app = new koa() | ||
```javascript | ||
const requestId = require('@datreeio/koa-requestId') | ||
const requestId = require('@datreeio/koa-requestid') | ||
const koa = require('koa') | ||
@@ -33,0 +35,0 @@ const app = new koa() |
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
42
3462
6
5
77