Promisified 'dns' API, for typescript.
Just import it and use it like the regular 'dns' module.
npm install @sane/dns --save
See src/index.ts for a list of promisifed methods.
import * as dns from '@sane/dns';
dns.reverseAsync('8.8.8.8')
.then(() => {
// ...
});
- Bump up the version number in package.json
- Add a section for the new release in CHANGELOG.md
- Run npm run-script compile to ensure it builds
- Commit
- Run npm publish
- Create a git tag for the new release and push it