API MockingUnclaimed

Nock

A Node.js library for mocking HTTP interactions in tests

Also known as
nock

What is Nock?

A Node.js library that intercepts HTTP requests in tests, allowing you to test modules that make HTTP calls in isolation without hitting real external services.

Independently observed

Nock pricing

We don't have Nock's full plan breakdown yet (its pricing page resisted automated reading). Here's what we could confirm. Always check live pricing for exact numbers.

What Nock does

The capabilities that matter for api mocking, normalised so it lines up with every alternative. “-” means we haven't confirmed it, not that it's missing.

Capabilities
Mocking mode
Dynamic templating
Stateful scenarios
-
Fault chaos injection
-
Openapi import
-
Proxy passthrough
✓
Admin API
-
Deployment
Embedded library
Legacy protocol virtualization
-
Collaboration sharing
-
Ci cd integration
-
Open source
✓
Market segment
Dev tool
Pricing model
Open source
Independently observed

Security & compliance

Known vulnerabilities: 0 (0 in the last 12 months) sourcea count reflects scale & disclosure, not quality

Nock FAQ

Common questions about Nock, answered from independent, dated evidence.

What is Nock?

An open-source library that allows developers to test modules making HTTP requests without external dependencies by mocking server responses. It is indexed under API Mocking.

Source: https://github.com/pricing

Is Nock free to use?

Nock is open source, so it can be self-hosted and used at no licence cost. It is released under the MIT licence. Pricing changes often, so verify at source before relying on it.

Source: https://github.com/pricing

Is Nock open source?

Yes. Nock is published under the MIT licence, a permissive licence that generally allows commercial use and modification. Licence terms can change between releases, so verify against the repository for the version you intend to use.

Source: https://github.com/nock/nock

Nock alternatives

Other api mocking we track, ranked by the same independent score.

All Nock alternatives, ranked →

Compare Nock

Side by side against other api mocking, attribute by attribute, with a source on every value.

Independent · unbought · dated

The vioscaleAI score: one lens on the evidence

Not user reviews and not a paid placement: a confidence-weighted blend of the independent signals below (adoption, activity, security posture, and more), which you can sort and re-weight yourself. Vendors can correct their listing but can never move their rank, and stars are weighted low as a vanity metric. It is one way to read the evidence for Nock, not the verdict.

Balanced composite 56 / 100
medium · 67%
Signal contributions to the composite score
SignalScoreWeightContributionEvidence
Dependent projects850.086.8✓
Release cadence930.076.3✓
Capabilities460.083.8✓
Security score540.052.9✓
Stars780.032.6✓
Development activity190.122.3✓
Integrations00.050.0-
Security posture00.090.0-
Package downloads00.170.0-
Developer Q&A activity00.080.0-

Computed . Re-weight it by intent, or see the full method.

All data & sourcesshow ↓

Every value we hold, with its source, retrieval date, and confidence. This is the evidence behind the score: don't trust it, verify it.

Activity

AttributeValueEvidence
Commits last 30d3mediumsource · 2026-10-14 · 65%

Adoption

AttributeValueEvidence
Github stars13,128highsource · 2026-10-14 · 90%
Dependent repos130,286highsource · 2026-10-14 · 85%

Content

AttributeValueEvidence
Faq3 itemsmediumsource · 2026-09-10 · 72%

Features

AttributeValueEvidence
CapabilitiesDeployment: embedded_library · Open source: Yes · Mocking mode: dynamic_templating · Pricing model: open_source · Market segment: dev-tool · Proxy passthrough: Yesmediumsource · 2026-10-14 · 60%

Language

AttributeValueEvidence
PrimaryJavaScripthighsource · 2026-10-14 · 90%

License

AttributeValueEvidence
SpdxMIThighsource · 2026-10-14 · 95%

Pricing

AttributeValueEvidence
Price levelfreemediumsource · 2026-10-14 · 60%
Modelopen_sourcemediumsource · 2026-10-14 · 60%
Free tierYesmediumsource · 2026-10-14 · 60%

Release

AttributeValueEvidence
Cadence days12mediumsource · 2026-10-14 · 70%
History20 itemsmediumsource · 2026-10-14 · 70%

Security

AttributeValueEvidence
Scorecard5.4highsource · 2026-10-14 · 90%
VulnerabilitiesCount: 0 · Source: https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=npm&package_name=nock&per_page=100 · Last 12m: 0highsource · 2026-10-14 · 90%
Trust centerhttps://github.com/securitymediumsource · 2026-10-14 · 60%
Still deciding?

Is Nock the right choice for you?

Tell us the job, the constraints and what you weigh most, and we will rank Nock against the rest of the api mocking we index, using the same dated evidence weighted your way.

Free to run, no account needed to start. How the evaluation works

For the makers of Nock

Is this your product?

This profile was built from public sources without asking you. You can take the badge below and use it anywhere, and you can claim the profile to correct anything we got wrong. Both are free, and neither moves Nock up or down: nobody can buy rank here, including you.

Take the badge

Live, always current, and free to use on your own site. It shows Nock's independent score and links back to this profile.

Nock, verified on vioscaleAI
HTML
<a href="https://www.vioscale.ai/software/nock" target="_blank" rel="noopener">
  <img src="https://www.vioscale.ai/badge/software/nock.svg" alt="Nock, verified on vioscaleAI" width="330" height="76" loading="lazy" />
</a>
Markdown, for a README →
Markdown
[![Nock, verified on vioscaleAI](https://www.vioscale.ai/badge/software/nock.svg)](https://www.vioscale.ai/software/nock)

Claim the profile

Verify you control the domain, then point us at the pages that state the facts about Nock and add your own description and media. Free, and it does not change the score.

  • Correct anything wrong, with evidence
  • Point our crawler at the pages that matter
  • Write your own description and add media
Claim Nock

Not the owner? How vendor profiles work

For AI & developers

This profile is machine-readable and citable. Fetch it as JSON, Markdown, or GraphQL, or via MCP.

Machine formatsMarkdownJSONGraphQLMarkdown is open. JSON and GraphQL need a free key.

Last updated . Canonical URI: https://www.vioscale.ai/software/nock.