0.7.0 • Published 4 years ago

livingdoc-typescript-plugin v0.7.0

Weekly downloads
9
License
MIT
Repository
-
Last release
4 years ago

livingdoc-typescript-plugin

Living documentation plugin for typescript.

npm Version build-status js-standard-style

Usage

Install

npm install --global livingdoc

No installation

npx livingdoc ...

Generate classes diagram

livingdoc-typescript-plugin diagram -i src\domain\**\*.ts -o dist\domain-classes.svg

Result example :

Generate glossary

livingdoc-typescript-plugin glossary -i src\domain\**\*.ts -o dist\glossary.md

Result example :

ObjectNameAttribute nameTypeDescription
Access
phoneNumberstring
pricenumber
dateTimestring
Bill@RootAggregateMonthly bill.
monthstringWhich month of the bill.
contractContractContract concerned by the bill.
accessesAccess[]Bill contents.
paymentStatePaymentStateBill payment state
BillsService
CallAccess
durationstring
ContractTelecom contract
idnumberContract identifier.Generate by the system and communicate to client.
customerCustomerContract customer.
CustomerCustomer of the telecom service
emailstringEmail of the customer.
contractsContract[]Customer's contracts.
PaymentStateEnumerationBill payment state values.
WAITINGWainting payment by the client.
DONEClient has payed.
SmsAccess

Options

-i, --input

Define the path of the Typescript file

-o, --output

Define the path of the output file. If not defined, it'll output on the STDOUT

-d, --deep

Indicate if program must through dependancies content or not
0.7.0

4 years ago

0.5.0

4 years ago

0.6.0

4 years ago

0.3.0

4 years ago

0.2.0

4 years ago

0.4.0

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago