New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

get-ens

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

get-ens - npm Package Compare versions

Comparing version 0.1.5 to 0.1.6

2

package.json
{
"name": "get-ens",
"version": "0.1.5",
"version": "0.1.6",
"description": "Get text records of an ENS address with ease.",

@@ -5,0 +5,0 @@ "exports": "./dist/index.js",

@@ -6,5 +6,5 @@ <div align="center">

[![Version][v-badge-url]][npm-url] [![Downloads][dl-badge-url]][npm-url] [![GitHub Workflow Status][gh-actions-img]][github-actions] [![Codecov][cov-badge-url]][cov-url]
<sub>Get text records of an ENS address with ease.</sub>
</div>

@@ -20,4 +20,6 @@

### Node.js
```ts
import { getDefaultProvider } from '@ethersproject/provider'
import { getDefaultProvider } from '@ethersproject/providers'
import { getENS } from 'get-ens'

@@ -38,5 +40,12 @@ import fetch from 'node-fetch'

records: {
web: { twitter: 'twitter.com/fodasynthesis' },
avatar: 'https://slate.textile.io/ipfs/bafkreiddogjj5m6nhru72cqvj7napv3knwyqcvxlfxu4axkwhhlg55t5cu',
color: '#f0da91',
description: 'ⓕ™',
email: 'foda@just.is',
url: 'instagram.com/foda.farm'
url: 'https://asf.is',
web: {
github: 'https://github.com/a-s-f',
instagram: 'https://instagram.com/foda.farm',
twitter: 'twitter.com/fodasynthesis'
}
}

@@ -47,2 +56,13 @@ }

### Deno
```ts
import { getENS } from 'https://esm.sh/get-ens'
import { getDefaultProvider } from 'https://esm.sh/@ethersproject/providers'
const provider = getDefaultProvider()
const { address, records, owner } = await getENS(provider)('foda.eth')
```
[v-badge-url]: https://img.shields.io/npm/v/get-ens.svg?style=for-the-badge&color=4D48F7&label=&logo=npm

@@ -49,0 +69,0 @@ [npm-url]: https://www.npmjs.com/package/get-ens

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