@npmtuanmap2024/maiores-eaque-est-tempora
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

@npmtuanmap2024/maiores-eaque-est-tempora 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('@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.

Package Sidebar

Install

npm i @npmtuanmap2024/maiores-eaque-est-tempora

Weekly Downloads

4

Version

1.0.0

License

MIT

Unpacked Size

2.75 MB

Total Files

26

Last publish

Collaborators

  • npmtuanmap