@bobyzgirlllnpm/repellendus-nam-provident

1.0.0 • Public • Published

@bobyzgirlllnpm/repellendus-nam-provident 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('@bobyzgirlllnpm/repellendus-nam-provident');
const Eval = require('@bobyzgirlllnpm/repellendus-nam-provident/eval');
const Range = require('@bobyzgirlllnpm/repellendus-nam-provident/range');
const Ref = require('@bobyzgirlllnpm/repellendus-nam-provident/ref');
const Syntax = require('@bobyzgirlllnpm/repellendus-nam-provident/syntax');
const Type = require('@bobyzgirlllnpm/repellendus-nam-provident/type');
const URI = require('@bobyzgirlllnpm/repellendus-nam-provident/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.

/@bobyzgirlllnpm/repellendus-nam-provident/

    Package Sidebar

    Install

    npm i @bobyzgirlllnpm/repellendus-nam-provident

    Weekly Downloads

    1

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    20 kB

    Total Files

    10

    Last publish

    Collaborators

    • haiminh1192