pdfowler / typesync

Install missing TypeScript typings for dependencies in your package.json.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

typesync

Install missing TypeScript typings for dependencies in your package.json.

npm dependency Status devDependency Status Build Status Coveralls npm npm node

TypeSync

Install

npm install -g typesync

Usage

typesync [path/to/package.json] [--dry]

Path is relative to the current working directory. If omitted, defaults to package.json.

If --dry is specified, will not actually write to the file, it only prints added typings,

Note: typesync only modifies your package.json - you still need to run npm install, or — if drinking the k00laid — yarn.

Why?

Installing typings manually sucks. Flow has flow-typed which installs type definitions by looking at a package.json, which would be cool to have for TypeScript. Now we do!

Author

Jeff Hansen - @Jeffijoe

About

Install missing TypeScript typings for dependencies in your package.json.

License:MIT License


Languages

Language:TypeScript 99.7%Language:JavaScript 0.3%