Gathering detailed insights and metrics for @react-native-hero/fs
Gathering detailed insights and metrics for @react-native-hero/fs
Gathering detailed insights and metrics for @react-native-hero/fs
Gathering detailed insights and metrics for @react-native-hero/fs
npm install @react-native-hero/fs
Typescript
Module System
Node Version
NPM Version
Kotlin (51.7%)
Objective-C (33.54%)
JavaScript (11.33%)
Ruby (3.43%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
13 Commits
1 Watchers
1 Branches
1 Contributors
Updated on May 20, 2025
Latest Version
0.1.3
Package Id
@react-native-hero/fs@0.1.3
Unpacked Size
28.75 kB
Size
8.18 kB
File Count
12
NPM Version
10.9.2
Node Version
22.15.1
Published on
May 20, 2025
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
No dependencies detected.
Install the library using either Yarn:
yarn add @react-native-hero/fs
or npm:
npm install --save @react-native-hero/fs
For iOS, use cocoapods
to link the package.
run the following command:
$ cd ios && pod install
For android, the package will be linked automatically on build.
run the following command to link the package:
$ react-native link @react-native-hero/fs
1import { 2 CODE, 3 DIRECTORY, 4 exists, 5 unlink, 6 stat, 7 md5, 8 preview, 9} from '@react-native-hero/fs' 10 11exists(path) 12.then(data => { 13 if (data.exists) { 14 15 } 16}) 17 18stat(path) 19.then(data => { 20 data.name 21 data.size 22}) 23.catch(err => { 24 if (err.code === CODE.FILE_NOT_FOUND) { 25 console.log('file is not found') 26 } 27}) 28 29unlink(path) 30.then(data => { 31 if (data.success) { 32 33 } 34}) 35.catch(err => { 36 if (err.code === CODE.FILE_NOT_FOUND) { 37 console.log('file is not found') 38 } 39}) 40 41md5(path) 42.then(data => { 43 data.md5 44}) 45.catch(err => { 46 if (err.code === CODE.FILE_NOT_FOUND) { 47 console.log('file is not found') 48 } 49}) 50 51preview({ 52 path: '/xx/xx.pdf', 53 mimeType: 'application/pdf', 54}) 55.then(() => { 56 // success 57}) 58.catch(err => { 59 if (err.code === CODE.FILE_NOT_FOUND) { 60 console.log('file is not found') 61 } 62 else if (err.code === CODE.PREVIEW_APP_NOT_FOUND) { 63 console.log('preview app is not found') 64 } 65}) 66 67// android only 68scan({ 69 path: '/xx/xx.jpg', 70 mimeType: 'image/jpeg', 71}) 72.then(data => { 73 data.path 74}) 75.catch(err => { 76 if (err.code === CODE.SCANNER_NOT_CONNECTED) { 77 console.log('scanner is not connected.') 78 } 79})
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
3 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 2
Reason
Found 0/13 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
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-07-07
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