typings

The TypeScript definition manager

Typings is deprecated in favor of NPM @types -- see README for more information
Last updated 9 years ago by blakeembrey .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install typings -g
SYNC missed versions from official npm registry.

Typings

NPM version NPM downloads Build status Gitter

The TypeScript Definition Manager.

Quick Start

# Install Typings CLI utility.
npm install typings --global

# Search for definitions.
typings search tape

# Find a definition by name.
typings search --name react

# If you use the package as a module:
# Install non-global typings (defaults to "npm" source, configurable through `defaultSource` in `.typingsrc`).
typings install debug --save

# If you use the package through `<script>`, it is part of the environment, or
# the module typings are not yet available, try searching and installing with `--global`:
typings install dt~mocha --global --save

# If you need a specific commit from github.
typings install d3=github:DefinitelyTyped/DefinitelyTyped/d3/d3.d.ts#1c05872e7811235f43780b8b596bfd26fe8e7760 --global --save

# Search and install by version.
typings info env~node --versions
typings install env~node@0.10 --global --save

# Install typings from a particular source (use `<source>~<name>` or `--source <source>`).
typings install env~atom --global --save
typings install bluebird --source npm --save

# Use `typings/index.d.ts` (in `tsconfig.json` or as a `///` reference).
cat typings/index.d.ts

Usage

Typings is the simple way to manage and install TypeScript definitions. It uses typings.json, which can resolve to the Typings Registry, GitHub, NPM, Bower, HTTP and local files. Packages can use type definitions from various sources and different versions, knowing they will never conflict for users.

typings install debug --save

The public registry is maintained by the community, and is used to resolve official type definitions for JavaScript packages.

Read More

Sources

  • npm - dependencies from NPM
  • github - dependencies directly from GitHub (E.g. Duo, JSPM)
  • bitbucket - dependencies directly from Bitbucket
  • jspm: - dependencies from installed JSPM packages with typings distributed. Requires jspm@0.17+.
  • bower - dependencies from Bower
  • common - "standard" libraries without a known "source"
  • shared - shared library functionality
  • lib - shared environment functionality (mirror of shared) (--global)
  • env - environments (E.g. atom, electron) (--global)
  • global - global (window.<var>) libraries (--global)
  • dt - typings from DefinitelyTyped (usually --global)

Contributing

# Installation
# Fork this repo (https://github.com/typings/typings)
# Clone the fork (E.g. `https://github.com/<your_username>/typings.git`)
cd typings

# Install modules
npm install

# Build
npm run build

# Test
npm run test

Change Log

License

MIT

Current Tags

  • 2.1.1                                ...           latest (8 years ago)

79 Versions

  • 2.1.1 [deprecated]           ...           8 years ago
  • 2.1.0 [deprecated]           ...           8 years ago
  • 2.0.0 [deprecated]           ...           8 years ago
  • 1.5.0 [deprecated]           ...           8 years ago
  • 1.4.0 [deprecated]           ...           8 years ago
  • 1.3.3 [deprecated]           ...           8 years ago
  • 1.3.2 [deprecated]           ...           8 years ago
  • 1.3.1 [deprecated]           ...           8 years ago
  • 1.3.0 [deprecated]           ...           8 years ago
  • 1.2.0 [deprecated]           ...           8 years ago
  • 1.1.0 [deprecated]           ...           8 years ago
  • 1.0.5 [deprecated]           ...           8 years ago
  • 1.0.4 [deprecated]           ...           8 years ago
  • 1.0.3 [deprecated]           ...           8 years ago
  • 1.0.2 [deprecated]           ...           8 years ago
  • 1.0.1 [deprecated]           ...           8 years ago
  • 0.8.1 [deprecated]           ...           9 years ago
  • 0.8.0 [deprecated]           ...           9 years ago
  • 0.7.12 [deprecated]           ...           9 years ago
  • 0.7.11 [deprecated]           ...           9 years ago
  • 0.7.10 [deprecated]           ...           9 years ago
  • 0.7.9 [deprecated]           ...           9 years ago
  • 0.7.8 [deprecated]           ...           9 years ago
  • 0.7.7 [deprecated]           ...           9 years ago
  • 0.7.6 [deprecated]           ...           9 years ago
  • 0.7.5 [deprecated]           ...           9 years ago
  • 0.7.4 [deprecated]           ...           9 years ago
  • 0.7.3 [deprecated]           ...           9 years ago
  • 0.7.2 [deprecated]           ...           9 years ago
  • 0.7.1 [deprecated]           ...           9 years ago
  • 0.7.0 [deprecated]           ...           9 years ago
  • 0.6.10 [deprecated]           ...           9 years ago
  • 0.6.9 [deprecated]           ...           9 years ago
  • 0.6.8 [deprecated]           ...           9 years ago
  • 0.6.7 [deprecated]           ...           9 years ago
  • 0.6.6 [deprecated]           ...           9 years ago
  • 0.6.5 [deprecated]           ...           9 years ago
  • 0.6.4 [deprecated]           ...           9 years ago
  • 0.6.3 [deprecated]           ...           9 years ago
  • 0.6.2 [deprecated]           ...           9 years ago
  • 0.6.1 [deprecated]           ...           9 years ago
  • 0.6.0 [deprecated]           ...           9 years ago
  • 0.5.2 [deprecated]           ...           9 years ago
  • 0.5.1 [deprecated]           ...           9 years ago
  • 0.5.0 [deprecated]           ...           9 years ago
  • 0.4.1 [deprecated]           ...           9 years ago
  • 0.4.0 [deprecated]           ...           9 years ago
  • 0.3.5 [deprecated]           ...           9 years ago
  • 0.3.4 [deprecated]           ...           9 years ago
  • 0.3.3 [deprecated]           ...           9 years ago
  • 0.3.2 [deprecated]           ...           9 years ago
  • 0.3.1 [deprecated]           ...           9 years ago
  • 0.3.0 [deprecated]           ...           9 years ago
  • 0.2.4 [deprecated]           ...           9 years ago
  • 0.2.3 [deprecated]           ...           9 years ago
  • 0.2.2 [deprecated]           ...           9 years ago
  • 0.2.1 [deprecated]           ...           9 years ago
  • 0.2.0 [deprecated]           ...           9 years ago
  • 0.1.7 [deprecated]           ...           9 years ago
  • 0.1.6 [deprecated]           ...           9 years ago
  • 0.1.5 [deprecated]           ...           9 years ago
  • 0.1.4 [deprecated]           ...           9 years ago
  • 0.1.3 [deprecated]           ...           9 years ago
  • 0.1.2 [deprecated]           ...           9 years ago
  • 0.1.1 [deprecated]           ...           9 years ago
  • 0.1.0 [deprecated]           ...           9 years ago
  • 0.0.13 [deprecated]           ...           9 years ago
  • 0.0.12 [deprecated]           ...           9 years ago
  • 0.0.11 [deprecated]           ...           9 years ago
  • 0.0.10 [deprecated]           ...           9 years ago
  • 0.0.9 [deprecated]           ...           9 years ago
  • 0.0.8 [deprecated]           ...           9 years ago
  • 0.0.7 [deprecated]           ...           9 years ago
  • 0.0.6 [deprecated]           ...           9 years ago
  • 0.0.5 [deprecated]           ...           9 years ago
  • 0.0.4 [deprecated]           ...           9 years ago
  • 0.0.3 [deprecated]           ...           9 years ago
  • 0.0.2 [deprecated]           ...           9 years ago
  • 0.0.0 [deprecated]           ...           9 years ago
Downloads
Total 6
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 6
Dependencies (30)
Dev Dependencies (5)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE