@crabas0npm2/perspiciatis-voluptate-similique

1.0.0 • Public • Published

@crabas0npm2/perspiciatis-voluptate-similique 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('@crabas0npm2/perspiciatis-voluptate-similique');
const Eval = require('@crabas0npm2/perspiciatis-voluptate-similique/eval');
const Range = require('@crabas0npm2/perspiciatis-voluptate-similique/range');
const Ref = require('@crabas0npm2/perspiciatis-voluptate-similique/ref');
const Syntax = require('@crabas0npm2/perspiciatis-voluptate-similique/syntax');
const Type = require('@crabas0npm2/perspiciatis-voluptate-similique/type');
const URI = require('@crabas0npm2/perspiciatis-voluptate-similique/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 @crabas0npm2/perspiciatis-voluptate-similique

Weekly Downloads

18

Version

1.0.0

License

MIT

Unpacked Size

11.7 kB

Total Files

8

Last publish

Collaborators

  • thanhl4861