/ student-intifada / node_modules / es-errors /

[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[DIR]test/a year ago -  
[TXT]CHANGELOG.mda year ago1.8K 
[   ]LICENSEa year ago1.0K 
[TXT]README.mda year ago2.1K595aea1 more query options + view options [كارل مبارك]
[TXT]eval.d.tsa year ago 68  
[   ]eval.jsa year ago 75  
[TXT]index.d.tsa year ago 56  
[   ]index.jsa year ago 66  
[   ]package.jsona year ago2.1Kafd0ccc remove unused [كارل مبارك]
[TXT]range.d.tsa year ago 71  
[   ]range.jsa year ago 77  
[TXT]ref.d.tsa year ago 83  
[   ]ref.jsa year ago 79  
[TXT]syntax.d.tsa year ago 74  
[   ]syntax.jsa year ago 79  
[   ]tsconfig.jsona year ago3.1K595aea1 more query options + view options [كارل مبارك]
[TXT]type.d.tsa year ago 67  
[   ]type.jsa year ago 75  
[TXT]uri.d.tsa year ago 65  
[   ]uri.jsa year ago 73  
README.md

es-errors Version Badge

github actions coverage License Downloads

npm badge

A simple cache for a few of the JS Error constructors.

Example

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 or see https://tidelift.com/security if you have a potential security vulnerability to report.

Apache/2.4.38 (Debian) Server at www.karls.computer Port 80