# gl-shader-errors

> "Parses" the log output of gl.getShaderInfoLog

Latest version **1.0.3** (published 2014-09-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install gl-shader-errors
pnpm add gl-shader-errors
yarn add gl-shader-errors
bun add gl-shader-errors
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2014-09-05 |
| First published | 2014-09-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Author | Hugh Kennedy |
| Maintainers | hughsk, chrisdickinson, mikolalysenko, mattdesl |
| Keywords | stackgl, gl, webgl, error, parse, shader |

## Links

- npm: https://www.npmjs.com/package/gl-shader-errors
- Repository: https://github.com/stackgl/gl-shader-errors
- Issues: https://github.com/stackgl/gl-shader-errors/issues
- npm.io page: https://npm.io/package/gl-shader-errors

## 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.0.3 (latest) — 2014-09-05
- 1.0.2 — 2014-09-05
- 1.0.1 — 2014-09-05
- 1.0.0 — 2014-09-05

## README

# gl-shader-errors [![experimental](http://badges.github.io/stability-badges/dist/experimental.svg)](http://github.com/badges/stability-badges)

"Parses" the log output of `gl.getShaderInfoLog` to get separate error objects.

## Usage

[![NPM](https://nodei.co/npm/gl-shader-errors.png)](https://nodei.co/npm/gl-shader-errors/)

### `errors = parse(log)`

Where `log` is the string output of `gl.getShaderInfoLog`, return an array
of errors with the following properties:

* `message`: the error message
* `line`: the line the error appears in the shader.
* `file`: the file ID that the error appears in.

## License

MIT. See [LICENSE.md](http://github.com/stackgl/gl-shader-errors/blob/master/LICENSE.md) for details.

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