Scan your whole stack
Are you using @bluelovers/fs-json?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v1.0.18
@bluelovers/fs-json was last scanned on 27 Nov 2026 at version 1.0.18. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 1.0.18 LATEST | 27 Nov 2026 | No rules fired |
Findings for v1.0.18. 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 1.0.18; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Enhanced JSON file operations with final EOL (End of Line) support. 增強型 JSON 檔案操作,支援結尾換行符號(EOL)。
yarn add @bluelovers/fs-json
yarn-tool add @bluelovers/fs-json
yt add @bluelovers/fs-json
pnpm add @bluelovers/fs-json
npm install @bluelovers/fs-json
import {
readJSON,
readJSONSync,
writeJSON,
writeJSONSync,
outputJSON,
outputJSONSync,
stringifyJSON,
parseJSON
} from '@bluelovers/fs-json';
// Read JSON / 讀取 JSON
const data = await readJSON('config.json');
const dataSync = readJSONSync('config.json');
// Write JSON / 寫入 JSON
await writeJSON('output.json', { key: 'value' });
writeJSONSync('output.json', { key: 'value' });
// Output JSON (creates directory if needed) / 輸出 JSON(必要時創建目錄)
await outputJSON('path/to/file.json', { key: 'value' });
outputJSONSync('path/to/file.json', { key: 'value' });
// Stringify with final EOL / 字串化並添加結尾換行
const jsonString = stringifyJSON({ key: 'value' });
console.log(jsonString); // '{"key":"value"}\n'
// Parse JSON / 解析 JSON
const obj = parseJSON('{"key":"value"}');
const objFromUint8 = parseJSON(new Uint8Array([123, 34, 107, 101, 121, 34, 58, 34, 118, 97, 108, 117, 101, 34, 125]));
readJSON(file, options?) / readJSONSync(file, options?)Reads a JSON file asynchronously or synchronously. 異步或同步讀取 JSON 檔案。
writeJSON(file, data, options?) / writeJSONSync(file, data, options?)Writes a JSON file asynchronously or synchronously. 異步或同步寫入 JSON 檔案。
outputJSON(file, data, options?) / outputJSONSync(file, data, options?)Writes a JSON file, creating the directory if it doesn't exist. 寫入 JSON 檔案,如果目錄不存在則自動創建。
stringifyJSON(data, options?)Stringifies data to JSON with final EOL support. 將資料字串化為 JSON,支援結尾換行。
parseJSON(stringOrUint8Array, reviver?)Parses JSON from string or Uint8Array. 從字串或 Uint8Array 解析 JSON。
interface IWriteOptions {
finalEOL?: boolean; // Add final newline (default: true) / 添加結尾換行(預設:true)
spaces?: string | number; // Indentation / 縮排
// ... other fs-extra/jsonfile options
} 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.