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

0.4.2 • Public • Published

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

Package Sidebar

Install

npm i typescript-package

Weekly Downloads

4

Version

0.4.2

License

MIT

Last publish

Collaborators

  • christyharagan