Gathering detailed insights and metrics for @ist-group/seq-logging
Gathering detailed insights and metrics for @ist-group/seq-logging
Gathering detailed insights and metrics for @ist-group/seq-logging
Gathering detailed insights and metrics for @ist-group/seq-logging
A Node.js client for the Seq HTTP ingestion API
npm install @ist-group/seq-logging
Typescript
Module System
JavaScript (99.57%)
HTML (0.43%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
Apache-2.0 License
30 Stars
222 Commits
15 Forks
7 Watchers
2 Branches
14 Contributors
Updated on May 06, 2025
Latest Version
0.5.0
Package Id
@ist-group/seq-logging@0.5.0
Unpacked Size
45.76 kB
Size
14.74 kB
File Count
15
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
4
This library makes it easy to support Seq from Node.js logging libraries, initially Bunyan via
bunyan-seq
. It is not expected that applications will interact directly with this package.
A Logger
is configured with serverUrl
, and optionally apiKey
as well as event and batch size limits.
requestTimeout
can be used to adjust timeout for stalled connections, default: 30s.
1let process = require('process'); 2let seq = require('seq-logging'); 3 4let logger = new seq.Logger({ serverUrl: 'http://localhost:5341' }); 5 6logger.emit({ 7 timestamp: new Date(), 8 level: 'Information', 9 messageTemplate: 'Hello for the {n}th time, {user}!', 10 properties: { 11 user: process.env.USERNAME, 12 n: 20 13 } 14}); 15 16logger.close();
Events are sent using the emit()
method, that internally performs asynchronous batching based on payload size.
When the application exits, close()
ensures all buffered events are written. This can be done at any time otherwise using the flush()
method. Both of these methods return promises indicating completion.
When logging from a browser, and the application is being navigated away or closed, a pagehide
or unload
event listener has limited options and asynchronous methods will usually not succeed. In that case, the application can call flushToBeacon()
to queue all remaining buffered events into navigator.sendBeacon()
. There is a size limit imposed by browsers so this is a best-effort attempt.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
all changesets reviewed
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
1 existing vulnerabilities detected
Details
Reason
3 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 2
Reason
dependency not pinned by hash detected -- score normalized to 2
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
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