New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

http4js

Package Overview
Dependencies
Maintainers
1
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

http4js

A lightweight HTTP toolkit

  • 1.0.12
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
343
decreased by-37.52%
Maintainers
1
Weekly downloads
 
Created
Source

Http4js

A port of http4k: a lightweight toolkit to allow in memory functional testing and to simplify working with HTTP.

To run:

tsc index.ts --target es5; node index.js

To test:
npm install --save 
npm test

In order to run tests in idea/webstorm, you may need to:

npm install @types/mocha --save-dev
npm install ts-node      --save-dev
npm install typescript   --save-dev 
To do
  • add a type or interface for Filter, instead of referring to it as HttpHandler -> HttpHandler. Then you can add the "then" methods to it to recreate the chaining?
  • support express backend
  • other client verbs, PUT, PATCH, HEAD etc.
  • write docs

FAQs

Package last updated on 06 Mar 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc