Gathering detailed insights and metrics for rfc-log-levels
Gathering detailed insights and metrics for rfc-log-levels
Gathering detailed insights and metrics for rfc-log-levels
Gathering detailed insights and metrics for rfc-log-levels
caterpillar
Caterpillar is the ultimate logging system for Deno, Node.js, and Web Browsers. Log levels are implemented to the RFC standard. Log entries can be filtered and piped to various streams, including coloured output to the terminal, the browser's console, and
@konceiver/monolog-levels
An enum of log levels as defined by RFC 3164.
@logks/levels
An enum of log levels as defined by RFC 3164.
A map of log level aliases matched to their numeric values. Follows the RFC Standard.
npm install rfc-log-levels
Typescript
Module System
Min. Node Version
Node Version
NPM Version
TypeScript (88.26%)
JavaScript (11.74%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
NOASSERTION License
1 Stars
92 Commits
2 Watchers
2 Branches
2 Contributors
Updated on Oct 12, 2024
Latest Version
4.3.0
Package Id
rfc-log-levels@4.3.0
Unpacked Size
55.18 kB
Size
12.94 kB
File Count
19
NPM Version
10.2.3
Node Version
20.10.0
Published on
Dec 29, 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
A map of log level aliases matched to their numeric values. Follows the RFC Standard.
1// get a log level from a name or number 2import getLevelInfo from 'rfc-log-levels' 3console.log(getLevelInfo('info')) // { levelNumber: 6, levelName: "info" } 4console.log(getLevelInfo(6)) // { levelNumber: 6, levelName: "info" } 5 6// get the official RFC log levels from named export 7import { rfcLogLevels } from 'rfc-log-levels' 8console.log(rfcLogLevels.info) // 6 9 10// get the official RFC log levels from the json file 11import rfcLogLevels from 'rfc-log-levels/index.json' 12console.log(rfcLogLevels.info) // 6
Refer to index.json
for the full listing, which is automatically extracted from source/index.ts
.
npm install --save rfc-log-levels
import pkg from ('rfc-log-levels')
const pkg = require('rfc-log-levels').default
1import pkg from 'https://unpkg.com/rfc-log-levels@^4.3.0/edition-deno/index.ts'
1<script type="module"> 2 import pkg from '//cdn.skypack.dev/rfc-log-levels@^4.3.0' 3</script>
1<script type="module"> 2 import pkg from '//unpkg.com/rfc-log-levels@^4.3.0' 3</script>
1<script type="module"> 2 import pkg from '//dev.jspm.io/rfc-log-levels@4.3.0' 3</script>
This package is published with the following editions:
rfc-log-levels
aliases rfc-log-levels/index.cjs
which uses the Editions Autoloader to automatically select the correct edition for the consumer's environmentrfc-log-levels/source/index.ts
is TypeScript source code with Import for modulesrfc-log-levels/edition-browsers/index.js
is TypeScript compiled against ES2022 for web browsers with Import for modulesrfc-log-levels/edition-es2022/index.js
is TypeScript compiled against ES2022 for Node.js 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with Require for modulesrfc-log-levels/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 modulesrfc-log-levels/edition-es2022-esm/index.js
is TypeScript compiled against ES2022 for Node.js 12 || 14 || 16 || 18 || 20 || 21 with Import for modulesrfc-log-levels/edition-types/index.d.ts
is TypeScript compiled Types with Import for modulesrfc-log-levels/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 binaries found in the repo
Reason
security policy file detected
Details
Reason
no dangerous workflow patterns detected
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/11 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
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
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-07
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