Installations
npm install cosmiconfig-toml-loader
Releases
Unable to fetch releases
Developer
danielrearden
Developer Guide
Module System
CommonJS
Min. Node Version
Typescript Support
Yes
Node Version
10.21.0
NPM Version
6.14.4
Statistics
2 Stars
4 Commits
1 Forks
2 Watching
10 Branches
1 Contributors
Updated on 29 Jun 2023
Bundle Size
38.38 kB
Minified
8.15 kB
Minified + Gzipped
Languages
JavaScript (71.77%)
TypeScript (28.23%)
Total Downloads
Cumulative downloads
Total Downloads
237,315,791
Last day
-9.9%
112,119
Compared to previous day
Last week
2.8%
614,710
Compared to previous week
Last month
7.9%
2,457,708
Compared to previous month
Last year
-54.5%
31,354,479
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
cosmiconfig-toml-loader
A TOML loader for Cosmiconfig
Installation
npm install cosmiconfig-toml-loader
Usage
1import cosmiconfig from 'cosmiconfig'; 2import { loadToml } from 'cosmiconfig-toml-loader'; 3 4const moduleName = 'myModuleName'; 5const explorer = cosmiconfig(moduleName, { 6 searchPlaces: [ 7 'package.json', 8 `.${moduleName}rc.toml` 9 `.${moduleName}rc`, 10 `.${moduleName}rc.json`, 11 `.${moduleName}rc.yaml`, 12 `.${moduleName}rc.yml`, 13 `.${moduleName}rc.ts`, 14 `.${moduleName}rc.js`, 15 `${moduleName}.config.js`, 16 ], 17 loaders: { 18 '.toml': loadToml, 19 }, 20});
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
Found 0/1 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 effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 3 are checked with a SAST tool
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'main'
Reason
25 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92
- Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw
- Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw
- Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg
- Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275
- Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c
- Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq
- Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj
- Warn: Project is vulnerable to: GHSA-896r-f27r-55mw
- Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h
- Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw
- Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9
- Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm
- Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv
- Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3
- Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h
- Warn: Project is vulnerable to: GHSA-5fw9-fq32-wv5p
- Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp
- Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6
- Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw
- Warn: Project is vulnerable to: GHSA-jgrx-mgxx-jf9v
- Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3
- Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7
- Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q
- Warn: Project is vulnerable to: GHSA-c4w7-xm78-47vh
Score
1.7
/10
Last Scanned on 2024-11-25
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