# typings

> The TypeScript Definition Manager

Latest version **2.1.1** (published 2017-04-09) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install typings
pnpm add typings
yarn add typings
bun add typings
```

Provides the command `typings`.

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 2.1.1 |
| Published | 2017-04-09 |
| First published | 2015-10-31 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 15 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3357 |
| Author | Blake Embrey |
| Maintainers | blakeembrey |
| Keywords | typings, typescript, definition, declaration, package, manager, typed |

## Links

- npm: https://www.npmjs.com/package/typings
- Repository: https://github.com/typings/typings
- Issues: https://github.com/typings/typings/issues
- npm.io page: https://npm.io/package/typings

## Dependencies (15)

- [archy](https://npm.io/package/archy.md) ^1.0.0
- [chalk](https://npm.io/package/chalk.md) ^1.0.0
- [xtend](https://npm.io/package/xtend.md) ^4.0.1
- [listify](https://npm.io/package/listify.md) ^1.0.0
- [bluebird](https://npm.io/package/bluebird.md) ^3.1.1
- [minimist](https://npm.io/package/minimist.md) ^1.2.0
- [wordwrap](https://npm.io/package/wordwrap.md) ^1.0.0
- [columnify](https://npm.io/package/columnify.md) ^1.5.2
- [log-update](https://npm.io/package/log-update.md) ^1.0.2
- [has-unicode](https://npm.io/package/has-unicode.md) ^2.0.1
- [cli-truncate](https://npm.io/package/cli-truncate.md) ^1.0.0
- [typings-core](https://npm.io/package/typings-core.md) ^2.3.3
- [elegant-spinner](https://npm.io/package/elegant-spinner.md) ^1.0.1
- [promise-finally](https://npm.io/package/promise-finally.md) ^3.0.0
- [update-notifier](https://npm.io/package/update-notifier.md) ^2.0.0

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 2.1.1 (latest) — 2017-04-09
- 2.1.0 — 2016-12-19
- 2.0.0 — 2016-11-08
- 1.5.0 — 2016-10-28
- 1.4.0 — 2016-09-22
- 1.3.3 — 2016-08-26
- 1.3.2 — 2016-07-21
- 1.3.1 — 2016-06-28
- 1.3.0 — 2016-06-16
- 1.2.0 — 2016-06-15
- 1.1.0 — 2016-06-14
- 1.0.5 — 2016-06-10
- 1.0.4 — 2016-05-17
- 1.0.3 — 2016-05-16
- 1.0.2 — 2016-05-16
- … 64 more at https://npm.io/package/typings/versions

## README

# ![Typings](https://cdn.rawgit.com/typings/typings/master/logo.svg)

[![NPM version][npm-image]][npm-url]
[![NPM downloads][downloads-image]][downloads-url]
[![Build status][travis-image]][travis-url]
[![Gitter][gitter-image]][gitter-url]

> The TypeScript Definition Manager.

## Quick Start

```sh
# 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.

```sh
typings install debug --save
```

The [public registry](https://github.com/typings/registry) is maintained by the community, and is used to resolve official type definitions for JavaScript packages.

## Read More

* [Commands](docs/commands.md)
* [Coming from TSD?](docs/tsd.md)
* [Example typings](docs/examples.md)
* [Why external modules?](docs/external-modules.md)
* [About the registry](docs/registry.md)
* [FAQ](docs/faq.md)
* [Known Issues](docs/known-issues.md)

## Sources

* `npm` - dependencies from [NPM](http://npmjs.org/)
* `github` - dependencies directly from [GitHub](https://github.com/) (E.g. [Duo](http://duojs.org/), [JSPM](http://jspm.io/))
* `bitbucket` - dependencies directly from [Bitbucket](https://bitbucket.org)
* `jspm`: - dependencies from installed [JSPM](http://jspm.io/) packages with typings distributed. Requires `jspm@0.17+`.
* `bower` - dependencies from [Bower](http://bower.io/)
* `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](https://github.com/DefinitelyTyped/DefinitelyTyped) (usually `--global`)

## Contributing

```sh
# 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](https://github.com/typings/typings/releases)

## License

MIT

[npm-image]: https://img.shields.io/npm/v/typings.svg?style=flat
[npm-url]: https://npmjs.org/package/typings
[downloads-image]: https://img.shields.io/npm/dm/typings.svg?style=flat
[downloads-url]: https://npmjs.org/package/typings
[travis-image]: https://img.shields.io/travis/typings/typings.svg?style=flat
[travis-url]: https://travis-ci.org/typings/typings
[gitter-image]: https://badges.gitter.im/typings/typings.svg
[gitter-url]: https://gitter.im/typings/typings?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge

---
_Source: https://npm.io/package/typings · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
