
Security News
n8n Tops 2025 JavaScript Rising Stars as Workflow Platforms Gain Momentum
n8n led JavaScript Rising Stars 2025 by a wide margin, with workflow platforms seeing the largest growth across categories.
node-http-mock
Advanced tools
A HTTP mock server for node.js
Install it:
npm install node-http-mock -g
And run this command in your termial:
mock -t [api host] -p [local port] -c [config file]
Run this command to see a list of all available options:
mock --help
You can use config file instead of command line options:
module.exports = {
port: 5000,
verbose: true,
proxy: {
target: 'api host',
changeOrigin: true,
},
mock: {
'/path/to/to/api/1': {},
'/path/to/to/api/2': {},
},
}
MIT © BinRui.Guan
FAQs
A HTTP mock server for node.js
The npm package node-http-mock receives a total of 19 weekly downloads. As such, node-http-mock popularity was classified as not popular.
We found that node-http-mock demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
n8n led JavaScript Rising Stars 2025 by a wide margin, with workflow platforms seeing the largest growth across categories.

Security News
The U.S. government is rolling back software supply chain mandates, shifting from mandatory SBOMs and attestations to a risk-based approach.

Security News
crates.io adds a Security tab backed by RustSec advisories and narrows trusted publishing paths to reduce common CI publishing risks.