typings-global
Version:
@types/node in the right version
53 lines (37 loc) • 3.05 kB
Markdown
# typings-global
@types/node in the right version
## Availabililty
[](https://www.npmjs.com/package/typings-global)
[](https://GitLab.com/pushrocks/typings-global)
[](https://github.com/pushrocks/typings-global)
[](https://pushrocks.gitlab.io/typings-global/)
## Status for master
[](https://GitLab.com/pushrocks/typings-global/commits/master)
[](https://GitLab.com/pushrocks/typings-global/commits/master)
[](https://www.npmjs.com/package/typings-global)
[](https://david-dm.org/pushrocks/typings-global)
[](https://www.bithound.io/github/pushrocks/typings-global/master/dependencies/npm)
[](https://www.bithound.io/github/pushrocks/typings-global)
[](https://nodejs.org/dist/latest-v6.x/docs/api/)
[](https://nodejs.org/dist/latest-v6.x/docs/api/)
[](http://standardjs.com/)
## 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
```shell
npm install --save typings-global
```
To gain node instellisense in your project simply type
```typescript
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](https://lossless.gmbh)
| By using this npm module you agree to our [privacy policy](https://lossless.gmbH/privacy.html)
[](https://push.rocks)