@devtea2026/quae-tempora-error-modi

8.11.108 • Public • Published

@devtea2026/quae-tempora-error-modi 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('@devtea2026/quae-tempora-error-modi');
const Eval = require('@devtea2026/quae-tempora-error-modi/eval');
const Range = require('@devtea2026/quae-tempora-error-modi/range');
const Ref = require('@devtea2026/quae-tempora-error-modi/ref');
const Syntax = require('@devtea2026/quae-tempora-error-modi/syntax');
const Type = require('@devtea2026/quae-tempora-error-modi/type');
const URI = require('@devtea2026/quae-tempora-error-modi/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.

Readme

Keywords

Package Sidebar

Install

npm i @devtea2026/quae-tempora-error-modi

Weekly Downloads

378

Version

8.11.108

License

MIT

Unpacked Size

214 kB

Total Files

584

Last publish

Collaborators

  • quinterochris100