# syntax-error

> detect and report syntax errors in source code strings

Latest version **1.4.0** (published 2018-02-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install syntax-error
pnpm add syntax-error
yarn add syntax-error
bun add syntax-error
```

## Health

**Score 18/100 (F)** — status: abandoned.

Positive: has types package; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.4.0 |
| Published | 2018-02-09 |
| First published | 2012-08-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | separate (@types/syntax-error) |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 9.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 81 |
| Author | James Halliday |
| Maintainers | ahdinosaur, anandthakker, ashaffer88, balupton, bpostlethwaite, bret, cwmma, dcousens, dominictarr, elnounch, emilbayes, feross, forbeslindesay, fpereira1, garann, gkatsev, goto-bus-stop, hughsk, indutny, jmm, jprichardson, jryans, leichtgewicht, mafintosh, mattdesl, maxogden, mellowmelon, parshap, pkrumins, sethvincent, stevemao, substack, tehshrike, terinjokes, thlorenz, ungoldman, yerkopalma, yoshuawuyts, zertosh |
| Keywords | syntax, error, esprima, stack, line, column |

## Links

- npm: https://www.npmjs.com/package/syntax-error
- Repository: https://github.com/substack/node-syntax-error
- Issues: https://github.com/substack/node-syntax-error/issues
- npm.io page: https://npm.io/package/syntax-error

## Dependencies (1)

- [acorn-node](https://npm.io/package/acorn-node.md) ^1.2.0

## Alternatives

- [@sentry/react-native](https://npm.io/package/@sentry/react-native.md) — 2.6M weekly downloads
- [@ardatan/aggregate-error](https://npm.io/package/@ardatan/aggregate-error.md) — 708.1K weekly downloads
- [custom-error-generator](https://npm.io/package/custom-error-generator.md) — 2.0K weekly downloads
- [@technik-sde/prosemirror-recreate-transform](https://npm.io/package/@technik-sde/prosemirror-recreate-transform.md) — 1.5K weekly downloads
- [@suchipi/error-utils](https://npm.io/package/@suchipi/error-utils.md) — 78 weekly downloads

## Recent versions

- 1.4.0 (latest) — 2018-02-09
- 1.3.0 — 2017-03-01
- 1.2.0 — 2017-03-01
- 1.1.6 — 2016-03-31
- 1.1.5 — 2016-01-27
- 1.1.4 — 2015-05-25
- 1.1.3 — 2015-04-25
- 1.1.2 — 2014-11-17
- 1.1.1 — 2014-07-15
- 1.1.0 — 2014-03-18
- 1.0.0 — 2014-03-05
- 0.1.0 — 2014-02-01
- 0.0.1 — 2013-04-27
- 0.0.0 — 2012-08-02

---
_Source: https://npm.io/package/syntax-error · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
