Type definitions for node-amqp10.
Installation can be done using typings.
From the registry:
$ typings install amqp10 --save
From the source:
$ typings install github:typed-contrib/node-amqp10 --save
node-amqp10
module works in node.js
environment and requires Promise
typings.
So you also have to install node.js
typings.
$ typings install dt~node --global --save
If you do not target ES2015
in your TypeScript configuration, install es2015-promise
typings.
$ typings install env~es2015-promise --global --save
Contributions are welcome !
# Installation
# Fork this repo (https://github.com/typed-contrib/node-amqp10)
# Clone the fork (E.g. `https://github.com/<your_username>/node-amqp10.git`)
cd node-amqp10
# Install modules and dependencies
npm install
# Test typings over node-amqp10 samples and tests
npm test
Some resources to help writing Typescript type definitions:
This type definitions are tested using source node-amqp10
samples.
MIT