tldw
v8.0.1
Published
Generate README files from package metadata and configurable fragments.
Maintainers
Readme
.text { font-size: 500px; font-weight: 200; font-family: JetBrains Mono, JetBrainsMono, monospace }tl;dw
tl;dw
Generate README files from package metadata and configurable fragments.
Installation
npm install --save-dev tldwUsage
Generated readme can be extended with following files in your repository:
Config
docs/tldw/config.yml
Useful docs/tldw/config.yml fields include:
banner:true, a string or{text, font, topColor, bottomColor}shields: an array for one shield line or an array of arrays for multiple shield lines. Each shield can be a string ID or a custom shield definition objectexcludeShields: a string or array of strings with shield IDs to skippackageManagers: a string or array ofnpm,pnpm,yarnandbunto choose which package managers are shown in## Installation. Default isnpmversionInInstallation: iftrue, append@^<version>to installation commandsmaxBlankLines: maximum number of consecutive blank lines in generated Markdown
YAML representation of Markdown fragments
docs/tldw/envVars.yml(same asdocs/tldw/config.yml#environmentVariables)docs/tldw/usageOptions.yml
Code fragments
docs/tldw/example.ts,docs/tldw/example.tsx,docs/tldw/example.jsordocs/tldw/example.jsxdocs/tldw/usage.tsordocs/tldw/usage.tsxdocs/tldw/result.jsordocs/tldw/result.jsxfor a result shown below the usage codedocs/tldw/result*.ts,docs/tldw/result*.tsx,docs/tldw/result*.jsordocs/tldw/result*.jsxfor named example results
Markdown fragments
docs/tldw/legal.mddocs/tldw/warning.mddocs/tldw/usage.mddocs/tldw/advancedUsage.mddocs/tldw/example.mddocs/tldw/options.mddocs/tldw/development.mddocs/tldw/description.mddocs/tldw/result.mddocs/tldw/notes.mddocs/tldw/related.mddocs/tldw/faq.md
Development
setting up
git clone [email protected]:Jaid/tldw.git
cd tldw
bun installlinting
bun run linttype checking
bun run typechecktesting
bun run testLicense
MIT License
Copyright © 2026, Jaid <[email protected]> (https://github.com/Jaid)
