Skip to content
JS
Package

serialize-javascript

Serialize JavaScript to a superset of JSON that includes regular expressions and functions.

v7.1.2, 23 Sept 2026BSD-3-ClauseCommonJSTypes: NoneParsers and serialisers
$ npm install serialize-javascript

Key numbers

As of 25 Sept 2026
Weekly downloads
40.3m
+0% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
1 day ago
v7.1.2
GitHub stars
2.9k
214 forks
Open issues / PRs
33 / 11
Contributors
29
Commits, last 52 weeks
26

Downloads

Last week 2026-09-15 to 2026-09-21
020m40m60mSept 2025Mar 2026Sept 2026High 53.6m (3 Mar 2026)Low 22.9m (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.

40,326,678 downloads last week, 181,806,491 in the last month. The 12-month change of +0% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
1135 in total
Latest version
7.1.2, 23 Sept 20261 day ago
First published
16 Sept 2014
Last push to GitHub
23 Sept 20261 day before the snapshot
Repository archived
No
Open issues
33
Open pull requests
11
Commits, last 52 weeks
26
Dependents on npm
2,336

Major versions

  1. v7 first release 7.0.0, 4 Oct 2025
  2. v6 first release 6.0.0, 21 Jun 2021
  3. v5 first release 5.0.0, 9 Sept 2020
  4. v4 first release 4.0.0, 8 Jun 2020
  5. v3 first release 3.0.0, 16 Feb 2020
  6. v2 first release 2.0.0, 4 Sept 2019
  7. v1 first release 1.0.0, 16 Sept 2014

Recent releases

VersionPublished
7.1.223 Sept 2026
7.1.129 Aug 2026
7.1.08 Aug 2026
7.0.730 Jun 2026
7.0.617 Jun 2026
7.0.525 Mar 2026
7.0.42 Mar 2026
7.0.327 Feb 2026
7.0.27 Dec 2025
7.0.128 Nov 2025
7.0.04 Oct 2025
6.0.29 Jan 2024
6.0.115 Jan 2023
6.0.021 Jun 2021
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=20.0.0
Runtimes
-
Unpacked size (npm)
23 kB
Dependencies (0)
None
npm install serialize-javascript
  • jsDelivrhttps://cdn.jsdelivr.net/npm/serialize-javascript@7.1.2/
  • unpkghttps://unpkg.com/serialize-javascript@7.1.2/
  • esm.shhttps://esm.sh/serialize-javascript@7.1.2
PackageWeekly downloadsGzipLast releaseModuleComparison
truncate-json745.1k-1 year agoESM only-
javascript-stringify3.1m-5 years agoCommonJS-
@biomejs/wasm-nodejs613k-8 days agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.