typescript-package
v0.4.2
Published
A convenience library for generating typescript-schema reflective models from typescript code.
Downloads
62
Maintainers
Readme
TypeScript Package Library
Overview
A convenience library for generating typescript-schema reflective models from typescript code.
Also provides some useful functions for reading various metadata files like tsconfig.json and package.json
Usage
Install:
npm install typescript-package
Basic Usage:
import * as p from 'typescript-package'
// Create a raw model from some typescript files
let modules = p.generateRawPackage('/myPkgDir/')
// Pass this to typescript-schema to convert to a resolved model