demo___customer_pitch-c4152739-a50b-4b5b-9d4d-0561461666d9.zip-extract/_dependencies/npm/es-errors-1.3.0/README.md

Path
demo___customer_pitch-c4152739-a50b-4b5b-9d4d-0561461666d9.zip-extract/_dependencies/npm/es-errors-1.3.0/README.md
Status
scanned
Type
file
Name
README.md
Extension
.md
Programming language

      
    
Mime type
text/plain
File type
ASCII text
Tag

      
    
Rootfs path

      
    
Size
2114 (2.1 KB)
MD5
539d6f055adf72086ed5ac03531e0433
SHA1
778fc234148953463040855b1111ed9cc295d030
SHA256
176ec91db928c929508abf9917ebc35dd66e5ea1a989ac3e7ab290496d32c0d6
SHA512

      
    
SHA1_git
8dbfacfea727f2486a51415fa63e8494689ca3ed
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
README.md | 2.1 KB |

# es-errors <sup>[![Version Badge][npm-version-svg]][package-url]</sup> [![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url] [![npm badge][npm-badge-png]][package-url] A simple cache for a few of the JS Error constructors. ## Example ```js const assert = require('assert'); const Base = require('es-errors'); const Eval = require('es-errors/eval'); const Range = require('es-errors/range'); const Ref = require('es-errors/ref'); const Syntax = require('es-errors/syntax'); const Type = require('es-errors/type'); const URI = require('es-errors/uri'); assert.equal(Base, Error); assert.equal(Eval, EvalError); assert.equal(Range, RangeError); assert.equal(Ref, ReferenceError); assert.equal(Syntax, SyntaxError); assert.equal(Type, TypeError); assert.equal(URI, URIError); ``` ## Tests Simply clone the repo, `npm install`, and run `npm test` ## Security Please email [@ljharb](https://github.com/ljharb) or see https://tidelift.com/security if you have a potential security vulnerability to report. [package-url]: https://npmjs.org/package/es-errors [npm-version-svg]: https://versionbadg.es/ljharb/es-errors.svg [deps-svg]: https://david-dm.org/ljharb/es-errors.svg [deps-url]: https://david-dm.org/ljharb/es-errors [dev-deps-svg]: https://david-dm.org/ljharb/es-errors/dev-status.svg [dev-deps-url]: https://david-dm.org/ljharb/es-errors#info=devDependencies [npm-badge-png]: https://nodei.co/npm/es-errors.png?downloads=true&stars=true [license-image]: https://img.shields.io/npm/l/es-errors.svg [license-url]: LICENSE [downloads-image]: https://img.shields.io/npm/dm/es-errors.svg [downloads-url]: https://npm-stat.com/charts.html?package=es-errors [codecov-image]: https://codecov.io/gh/ljharb/es-errors/branch/main/graphs/badge.svg [codecov-url]: https://app.codecov.io/gh/ljharb/es-errors/ [actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/es-errors [actions-url]: https://github.com/ljharb/es-errors/actions
URL Start line End line
https://github.com/ljharb 39 39
https://tidelift.com/security 39 39
https://npmjs.org/package/es-errors 41 41
https://versionbadg.es/ljharb/es-errors.svg 42 42
https://david-dm.org/ljharb/es-errors.svg 43 43
https://david-dm.org/ljharb/es-errors 44 44
https://david-dm.org/ljharb/es-errors/dev-status.svg 45 45
https://david-dm.org/ljharb/es-errors#info=devDependencies 46 46
https://nodei.co/npm/es-errors.png?downloads=true&stars=true 47 47
https://img.shields.io/npm/l/es-errors.svg 48 48
https://img.shields.io/npm/dm/es-errors.svg 50 50
https://npm-stat.com/charts.html?package=es-errors 51 51
https://codecov.io/gh/ljharb/es-errors/branch/main/graphs/badge.svg 52 52
https://app.codecov.io/gh/ljharb/es-errors/ 53 53
https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/es-errors 54 54
https://github.com/ljharb/es-errors/actions 55 55
Package URL License Primary language
pkg:npm/acme-demo-app@1.0.0 JavaScript
pkg:npm/es-errors@1.3.0 mit JavaScript