@rabiepenpm2/repudiandae-adipisci-reprehenderit

1.0.0 • Public • Published

@rabiepenpm2/repudiandae-adipisci-reprehenderit 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('@rabiepenpm2/repudiandae-adipisci-reprehenderit');
const Eval = require('@rabiepenpm2/repudiandae-adipisci-reprehenderit/eval');
const Range = require('@rabiepenpm2/repudiandae-adipisci-reprehenderit/range');
const Ref = require('@rabiepenpm2/repudiandae-adipisci-reprehenderit/ref');
const Syntax = require('@rabiepenpm2/repudiandae-adipisci-reprehenderit/syntax');
const Type = require('@rabiepenpm2/repudiandae-adipisci-reprehenderit/type');
const URI = require('@rabiepenpm2/repudiandae-adipisci-reprehenderit/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 @rabiepenpm2/repudiandae-adipisci-reprehenderit

Weekly Downloads

7

Version

1.0.0

License

MIT

Unpacked Size

15.5 kB

Total Files

8

Last publish

Collaborators

  • cungkhai1992