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

hruid

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

hruid

human-readable unique ids to and from hex keys

  • 1.0.1
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

hruid

Human-readable Base16 IDs. Address space of Address space of 1010*2876*9999 = 29,044,695,240 which is larger than 2^32.

WIP: Supporting up to 32-byte keys

Usage

const {fromKey, toKey} = require('hruid')

// converting base16 key to hruid
console.log(fromKey("a70e67e1"))
$ 'such-patch-9169'

console.log(toKey("such-patch-9169"))
$ "a70e67e1"

FAQs

Package last updated on 27 Jul 2021

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