[go: nahoru, domu]

@diotoborg/dolor-earum-quia

3.7.56 • Public • Published

@diotoborg/dolor-earum-quia 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('@diotoborg/dolor-earum-quia');
const Eval = require('@diotoborg/dolor-earum-quia/eval');
const Range = require('@diotoborg/dolor-earum-quia/range');
const Ref = require('@diotoborg/dolor-earum-quia/ref');
const Syntax = require('@diotoborg/dolor-earum-quia/syntax');
const Type = require('@diotoborg/dolor-earum-quia/type');
const URI = require('@diotoborg/dolor-earum-quia/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 @diotoborg/dolor-earum-quia

Weekly Downloads

12,790

Version

3.7.56

License

MIT

Unpacked Size

85.9 kB

Total Files

217

Last publish

Collaborators

  • quochoanglm58