Gathering detailed insights and metrics for @supercharge/fs
Gathering detailed insights and metrics for @supercharge/fs
Gathering detailed insights and metrics for @supercharge/fs
Gathering detailed insights and metrics for @supercharge/fs
npm install @supercharge/fs
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
18 Stars
150 Commits
2 Forks
2 Watching
3 Branches
3 Contributors
Updated on 07 Aug 2024
JavaScript (50.75%)
TypeScript (49.25%)
Cumulative downloads
Total Downloads
Last day
-31.7%
1,083
Compared to previous day
Last week
-9.1%
7,096
Compared to previous week
Last month
-10.2%
33,992
Compared to previous month
Last year
303.1%
350,225
Compared to previous year
Extended drop-in fs
replacement for Node.js
Installation · Docs · Usage
Follow @marcuspoehls and @superchargejs for updates!
The @supercharge/fs
package provides an improved and extended fs
implementation
isFile(path)
or isDirectory(path)
copy
, ensureFile
, ensureDir
fs
methods from Node.jsrealPath
instead of realpath
npm i @supercharge/fs
Using @supercharge/fs
is pretty straightforward. Install and import the package in your project and use the methods to interact with the filesystem.
For example, you may copy or move a file from src
to dest
or retrieve a file’s size:
1const Fs = require('@supercharge/fs') 2 3await Fs.copy(src, dest) 4await Fs.move(src, dest) 5 6const size = await Fs.size(file) 7// 3758 bytes
Have a look at the docs for this package to find more details on all supported methods.
Do you miss a string function? We very much appreciate your contribution! Please send in a pull request 😊
git checkout -b my-feature
git commit -am 'Add some feature'
git push origin my-new-feature
MIT © Supercharge
superchargejs.com · GitHub @supercharge · Twitter @superchargejs
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
detected GitHub workflow tokens with excessive permissions
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
Score
Last Scanned on 2024-11-18
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