Package Exports
- typings-global
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (typings-global) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
typings-global
@types/node in the right version
Availabililty
Status for master
Important: NodeJS Version Support
Since recently some issues have come up regarding version support:
This package makes sure that @types/node is installed in the right version when installing a module that depends on node. Since node changes dynamically over time, this package does NOT follow semver. But instead will follow the node LTS schedule.
That means that current LTS versions will always be supported. To get installs working on versions earlier than current LTS, you can lock the typings-global package on your own.
Usage
Use TypeScript for best in class instellisense.
checks your node version during installation and then installs the best matching @types/node version
To install type
npm install --save typings-globalTo gain node instellisense in your project simply type
import "typings-global"You can then import any node core modules like path or crypto with intellisense working.
For further information read the linked docs at the top of this README.
MIT licensed | © Lossless GmbH | By using this npm module you agree to our privacy policy