An open API service indexing awesome lists of open source software.

https://github.com/maddhruv/types-directory

Directory of all DefinitelyTyped types
https://github.com/maddhruv/types-directory

definitelytyped types types-directory types-discovery typescript typescript-definitions typescript-library

Last synced: 9 months ago
JSON representation

Directory of all DefinitelyTyped types

Awesome Lists containing this project

README

          

# Types Directory

Directory of all DefinitelyTyped types

## Install

`npm i types-directory`

## Usage

The module exports an array of all the types available

```js
const { types } = require("types-directory");

console.log(types); // Array of all the types available
```

### CDN

```shell
curl https://cdn.jsdelivr.net/gh/maddhruv/types-directory/directory.json
```

## Related

- [types-sync](https://github.com/maddhruv/types-sync) - Keep your types in sync with DefinitelyTyped - auto install/uninstall types for dependencies on postinstall.

## Contributing

Want to update the directory?

Follow these easy steps

```sh
# clone this repository
$ git clone https://github.com/maddhruv/types-directory

$ cd types-directory
# clone the DefinitelyTyped repository
$ git clone https://github.com/DefinitelyTyped/DefinitelyTyped --depth 1
# collect the types into the directory
$ npm start
# add the changes made to `directory.json`
$ git add directory.json
# commit the changes
$ git commit -m "update: directory :green_book:"
# git push and raise a pull request
```

Thanks in advance for contributing to types-directory. Now you can leave publishing on me.