ts-readme-generator
Small tool to automatically generate your API documentation straight into your `readme.md` from your TypeScript typings.
Last updated 2 years ago by linusu .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install ts-readme-generator 
SYNC missed versions from official npm registry.

Generate Readme from TypeScript

Small tool to automatically generate your API documentation straight into your readme.md from your TypeScript typings.

Note: This is very much a work in progress. I'm currently going through my projects one by one and replacing the API docs with generated ones, improving this module as I go. Don't expect it to work with most modules just yet.

Installation

npm install --global ts-readme-generator

Usage

Make sure that your readme.md contains a ## API section (or ## Props if it's a React module), then simply run the command to update your Readme file from the TypeScript definitions.

ts-readme-generator

You can also run the script in "check mode" to make it exit with a non-zero status if the documentation isn't up to date.

ts-readme-generator --check

Examples

Check out these projects using ts-readme-generator:

If you are using this in a public project, please send a PR to add it to this list!

Current Tags

  • 0.7.5                                ...           latest (2 years ago)

22 Versions

  • 0.7.5                                ...           2 years ago
  • 0.7.4                                ...           2 years ago
  • 0.7.3                                ...           4 years ago
  • 0.7.2                                ...           4 years ago
  • 0.7.1                                ...           5 years ago
  • 0.7.0                                ...           5 years ago
  • 0.6.1                                ...           5 years ago
  • 0.6.0                                ...           5 years ago
  • 0.5.3                                ...           5 years ago
  • 0.5.2                                ...           5 years ago
  • 0.5.1                                ...           5 years ago
  • 0.5.0                                ...           6 years ago
  • 0.4.4                                ...           6 years ago
  • 0.4.3                                ...           7 years ago
  • 0.4.2                                ...           7 years ago
  • 0.4.1                                ...           7 years ago
  • 0.4.0                                ...           7 years ago
  • 0.3.0                                ...           7 years ago
  • 0.2.0                                ...           7 years ago
  • 0.1.2                                ...           7 years ago
  • 0.1.1                                ...           7 years ago
  • 0.1.0                                ...           7 years ago
Maintainers (1)
Downloads
Total 51
Today 0
This Week 0
This Month 29
Last Day 0
Last Week 0
Last Month 22
Dependencies (2)
Dev Dependencies (3)
Dependents (0)
None

© 2010 - cnpmjs.org x YWFE | Home | YWFE