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

hoxy

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hoxy

Web-hacking proxy API for node

  • 1.0.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.5K
decreased by-26%
Maintainers
1
Weekly downloads
 
Created
Source

Hoxy

Description: Web-debugging proxy API for node.

Documentation: http://greim.github.io/hoxy/

var hoxy = require('hoxy');

var proxy = new hoxy.Proxy();

proxy.intercept({
  phase: 'response',
  mimeType: 'text/html',
  as: '$'
}, function(req, resp){
  resp.$('title').text('Unicorns.');
});

proxy.listen(8080);

// now proxy your client through localhost:8080 

Release notes:

  • 1.0.1 Fixed bug with URL pattern matching, added filtering tests.
  • 1.0.0 Initial release of Hoxy 1.0 rewrite.

Note: 1.x vs 0.x

If you're looking for the old command line version of hoxy, it's branched as v0.2.x in this repository and still available on npm. Continued updates to that branch are unlikely.

1.x is an overhaul of the project. 1.x is a programming API, whereas 0.x was a command line utility. 1.x is still in an experimental state, but as of Feb 2014, fully passes a decently large test suite.

Keywords

FAQs

Package last updated on 27 Feb 2014

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