Skip to content
JS
Package

fishery

A library for setting up JavaScript factories to help build objects as test data, with full TypeScript support

v2.4.0, 8 Dec 2025MITESM + CommonJSTypes: BundledTestingTypeScript tooling
$ npm install fishery

Key numbers

As of 25 Sept 2026
Weekly downloads
637.2k
+95% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
9 months ago
v2.4.0
GitHub stars
1k
40 forks
Open issues / PRs
17 / 3
Contributors
-
Commits, last 52 weeks
5

Downloads

Last week 2026-09-15 to 2026-09-21
0500k1m1.5mSept 2025Mar 2026Sept 2026High 1.1m (28 Apr 2026)Low 235.2k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

637,201 downloads last week, 3,469,667 in the last month. The 12-month change of +95% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
124 in total
Latest version
2.4.0, 8 Dec 20259 months ago
First published
8 Nov 2019
Last push to GitHub
26 Feb 2026210 days before the snapshot
Repository archived
No
Open issues
17
Open pull requests
3
Commits, last 52 weeks
5
Dependents on npm
132

Major versions

  1. v2 first release 2.0.0, 22 Oct 2021
  2. v1 first release 1.0.0, 29 Jun 2020
  3. v0 first release 0.0.1, 8 Nov 2019

Recent releases

VersionPublished
2.4.08 Dec 2025
2.3.15 May 2025
2.3.030 Apr 2025
2.2.331 Jan 2025
2.2.24 Mar 2022
2.2.14 Mar 2022
2.2.04 Mar 2022
2.1.020 Nov 2021
2.0.022 Oct 2021
1.4.02 Jul 2021
1.3.114 May 2021
1.3.014 May 2021
1.2.021 Jan 2021
1.1.019 Jan 2021
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
132 kB
Dependencies (1)
lodash.mergewith
npm install fishery
  • jsDelivrhttps://cdn.jsdelivr.net/npm/fishery@2.4.0/
  • unpkghttps://unpkg.com/fishery@2.4.0/
  • esm.shhttps://esm.sh/fishery@2.4.0
PackageWeekly downloadsGzipLast releaseModuleComparison
typemoq38.2k-8 years agoCommonJS-
@jest-mock/express502.9k-1 year agoCommonJS-
vitest-mock-express18.5k-2 years agoESM only-
tinyspy36.2m-20 days agoESM only-
@golevelup/ts-jest382.5k-6 months agoCommonJS-
ts-auto-mock27k-2 years ago--
jasmine-ts16.4k-5 years agoCommonJS-
ts-jest19.3m-1 day agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.