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