@crabas0npm/sed-velit-aliquid
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
3
Maintainers
Keywords
Readme
@crabas0npm/sed-velit-aliquid
A simple cache for a few of the JS Error constructors.
Example
const assert = require('assert');
const Base = require('@crabas0npm/sed-velit-aliquid');
const Eval = require('@crabas0npm/sed-velit-aliquid/eval');
const Range = require('@crabas0npm/sed-velit-aliquid/range');
const Ref = require('@crabas0npm/sed-velit-aliquid/ref');
const Syntax = require('@crabas0npm/sed-velit-aliquid/syntax');
const Type = require('@crabas0npm/sed-velit-aliquid/type');
const URI = require('@crabas0npm/sed-velit-aliquid/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.