Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dnslink

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dnslink - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

4

package.json
{
"name": "dnslink",
"version": "0.1.0",
"version": "0.2.0",
"description": "Resolve dnslink TXT records for domains",
"main": "index.js",
"bin": {
"dnslink": "./cli.js"
"jsdnslink": "./cli.js"
},

@@ -9,0 +9,0 @@ "types": "index.d.ts",

# dnslink [![Build Status](https://travis-ci.org/common-theory/dnslink.svg?branch=master)](https://travis-ci.org/common-theory/dnslink) [![npm](https://img.shields.io/npm/v/dnslink.svg)](https://www.npmjs.com/package/dnslink) [![npm type definitions](https://img.shields.io/npm/types/dnslink.svg)](https://github.com/common-theory/dnslink)
A javascript [dnslink](https://docs.ipfs.io/guides/concepts/dnslink/) resolution implementation.
A javascript [dnslink](https://docs.ipfs.io/guides/concepts/dnslink/) resolution implementation. See [ipfs/go-dnslink](https://github.com/ipfs/go-dnslink) for more information.

@@ -16,3 +16,3 @@ ## Usage

```sh
$ dnslink update commontheory.io /ipfs/QmStyTZJJugmdFub1GBBGhtXpwxghT4EGvBCz8jNSLdBcy
$ jsdnslink update commontheory.io /ipfs/QmStyTZJJugmdFub1GBBGhtXpwxghT4EGvBCz8jNSLdBcy
Unable to find dnslink record, creating a new one

@@ -32,3 +32,3 @@ DNS record updated

update('commontheory.io', '/ipfs/QmStyTZJJugmdFub1GBBGhtXpwxghT4EGvBCz8jNSLdBcy')
.then(cid => /* Your logic */);
.then(() => /* Your logic */);
```

@@ -38,3 +38,3 @@

Get the CID associated with a domain.
Get the CID associated with a domain. This evaluates via the DNS, not IPFS.

@@ -44,3 +44,3 @@ #### Command Line

```sh
$ dnslink resolve commontheory.io
$ jsdnslink resolve commontheory.io
/ipfs/QmStyTZJJugmdFub1GBBGhtXpwxghT4EGvBCz8jNSLdBcy

@@ -47,0 +47,0 @@ ```

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc