Installations
npm install lestream
Developer Guide
Typescript
No
Module System
CommonJS
Node Version
0.10.25
NPM Version
1.4.21
Score
67.5
Supply Chain
79.1
Quality
74.4
Maintenance
100
Vulnerability
99.6
License
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (100%)
Love this project? Help keep it running — sponsor us today! 🚀
Developer
onediocom
Download Statistics
Total Downloads
18,415
Last Day
1
Last Week
4
Last Month
14
Last Year
509
GitHub Statistics
3 Commits
23 Watching
1 Branches
3 Contributors
Bundle Size
18.19 kB
Minified
5.46 kB
Minified + Gzipped
Package Meta Information
Latest Version
1.0.2
Package Id
lestream@1.0.2
Size
2.50 kB
NPM Version
1.4.21
Node Version
0.10.25
Total Downloads
Cumulative downloads
Total Downloads
18,415
Last day
-50%
1
Compared to previous day
Last week
0%
4
Compared to previous week
Last month
250%
14
Compared to previous month
Last year
-30.8%
509
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
lestream (Logentries stream for Node.JS)
lestream is a stream client for Logentries token based TCP endpoints for continuous log shipping. It has auto reconnect and buffering semantics. lestream does not provide object serialization or timestamping. It is intended for low level usage. I created it to use the cli interface and tail log files easily to logentries.
install
local
npm install lestream
global (cli tool)
npm install -g lestream
usage
cli
Cli tool can read stdlib and stream logs to Logentries. It autoreconnects / buffers data and runs until the input stream is closed.
$ tail -f log.txt | lestream -t <TOKEN>
$ lestream -h
Usage: lestream [options]
Options:
-h, --help output usage information
-t, --token [token] logentries host token
--host [hostname] logentries hostname (default: data.logentries.com)
--port <port> logentries port (default: 10000)
-b, --maxbuffer <len> maximum buffered line count before starting to drop log entries (default: none)
api
var lestream = require("lestream");
var logstream = lestream({
token: "TOKEN",
host: "data.logentries.com", //optional
port: 10000 //optional
})
logstream.write("Log line");
author
Ekin Koc ekin@eknkc.com
license
MIT
![Empty State](/_next/static/media/empty.e5fae2e5.png)
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/3 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
no SAST tool detected
Details
- Warn: no pull requests merged into dev branch
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
license file not detected
Details
- Warn: project does not have a license file
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Score
2.6
/10
Last Scanned on 2025-02-03
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