README
tsdpm
typescript definition package manager
Install and publish 3rd party typescript defintions without DefinitelyTyped.
I build this because it is not possible to use type definitions without copy pasting them to the src/@types
folder or submitting a pull request (and getting it accepted) from DefinitelyTyped.
Please ★ this repo if you found it useful ★ ★ ★
Features
- install typescript definitions from npm
- publish typescript definitions to npm
- supports git repos
- supports tar files
- supports npm packages
Installation
npm install --dev tsdpm
Dependencies
Usage
Simply add the npm modules with the type defintions to the typeDefintions
section in your package.json
file.
tsdpm install
It is recommended to add tsdpm install
script to the the postinstall
script.
Example
Notice that you can install type definition that are not part of DefinitelyTypes @types/example
{
"name": "example",
"scripts": {
"postinstall": "tsdpm install"
},
"devDependancies": {
"tsdpm": "^0.0.2"
},
"typeDefinitions": {
"closure-library": "https://github.com/fivetran/DefinitelyTyped.git#::/closure-library"
}
}
Support
Submit an issue
Screenshots
Contribute a screenshot
Contributing
Review the guidelines for contributing
License
Jam Risser © 2019
Changelog
Review the changelog
Credits
- Jam Risser - Author
Support on Liberapay
A ridiculous amount of coffee ☕ ☕ ☕ was consumed in the process of building this project.
Add some fuel if you'd like to keep me going!