# code-error-fragment

> Shows code error fragment of input file

Latest version **0.0.230** (published 2017-10-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install code-error-fragment
pnpm add code-error-fragment
yarn add code-error-fragment
bun add code-error-fragment
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.230 |
| Published | 2017-10-25 |
| First published | 2017-10-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 4 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Vlad Trushin |
| Maintainers | vtrushin |
| Keywords | code-errors, error-formatting, error-fragment |

## Links

- npm: https://www.npmjs.com/package/code-error-fragment
- Repository: https://github.com/vtrushin/code-error-fragment
- Issues: https://github.com/vtrushin/code-error-fragment/issues
- npm.io page: https://npm.io/package/code-error-fragment

## 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

- 0.0.230 (latest) — 2017-10-25
- 0.0.229 — 2017-10-25
- 0.0.228 — 2017-10-24
- 0.0.227 — 2017-10-24
- 0.0.226 — 2017-10-22
- 0.0.223 — 2017-10-19
- 0.0.222 — 2017-10-19
- 0.0.221 — 2017-10-19
- 0.0.220 — 2017-10-19
- 0.0.219 — 2017-10-19
- 0.0.218 — 2017-10-19
- 0.0.217 — 2017-10-19
- 0.0.216 — 2017-10-19
- 0.0.215 — 2017-10-18
- 0.0.214 — 2017-10-18
- … 6 more at https://npm.io/package/code-error-fragment/versions

## README

[npm-icon]:           https://img.shields.io/npm/v/code-error-fragment.svg
[npm-downloads-icon]: https://img.shields.io/npm/dm/code-error-fragment.svg
[npm-url]:            https://www.npmjs.com/package/code-error-fragment

[node-versions-icon]: https://img.shields.io/node/v/code-error-fragment.svg
[node-url]:           https://nodejs.org

[test-icon]:          https://travis-ci.org/vtrushin/code-error-fragment.svg?branch=master
[test-url]:           https://travis-ci.org/vtrushin/code-error-fragment

[coverage-icon]:      https://coveralls.io/repos/github/vtrushin/code-error-fragment/badge.svg?branch=master
[coverage-url]:       https://coveralls.io/github/vtrushin/code-error-fragment?branch=master

# Code error fragment

[![NPM][npm-icon]][npm-url]
[![NPM downloads][npm-downloads-icon]][npm-url]
[![Requirements][node-versions-icon]][node-url]
[![Travis-CI][test-icon]][test-url]

<img src="logo.svg" alt="Code error fragment" width="144" height="111" />

Partially taken from https://github.com/csstree/csstree/blob/master/lib/tokenizer/error.js

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