Files
using-cash-spike/node_modules/es-errors
Mikael BergandPaperclip 970f1f1395 docs: revise infra recommendation — self-hosted own hardware, not cloud VPS
Board clarified all silicon should run on own infrastructure, not cloud/VPS.
Updated node-vs-api.md and infra-cost.md to reflect:
- Production recommendation: BCHN + Fulcrum on own hardware (~$0-7/month marginal)
- Hardware requirements: 4 cores, 8 GB RAM, 500 GB SSD minimum
- BCH bandwidth is ~2-5 GB/month (much lighter than BTC)
- Cloud/VPS figures retained as reference-only fallback ceiling

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-17 16:23:31 +00:00
..

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