# clarify

> Remove nodecore related stack trace noise

Latest version **2.2.0** (published 2024-10-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install clarify
pnpm add clarify
yarn add clarify
bun add clarify
```

## 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 | 2.2.0 |
| Published | 2024-10-15 |
| First published | 2012-09-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=4.0 |
| Dependencies | 1 |
| Unpacked size | 4.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 143 |
| Author | Andreas Madsen |
| Maintainers | andreasmadsen |
| Keywords | trace, stack, stack trace, nodecore, error |

## Links

- npm: https://www.npmjs.com/package/clarify
- Repository: https://github.com/AndreasMadsen/clarify
- Homepage: https://github.com/AndreasMadsen/clarify#readme
- Issues: https://github.com/AndreasMadsen/clarify/issues
- npm.io page: https://npm.io/package/clarify

## Dependencies (1)

- [stack-chain](https://npm.io/package/stack-chain.md) ^2.0.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

- 2.2.0 (latest) — 2024-10-15
- 2.1.0 — 2017-12-27
- 2.0.0 — 2016-06-28
- 1.0.5 — 2014-10-22
- 1.0.4 — 2014-09-10
- 1.0.3 — 2014-09-06
- 1.0.2 — 2014-05-01
- 1.0.1 — 2014-02-11
- 1.0.0 — 2014-01-03
- 0.2.1 — 2012-10-10
- 0.2.0 — 2012-09-29
- 0.1.0 — 2012-09-14

## README

# clarify [![Build Status](https://secure.travis-ci.org/AndreasMadsen/clarify.png)](http://travis-ci.org/AndreasMadsen/clarify)

> Remove nodecore related stack trace noise

## Installation

```sheel
npm install clarify
```

## Example

The following script produce an error:

```JavaScript
require('clarify');

throw new Error("custom error");
```

Without `clarify` the error output is:

```
/Users/Andreas/Sites/node_modules/clarify/test.js:2
throw new Error("test");
      ^
Error: test
    at Object.<anonymous> (/Users/Andreas/Sites/node_modules/clarify/test.js:2:7)
    at Module._compile (module.js:449:26)
    at Object.Module._extensions..js (module.js:467:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.runMain (module.js:492:10)
    at process.startup.processNextTick.process._tickCallback (node.js:244:9)
```

With `clarify` the error output is:

```
/Users/Andreas/Sites/node_modules/clarify/test.js:2
throw new Error("test");
      ^
Error: test
    at Object.<anonymous> (/Users/Andreas/Sites/node_modules/clarify/test.js:2:7)
```

## API documentation

To active require `clarify`.

```JavaScript
  require('clarify');
```

## License

**The software is license under "MIT"**

> Copyright (c) 2012 Andreas Madsen
>
> Permission is hereby granted, free of charge, to any person obtaining a copy
> of this software and associated documentation files (the "Software"), to deal
> in the Software without restriction, including without limitation the rights
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
> copies of the Software, and to permit persons to whom the Software is
> furnished to do so, subject to the following conditions:
>
> The above copyright notice and this permission notice shall be included in
> all copies or substantial portions of the Software.
>
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
> THE SOFTWARE.

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