Socket
Socket
Sign inDemoInstall

responselike

Package Overview
Dependencies
0
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.0 to 0.2.0

src/index.js

25

package.json
{
"name": "responselike",
"version": "0.1.0",
"description": "A response-like object for mocking a native Node.js HTTP response",
"version": "0.2.0",
"description": "A response-like object for mocking a Node.js HTTP response stream",
"main": "src/index.js",
"scripts": {
"test": "xo && nyc ava",
"coverage": "nyc report --reporter=text-lcov | coveralls"
},
"xo": {
"extends": "xo-lukechilds"
},
"keywords": [

@@ -9,8 +17,6 @@ "http",

"response",
"mock",
"request",
"responselike"
],
"scripts": {
"test": "node test"
},
"repository": {

@@ -21,3 +27,10 @@ "type": "git",

"author": "lukechilds",
"license": "MIT"
"license": "MIT",
"devDependencies": {
"ava": "^0.19.1",
"coveralls": "^2.13.1",
"eslint-config-xo-lukechilds": "^1.0.0",
"nyc": "^10.3.2",
"xo": "^0.19.0"
}
}
# responselike
> A response-like object for mocking a native Node.js HTTP response
> A response-like object for mocking a Node.js HTTP response stream

@@ -13,3 +13,3 @@ [![Build Status](https://travis-ci.org/lukechilds/responselike.svg?branch=master)](https://travis-ci.org/lukechilds/responselike) [![Coverage Status](https://coveralls.io/repos/github/lukechilds/responselike/badge.svg?branch=master)](https://coveralls.io/github/lukechilds/responselike?branch=master) [![npm](https://img.shields.io/npm/dm/responselike.svg)](https://www.npmjs.com/package/responselike)

Or if you're just using for testing you'll probably want:
Or if you're just using for testing you'll want:

@@ -20,8 +20,4 @@ ```shell

## Credits
Basically just a fork of [ForbesLindesay/http-response-object](https://github.com/ForbesLindesay/http-response-object), but with better compatibility.
## License
MIT © Luke Childs

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc