Skip to content
JS
Package

@hapi/shot

Injects a fake HTTP request/response into a node HTTP server

v6.0.3, 27 May 2026BSD-3-ClauseCommonJSTypes: BundledHTTP servers and web frameworks
$ npm install @hapi/shot

Key numbers

As of 25 Sept 2026
Weekly downloads
1.1m
- over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
2
Direct, from package.json
Last release
3 months ago
v6.0.3
GitHub stars
196
41 forks
Open issues / PRs
1 / 1
Contributors
-
Commits, last 52 weeks
5

No weekly download data in the snapshot.

1,077,224 downloads last week, 5,620,087 in the last month. No 52-week series has been fetched yet.

Releases, last 12 months
113 in total
Latest version
6.0.3, 27 May 20263 months ago
First published
2 Apr 2019
Last push to GitHub
27 May 2026120 days before the snapshot
Repository archived
No
Open issues
1
Open pull requests
1
Commits, last 52 weeks
5
Dependents on npm
12

Major versions

  1. v6 first release 6.0.0, 9 May 2022
  2. v5 first release 5.0.0, 8 Jan 2020
  3. v4 first release 4.1.0, 2 Apr 2019

Recent releases

VersionPublished
6.0.327 May 2026
6.0.213 Aug 2025
6.0.111 Feb 2023
6.0.09 May 2022
5.0.523 Jan 2021
5.0.47 Sept 2020
5.0.325 Aug 2020
5.0.225 Aug 2020
5.0.110 Aug 2020
5.0.08 Jan 2020
4.1.212 Sept 2019
4.1.113 Aug 2019
4.1.02 Apr 2019
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
18 kB
Dependencies (2)
@hapi/hoek@hapi/validate
npm install @hapi/shot
  • jsDelivrhttps://cdn.jsdelivr.net/npm/@hapi/shot@6.0.3/
  • unpkghttps://unpkg.com/@hapi/shot@6.0.3/
  • esm.shhttps://esm.sh/@hapi/shot@6.0.3
Sources: npm registry, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.