Gathering detailed insights and metrics for errlop
Gathering detailed insights and metrics for errlop
Gathering detailed insights and metrics for errlop
Gathering detailed insights and metrics for errlop
An extended Error class that envelops a parent error, such that the stack trace contains the causation
npm install errlop
Typescript
Module System
Min. Node Version
Node Version
NPM Version
TypeScript (94.01%)
JavaScript (5.99%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
NOASSERTION License
9 Stars
114 Commits
2 Forks
2 Watchers
2 Branches
2 Contributors
Updated on Oct 12, 2024
Latest Version
8.4.0
Package Id
errlop@8.4.0
Unpacked Size
80.66 kB
Size
16.42 kB
File Count
20
NPM Version
10.2.3
Node Version
20.10.0
Published on
Dec 28, 2023
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
An extended Error class that envelops a parent error, such that the stack trace contains the causation
1// const Errlop = require('errlop').default 2import Errlop from 'errlop' 3const a = new Errlop('AError') 4const b = new Errlop('BError', a) 5const c = Errlop.create('CError', b) 6console.log(c.stack) 7/* 8Error: CError 9 at Function.create (/Users/balupton/Projects/active/errlop/source/index.js:92:10) 10 at Object.<anonymous> (/Users/balupton/Projects/active/errlop/example.js:6:18) 11 at Module._compile (internal/modules/cjs/loader.js:689:30) 12 at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10) 13 at Module.load (internal/modules/cjs/loader.js:599:32) 14 at tryModuleLoad (internal/modules/cjs/loader.js:538:12) 15 at Function.Module._load (internal/modules/cjs/loader.js:530:3) 16 at Function.Module.runMain (internal/modules/cjs/loader.js:742:12) 17 at startup (internal/bootstrap/node.js:266:19) 18 at bootstrapNodeJSCore (internal/bootstrap/node.js:596:3) 19↳ Error: BError 20 at Object.<anonymous> (/Users/balupton/Projects/active/errlop/example.js:5:11) 21 at Module._compile (internal/modules/cjs/loader.js:689:30) 22 at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10) 23 at Module.load (internal/modules/cjs/loader.js:599:32) 24 at tryModuleLoad (internal/modules/cjs/loader.js:538:12) 25 at Function.Module._load (internal/modules/cjs/loader.js:530:3) 26 at Function.Module.runMain (internal/modules/cjs/loader.js:742:12) 27 at startup (internal/bootstrap/node.js:266:19) 28 at bootstrapNodeJSCore (internal/bootstrap/node.js:596:3) 29↳ Error: AError 30 at Object.<anonymous> (/Users/balupton/Projects/active/errlop/example.js:4:11) 31 at Module._compile (internal/modules/cjs/loader.js:689:30) 32 at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10) 33 at Module.load (internal/modules/cjs/loader.js:599:32) 34 at tryModuleLoad (internal/modules/cjs/loader.js:538:12) 35 at Function.Module._load (internal/modules/cjs/loader.js:530:3) 36 at Function.Module.runMain (internal/modules/cjs/loader.js:742:12) 37 at startup (internal/bootstrap/node.js:266:19) 38*/ 39console.log(c.orphanStack) 40/* 41Error: CError 42 at Function.create (/Users/balupton/Projects/active/errlop/source/index.js:92:10) 43 at Object.<anonymous> (/Users/balupton/Projects/active/errlop/example.js:6:18) 44 at Module._compile (internal/modules/cjs/loader.js:689:30) 45 at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10) 46 at Module.load (internal/modules/cjs/loader.js:599:32) 47 at tryModuleLoad (internal/modules/cjs/loader.js:538:12) 48 at Function.Module._load (internal/modules/cjs/loader.js:530:3) 49 at Function.Module.runMain (internal/modules/cjs/loader.js:742:12) 50 at startup (internal/bootstrap/node.js:266:19) 51 at bootstrapNodeJSCore (internal/bootstrap/node.js:596:3) 52*/
npm install --save errlop
import pkg from ('errlop')
const pkg = require('errlop').default
1import pkg from 'https://unpkg.com/errlop@^8.4.0/edition-deno/index.ts'
1<script type="module"> 2 import pkg from '//cdn.skypack.dev/errlop@^8.4.0' 3</script>
1<script type="module"> 2 import pkg from '//unpkg.com/errlop@^8.4.0' 3</script>
1<script type="module"> 2 import pkg from '//dev.jspm.io/errlop@8.4.0' 3</script>
This package is published with the following editions:
errlop
aliases errlop/index.cjs
which uses the Editions Autoloader to automatically select the correct edition for the consumer's environmenterrlop/source/index.ts
is TypeScript source code with Import for moduleserrlop/edition-browsers/index.js
is TypeScript compiled against ES2022 for web browsers with Import for moduleserrlop/edition-es2022/index.js
is TypeScript compiled against ES2022 for Node.js 14 || 16 || 18 || 20 || 21 with Require for moduleserrlop/edition-es2017/index.js
is TypeScript compiled against ES2017 for Node.js 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with Require for moduleserrlop/edition-es5/index.js
is TypeScript compiled against ES5 for Node.js 4 || 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with Require for moduleserrlop/edition-es2017-esm/index.js
is TypeScript compiled against ES2017 for Node.js 12 || 14 || 16 || 18 || 20 || 21 with Import for moduleserrlop/edition-types/index.d.ts
is TypeScript compiled Types with Import for moduleserrlop/edition-deno/index.ts
is TypeScript source code made to be compatible with DenoDiscover the release history by heading on over to the HISTORY.md
file.
Discover how to contribute via the CONTRIBUTING.md
file.
Unless stated otherwise all works are:
and licensed under:
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
security policy file detected
Details
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
5 existing vulnerabilities detected
Details
Reason
SAST tool is not run on all commits -- score normalized to 1
Details
Reason
Found 0/19 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Score
Last Scanned on 2025-07-14
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More