Gathering detailed insights and metrics for sacred-fs
Gathering detailed insights and metrics for sacred-fs
Gathering detailed insights and metrics for sacred-fs
Gathering detailed insights and metrics for sacred-fs
All of the methods of the Node package "fs" exposed as Promises
npm install sacred-fs
Typescript
Module System
Min. Node Version
Node Version
NPM Version
JavaScript (99.7%)
Shell (0.3%)
Total Downloads
91,810
Last Day
1
Last Week
36
Last Month
932
Last Year
7,530
1 Stars
846 Commits
1 Branches
1 Contributors
Updated on Aug 29, 2023
Minified
Minified + Gzipped
Latest Version
1.3.186
Package Id
sacred-fs@1.3.186
Unpacked Size
43.88 kB
Size
6.27 kB
File Count
7
NPM Version
9.3.1
Node Version
18.14.0
Published on
Feb 09, 2023
Cumulative downloads
Total Downloads
Last Day
0%
1
Compared to previous day
Last Week
-69.5%
36
Compared to previous week
Last Month
-47.8%
932
Compared to previous month
Last Year
-16%
7,530
Compared to previous year
All of the methods of the Node package fs
exposed as Promises.
1import { 2 writeFile 3} from 'sacred-fs' 4 5const filePath = '/path/to/file.txt' 6const fileData = 'Hello, World!' 7 8writeFile(filePath, fileData) 9 .then(() => console.log('Written!')) 10 .catch((e) => console.error(e))
1import { 2 readFile 3} from 'sacred-fs' 4 5const filePath = '/path/to/file.txt' 6 7readFile(filePath) 8 .then((fileData) => console.log('Read!', fileData)) 9 .catch((e) => console.error(e))
Methods which do not generate an error are wrapped with Promise.resolve()
. Otherwise, they are wrapped with new Promise((resolve, reject) => {})
and invoke resolve
with the return value, if there is one, or reject
with any error.
access
accessSync
appendFile
appendFileSync
chmod
chmodSync
chown
chownSync
close
closeSync
createReadStream
createWriteStream
exists
existsSync
fchmod
fchmodSync
fchown
fchownSync
fdatasync
fdatasyncSync
fstat
fstatSync
fsync
fsyncSync
ftruncate
ftruncateSync
futimes
futimesSync
lchmod
lchmodSync
lchown
lchownSync
link
linkSync
lstat
lstatSync
mkdir
mkdirSync
mkdtemp
mkdtempSync
open
openSync
read
readSync
readdir
readdirSync
readFile
readFileSync
readlink
readlinkSync
realpath
realpathSync
rename
renameSync
rmdir
rmdirSync
stat
statSync
symlink
symlinkSync
truncate
truncateSync
unlink
unlinkSync
unwatchFile
utimes
utimesSync
watch
watchFile
write
writeFile
writeFileSync
writeSync
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
8 existing vulnerabilities detected
Details
Reason
project is archived
Details
Reason
no SAST tool detected
Details
Reason
Found 0/30 approved changesets -- score normalized to 0
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
license file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Score
Last Scanned on 2025-05-05
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