Skip to content
JS
Package

syntax-error

detect and report syntax errors in source code strings

v1.4.0, 9 Feb 2018MITCommonJSTypes: None
$ npm install syntax-error

Key numbers

As of 25 Sept 2026
Weekly downloads
963.8k
-15% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
8 years ago
v1.4.0
GitHub stars
81
26 forks
Open issues / PRs
3 / 0
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
0500k1m1.5mSept 2025Mar 2026Sept 2026High 1.5m (3 Mar 2026)Low 571.3k (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.

963,762 downloads last week, 4,566,360 in the last month. The 12-month change of -15% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
014 in total
Latest version
1.4.0, 9 Feb 20188 years ago
First published
2 Aug 2012
Last push to GitHub
21 Dec 2024642 days before the snapshot
Repository archived
No
Open issues
3
Open pull requests
0
Commits, last 52 weeks
0
Dependents on npm
169

Major versions

  1. v1 first release 1.0.0, 5 Mar 2014
  2. v0 first release 0.0.0, 2 Aug 2012

Recent releases

VersionPublished
1.4.09 Feb 2018
1.3.01 Mar 2017
1.2.01 Mar 2017
1.1.631 Mar 2016
1.1.527 Jan 2016
1.1.425 May 2015
1.1.325 Apr 2015
1.1.217 Nov 2014
1.1.115 Jul 2014
1.1.018 Mar 2014
1.0.05 Mar 2014
0.1.01 Feb 2014
0.0.127 Apr 2013
0.0.02 Aug 2012
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
9.3 kB
Dependencies (1)
acorn-node
npm install syntax-error
  • jsDelivrhttps://cdn.jsdelivr.net/npm/syntax-error@1.4.0/
  • unpkghttps://unpkg.com/syntax-error@1.4.0/
  • esm.shhttps://esm.sh/syntax-error@1.4.0
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.