Skip to content
JS
Package

quote-js-string

Escape a string and wrap it in quotes to produce a safe JavaScript string literal

v0.1.0, 2 Jul 2026MITESM onlyTypes: BundledSecurity
$ npm install quote-js-string

Key numbers

As of 25 Sept 2026
Weekly downloads
1.1m
- over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
2 months ago
v0.1.0
GitHub stars
9
0 forks
Open issues / PRs
0 / 0
Contributors
-
Commits, last 52 weeks
2

Downloads

Last week 2026-09-15 to 2026-09-21
0500k1m1.5mSept 2025Mar 2026Sept 2026High 1.4m (25 Aug 2026)Low 0 (23 Sept 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

1,101,265 downloads last week, 4,499,297 in the last month. No 52-week series has been fetched yet.

Releases, last 12 months
11 in total
Latest version
0.1.0, 2 Jul 20262 months ago
First published
2 Jul 2026
Last push to GitHub
2 Jul 202684 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
2
Dependents on npm
4

Major versions

  1. v0 first release 0.1.0, 2 Jul 2026

Recent releases

VersionPublished
0.1.02 Jul 2026
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=22
Runtimes
-
Unpacked size (npm)
5.1 kB
Dependencies (0)
None
npm install quote-js-string
  • jsDelivrhttps://cdn.jsdelivr.net/npm/quote-js-string@0.1.0/
  • unpkghttps://unpkg.com/quote-js-string@0.1.0/
  • esm.shhttps://esm.sh/quote-js-string@0.1.0
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.