0.1.20 • Published 4 years ago
@davidenke/mkdocs-ts v0.1.20
MkDocs to Typescript Converter
This has been thrown together in a sleepless night 🌙.
After digging into the georgeous Scriptable app I wanted to improve the developer experience by providing types for the Scriptable API. So all efforts have been a bit biased to my needs to parse the provided documentation.
Improvements
Some missing things that would be nice once another sleepless night comes around:
- some unit tests
- using e.g. ts-morph to build the AST
- running it against some other generated docs
- typings for the mkdocs json format (is there at least some schema out there?)
Installation
npm i -D @davidenke/mkdocs-tsor
npm install --save-dev @davidenke/mkdocs-tsor
pnpm install --dev @davidenke/mkdocs-tsor
yarn add --dev @davidenke/mkdocs-tsUsage
mkdocs-ts <input: file path or URL> <output: path to target file>
npm run mkdocs-ts ./example.json example.d.tsor
npm run mkdocs-ts https://some.remote/example.json example.d.ts0.1.20
4 years ago
0.1.19
4 years ago
0.1.18
4 years ago
0.1.17
4 years ago
0.1.16
4 years ago
0.1.15
4 years ago
0.1.14
4 years ago
0.1.13
4 years ago
0.1.12
4 years ago
0.1.11
4 years ago
0.1.10
4 years ago
0.1.9
4 years ago
0.1.8
4 years ago
0.1.7
4 years ago
0.1.6
4 years ago
0.1.5
4 years ago
0.1.4
4 years ago
0.1.3
4 years ago
0.1.1
4 years ago