Scan your whole stack
From OX Research Newsroom
Are you using fs-stream-sync?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v2.0.23
fs-stream-sync was last scanned on 27 Nov 2026 at version 2.0.23. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 2.0.23 LATEST | 27 Nov 2026 | No rules fired |
Findings for v2.0.23. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 2.0.23; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
這個模組提供了檔案系統的同步和異步流處理功能,包括讀取和寫入流。
# 使用 yarn / Using yarn
yarn add fs-stream-sync
# 使用 yarn-tool / Using yarn-tool
yarn-tool add fs-stream-sync
# yt 是 yarn-tool 的別名 / yt is an alias for yarn-tool
yt add fs-stream-sync
# 使用 pnpm / Using pnpm
pnpm add fs-stream-sync
# 使用 npm / Using npm
npm install fs-stream-sync
歡迎發送 PR,使這個模組更接近原始的 fs.stream
wellcome send pr, make this near original fs.stream
import {
ReadStream, WriteStream,
SyncReadStream, SyncWriteStream,
createReadStream, createWriteStream,
createSyncReadStream, createSyncWriteStream
} from 'fs-stream-sync';
import * as fs from "fs-extra";
import * as FsStream from "fs-stream-sync";
fs.ensureDirSync('./temp')
fs.removeSync('./temp/temp1.txt')
let file = './temp/temp1.txt'
let s = FsStream.createSyncWriteStream(file, {
flags: 'w+',
});
[
'open',
'ready',
'close',
'finish',
].forEach(function (name)
{
s.on(name, function (...argv)
{
console.log(name, argv);
})
})
s.open()
let text = ''
let line = `test${0}\n`
s.write(line)
text += line
s.on('close', function (...argv)
{
let buf = fs.readFileSync(file)
console.log('close2', argv, buf.toString() === text);
})
s.destroy()
let buf = fs.readFileSync(file)
console.log(buf.toString() === text);
open [ 4 ]
ready []
close []
close2 [] true
true Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.