@hitomihiumi/micro-docgen
v0.2.1
Published
Quick and easy documentation for typescript projects.
Downloads
14
Maintainers
Readme
micro-docgen
TypeScript documentation generator on steroids 💉. MicroDocgen is built on top of typedoc to leverage its power and add more features.
TODO
- Static site generation
- More options
- CLI
Installation
$ npm install micro-docgen
Usage
import { createDocumentation } from 'micro-docgen';
await createDocumentation({
// source files
input: ['src'],
// output directory
output: 'docs',
// tsconfig path
tsconfigPath: './tsconfig.json',
// to generate markdown files
markdown: true,
// to generate json file
jsonName: 'docs.json',
// include custom files such as readme
custom: [...]
});