Gathering detailed insights and metrics for fined
Gathering detailed insights and metrics for fined
Gathering detailed insights and metrics for fined
Gathering detailed insights and metrics for fined
npm install fined
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
12 Stars
21 Commits
5 Forks
6 Watchers
2 Branches
4 Contributors
Updated on Nov 05, 2023
Latest Version
2.0.0
Package Id
fined@2.0.0
Unpacked Size
8.25 kB
Size
3.34 kB
File Count
4
NPM Version
7.24.2
Node Version
14.18.0
Published on
Oct 31, 2021
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
Find a file given a declaration of locations.
1var fined = require('fined'); 2 3fined({ path: 'path/to/file', extensions: ['.js', '.json'] }); 4// => { path: '/absolute/path/to/file.js', extension: '.js' } (if file exists) 5// => null (if file does not exist) 6 7var opts = { 8 name: '.app', 9 cwd: '.', 10 extensions: { 11 rc: 'default-rc-loader', 12 '.yml': 'default-yml-loader', 13 }, 14}; 15 16fined({ path: '.' }, opts); 17// => { path: '/absolute/of/cwd/.app.yml', extension: { '.yml': 'default-yml-loader' } } 18 19fined({ path: '~', extensions: { rc: 'some-special-rc-loader' } }, opts); 20// => { path: '/User/home/.apprc', extension: { 'rc': 'some-special-rc-loader' } }
pathObj [string | object] : a path setting for finding a file.
opts [object] : a plain object supplements pathObj
.
pathObj
and opts
can have same properties:
path
and for finding up.This function returns a plain object which consists of following properties if a file exists otherwise null.
MIT
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
security policy file detected
Details
Reason
Found 7/20 approved changesets -- score normalized to 3
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
dependency not pinned by hash detected -- score normalized to 0
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
SAST tool is not run on all commits -- score normalized to 0
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