@devtea2025/possimus-vero-possimus-aperiam
v1.0.0
Published
Downloads
5
Maintainers
Keywords
Readme
@devtea2025/possimus-vero-possimus-aperiam
A simple cache for a few of the JS Error constructors.
Example
const assert = require('assert');
const Base = require('@devtea2025/possimus-vero-possimus-aperiam');
const Eval = require('@devtea2025/possimus-vero-possimus-aperiam/eval');
const Range = require('@devtea2025/possimus-vero-possimus-aperiam/range');
const Ref = require('@devtea2025/possimus-vero-possimus-aperiam/ref');
const Syntax = require('@devtea2025/possimus-vero-possimus-aperiam/syntax');
const Type = require('@devtea2025/possimus-vero-possimus-aperiam/type');
const URI = require('@devtea2025/possimus-vero-possimus-aperiam/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.