0.3.0 • Published 12 months ago

@hitomihiumi/micro-docgen v0.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

micro-docgen (Forked)

npm version

downloads

TypeScript documentation generator on steroids 💉. MicroDocgen is built on top of typedoc to leverage its power and add more features.

Link to the original repository

Installation

$ npm install @hitomihiumi/micro-docgen

Usage

import { createDocumentation } from '@hitomihiumi/micro-docgen';
import { name, version } from './package.json'; 
/* 
    ^
    | --- To use this, make sure you have the “resolveJsonModule” flag set to “true” inside your tsconfig.json
*/

await createDocumentation({
    // project name
    name,
    // project version
    version,
    // 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: [...]
});
0.3.0

12 months ago

0.2.2

12 months ago

0.2.1

1 year ago

0.2.0

1 year ago