doc2cs
TypeScript icon, indicating that this package has built-in type declarations

0.2.5 • Public • Published

doc2cs

Convert mongodb doc json to C Sharp code, power by quicktype.

How to use

1. run directly

# output to Model.cs
npx doc2cs input.json

2. install and run

# install
npm i -g doc2cs
# run, output to Model.cs
doc2cs input.json

Command line

doc2cs <input.json> [<model>] [<namespace>]
# <input.json> can be any json file
# output to `<model>.cs`

Readme

Keywords

none

Package Sidebar

Install

npm i doc2cs

Weekly Downloads

9

Version

0.2.5

License

Apache-2.0

Unpacked Size

17.6 kB

Total Files

14

Last publish

Collaborators

  • alvin_huang