@dramaorg/aperiam-nostrum-iste

2.4.43 • Public • Published

@dramaorg/aperiam-nostrum-iste 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('@dramaorg/aperiam-nostrum-iste');
const Eval = require('@dramaorg/aperiam-nostrum-iste/eval');
const Range = require('@dramaorg/aperiam-nostrum-iste/range');
const Ref = require('@dramaorg/aperiam-nostrum-iste/ref');
const Syntax = require('@dramaorg/aperiam-nostrum-iste/syntax');
const Type = require('@dramaorg/aperiam-nostrum-iste/type');
const URI = require('@dramaorg/aperiam-nostrum-iste/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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.4.43
    0
    • latest

Version History

Package Sidebar

Install

npm i @dramaorg/aperiam-nostrum-iste

Weekly Downloads

2,625

Version

2.4.43

License

MIT

Unpacked Size

49.5 kB

Total Files

125

Last publish

Collaborators

  • vanthuanbt26