Skip to content

Commit 5b0836f

Browse files
Sony Sengsonyseng
Sony Seng
authored andcommitted
add node engine
1 parent cdc3d3f commit 5b0836f

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
Node caching HTTP proxy built on top of [express-http-proxy](https://github.com/villadora/express-http-proxy). Persists requests and responses to an in-memory HAR-like data structure based on [HAR1.2](http://www.softwareishard.com/blog/har-12-spec/) . Caches JSON content-type responses by default with the ability to cache an entire site; including content-types describing images. Useful for testing front end code, mocking api, and saving the cache to a HAR file which can be used for further tests.
44
## Installation
55

6+
Requires Node >= 10
7+
68
Command line tool:
79
```
810
$ npm install -g json-caching-proxy

package.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
{
22
"name": "json-caching-proxy",
3-
"version": "1.5.0",
3+
"version": "1.5.1",
44
"description": "in-memory reverse caching HAR proxy",
55
"keywords": [
66
"cache",
77
"proxy",
88
"json"
99
],
10+
"engines": {
11+
"node": ">=10.0.0",
12+
"npm": ">=6.0.0"
13+
},
1014
"scripts": {
1115
"test": "mocha ./test/*.spec.js",
1216
"jsdoc": "jsdoc ./*.js -d ./jsdoc"

0 commit comments

Comments
 (0)