@xdanangelxoqenpm/ratione-expedita-beatae
v1.0.0
Published
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]
Downloads
2
Maintainers
Keywords
Readme
@xdanangelxoqenpm/ratione-expedita-beatae
A simple cache for a few of the JS Error constructors.
Example
const assert = require('assert');
const Base = require('@xdanangelxoqenpm/ratione-expedita-beatae');
const Eval = require('@xdanangelxoqenpm/ratione-expedita-beatae/eval');
const Range = require('@xdanangelxoqenpm/ratione-expedita-beatae/range');
const Ref = require('@xdanangelxoqenpm/ratione-expedita-beatae/ref');
const Syntax = require('@xdanangelxoqenpm/ratione-expedita-beatae/syntax');
const Type = require('@xdanangelxoqenpm/ratione-expedita-beatae/type');
const URI = require('@xdanangelxoqenpm/ratione-expedita-beatae/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.