Gathering detailed insights and metrics for memory-fs
Gathering detailed insights and metrics for memory-fs
Gathering detailed insights and metrics for memory-fs
Gathering detailed insights and metrics for memory-fs
[DEPRECATED use memfs instead] A simple in-memory filesystem. Holds data in a javascript object.
npm install memory-fs
Typescript
Module System
Min. Node Version
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
880 Stars
80 Commits
76 Forks
14 Watchers
9 Branches
88 Contributors
Updated on Jun 05, 2025
Latest Version
0.5.0
Package Id
memory-fs@0.5.0
Size
4.50 kB
NPM Version
6.9.0
Node Version
12.4.0
Published on
Oct 08, 2019
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
2
A simple in-memory filesystem. Holds data in a javascript object.
1var MemoryFileSystem = require("memory-fs"); 2var fs = new MemoryFileSystem(); // Optionally pass a javascript object 3 4fs.mkdirpSync("/a/test/dir"); 5fs.writeFileSync("/a/test/dir/file.txt", "Hello World"); 6fs.readFileSync("/a/test/dir/file.txt"); // returns Buffer("Hello World") 7 8// Async variants too 9fs.unlink("/a/test/dir/file.txt", function(err) { 10 // ... 11}); 12 13fs.readdirSync("/a/test"); // returns ["dir"] 14fs.statSync("/a/test/dir").isDirectory(); // returns true 15fs.rmdirSync("/a/test/dir"); 16 17fs.mkdirpSync("C:\\use\\windows\\style\\paths");
Copyright (c) 2012-2014 Tobias Koppers
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 7/9 approved changesets -- score normalized to 7
Reason
project is archived
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
Reason
security policy file not detected
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
41 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-06-30
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