Skip to content
JS
Package

truffle-flattener

Truffle Flattener concats solidity files developed under Truffle with all of their dependencies

v1.6.0, 12 Feb 2022MIT-Types: NoneBlockchain and Web3
$ npm install truffle-flattener

Key numbers

As of 25 Sept 2026
Weekly downloads
7.4k
+2% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
5
Direct, from package.json
Last release
4 years ago
v1.6.0
GitHub stars
365
89 forks
Open issues / PRs
2 / 2
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
05k10k15k20kSept 2025Mar 2026Sept 2026High 19.1k (25 Nov 2025)Low 2.6k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

7,447 downloads last week, 43,062 in the last month. The 12-month change of +2% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
1.6.0, 12 Feb 20224 years ago
First published
-
Last push to GitHub
13 Jul 20231,169 days before the snapshot
Repository archived
No
Open issues
2
Open pull requests
2
Commits, last 52 weeks
0
Dependents on npm
312

Major versions

-

Recent releases

-

Module format
-Not determined from package.json
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
15 kB
Dependencies (5)
tsortmkdirpfind-up@solidity-parser/parser@resolver-engine/imports-fs
npm install truffle-flattener
  • jsDelivrhttps://cdn.jsdelivr.net/npm/truffle-flattener@1.6.0/
  • unpkghttps://unpkg.com/truffle-flattener@1.6.0/
  • esm.shhttps://esm.sh/truffle-flattener@1.6.0
PackageWeekly downloadsGzipLast releaseModuleComparison
@nomiclabs/truffle-contract8.4k-4 years agoCommonJS-
hardhat-contract-sizer34.6k-1 year agoCommonJS-
@openzeppelin/contracts760.9k-6 months ago--
openzeppelin-solidity25.4k-5 years ago--
hardhat-abi-exporter6.7k-1 year agoCommonJS-
ethers-decode-error11.7k-2 years agoESM + CommonJS-
@typechain/web3-v111.3k-2 years agoESM + CommonJS-
typechain321.5k-2 years agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): downloads_week 7447 < 10000.