Overwrites the readme based on info fetched from package.json and source code.
npm install --global tldw@^7.3.1yarn global add tldw@^7.3.1Generated readme can be extended with following files in your repository:
readme/config.yml
readme/envVars.yml(same asreadme/config.yml#environmentVariables)readme/usageOptions.yml
readme/example.jsreadme/result*.js
readme/legal.mdreadme/warning.mdreadme/usage.mdreadme/advancedUsage.mdreadme/example.mdreadme/options.mdreadme/development.mdreadme/description.mdreadme/result.mdreadme/notes.mdreadme/related.mdreadme/faq.md
After installing package tldw globally, you can use its command line interface.
tldwFor usage instructions:
tldw --helpDevelopment hints for maintaining and improving tldw
Setting up:
git clone git@github.com:jaid/tldw.git
cd tldw
npm installTesting:
npm run test:devTesting in production environment:
npm run testMIT License
Copyright © 2021, Jaid <jaid.jsx@gmail.com> (https://github.com/jaid)