Gathering detailed insights and metrics for @truffle/config
Gathering detailed insights and metrics for @truffle/config
Gathering detailed insights and metrics for @truffle/config
Gathering detailed insights and metrics for @truffle/config
⚠️ The Truffle Suite is being sunset. For information on ongoing support, migration options and FAQs, visit the Consensys blog. Thank you for all the support over the years.
npm install @truffle/config
Typescript
Module System
Min. Node Version
Node Version
NPM Version
v5.11.5 — Dessertressed
Updated on Sep 13, 2023
v5.11.4 — Malted milk powder
Updated on Sep 07, 2023
v5.11.3 — Twenty chocolate nodules
Updated on Aug 29, 2023
v5.11.2 — Chocolate-hazelnut frozen yogurt
Updated on Aug 04, 2023
v5.11.1 — Watermelon ice cream
Updated on Jul 25, 2023
5.11.0 — Apple pie, no bugs allowed
Updated on Jul 14, 2023
TypeScript (57.63%)
JavaScript (35.35%)
Solidity (6.73%)
Shell (0.2%)
SCSS (0.04%)
HTML (0.02%)
Vyper (0.02%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
13,982 Stars
16,047 Commits
2,318 Forks
334 Watchers
193 Branches
248 Contributors
Updated on Jul 17, 2025
Latest Version
1.3.61
Package Id
@truffle/config@1.3.61
Unpacked Size
68.13 kB
Size
15.64 kB
File Count
20
NPM Version
lerna/5.6.2/node@v16.20.2+x64 (linux)
Node Version
16.20.2
Published on
Sep 07, 2023
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
Utility for interacting with truffle-config.js files
1const TruffleConfig = require("@truffle/config");
1const newConfig = TruffleConfig.default();
1const customConfig = new TruffleConfig("/truffleDirPath", "/currentWorkingDirPath", networkObj);
1// find config file & return new TruffleConfig object with config file settings (cwd) 2const truffleConfig = TruffleConfig.detect(); 3 4// find config file & return new TruffleConfig object from custom working dir 5const truffleConfig = TruffleConfig.detect({ workingDirectory: "./some/Path" }); 6 7// find & return new TruffleConfig object from custom named config 8const customTruffleConfig = TruffleConfig.detect({}, "./customConfig.js");
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
GitHub workflow tokens follow principle of least privilege
Details
Reason
license file detected
Details
Reason
no binaries found in the repo
Reason
project is fuzzed
Details
Reason
Found 4/6 approved changesets -- score normalized to 6
Reason
project is archived
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
branch protection not enabled on development/release branches
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
security policy file not detected
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
88 existing vulnerabilities detected
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