Socket
Socket
Sign inDemoInstall

@sane/dns

Package Overview
Dependencies
2
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @sane/dns

Promisified 'dns' API, for typescript.


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Install size
181 kB
Created
Weekly downloads
 

Changelog

Source

[1.0.0] - 2016-01-18

Initial release.

Readme

Source

@sane/dns

Promisified 'dns' API, for typescript.

Just import it and use it like the regular 'dns' module.

Install

npm install @sane/dns --save

Api

See src/index.ts for a list of promisifed methods.

Example

import * as dns from '@sane/dns';

dns.reverseAsync('8.8.8.8')
    .then(() => {
        // ...
    });

Release

  1. Bump up the version number in package.json
  2. Add a section for the new release in CHANGELOG.md
  3. Run npm run-script compile to ensure it builds
  4. Commit
  5. Run npm publish
  6. Create a git tag for the new release and push it

Keywords

FAQs

Last updated on 18 Jan 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc