Skip to content
JS
Package

escape-goat

Escape a string for use in HTML or the inverse

v4.0.0, 16 Apr 2021MITESM onlyTypes: NoneSecurity
$ npm install escape-goat

Key numbers

As of 25 Sept 2026
Weekly downloads
10.3m
+53% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
5 years ago
v4.0.0
GitHub stars
554
20 forks
Open issues / PRs
0 / 1
Contributors
-
Commits, last 52 weeks
1

Downloads

Last week 2026-09-15 to 2026-09-21
05m10m15mSept 2025Mar 2026Sept 2026High 14.6m (25 Aug 2026)Low 4.1m (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.

10,300,260 downloads last week, 51,459,386 in the last month. The 12-month change of +53% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
010 in total
Latest version
4.0.0, 16 Apr 20215 years ago
First published
27 May 2017
Last push to GitHub
23 Jul 202663 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
1
Commits, last 52 weeks
1
Dependents on npm
494

Major versions

  1. v4 first release 4.0.0, 16 Apr 2021
  2. v3 first release 3.0.0, 15 Jan 2020
  3. v2 first release 2.0.0, 17 Apr 2019
  4. v1 first release 1.0.0, 27 May 2017

Recent releases

VersionPublished
4.0.016 Apr 2021
3.0.015 Jan 2020
2.1.123 Sept 2019
2.1.030 May 2019
2.0.017 Apr 2019
1.3.031 Jul 2017
1.2.021 Jul 2017
1.1.031 May 2017
1.0.128 May 2017
1.0.027 May 2017
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=12
Runtimes
-
Unpacked size (npm)
6.1 kB
Dependencies (0)
None
npm install escape-goat

CDN

jsDelivr: 64.4k requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/escape-goat@4.0.0/
  • unpkghttps://unpkg.com/escape-goat@4.0.0/
  • esm.shhttps://esm.sh/escape-goat@4.0.0
PackageWeekly downloadsGzipLast releaseModuleComparison
escape-html89.4m-11 years ago--
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Indexed.