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

rareid-utils

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rareid-utils

Utilities for Rare.ID

  • 0.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

rareid-utils

Utilities for Rare.ID.

Installation

npm install rareid-utils

Usage

import { detectPatterns } from 'rareid-utils';

// Detect pattern of a domain
console.log(detectPatterns('0311.eth'));
// > Set(4) { 'ABCC', '0XXX', '10K', 'MMDD' }

API

detectPatterns(domain)

Currently only digits pattern (except rare4d and a-share-code) defined at Rare.ID are supported

Returns a set of detected patterns of the given domain.

domain

Type: string

Any domain, e.g: 0311.eth.

Keywords

FAQs

Package last updated on 09 Mar 2023

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc