JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 563
  • Score
    100M100P100Q105114F
  • License ISC

utilities to convert urbit ship names back and forth between @p and @ud

Package Exports

  • urbit-ob

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (urbit-ob) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

++ ob

js implementation of hoon.hoon arm ob

This library is responsible for converting urbit addresses from digits to @p, or the phonetic base, that Urbit uses for naming ships. Also works in reverse.

  • ob.toGalaxyName(0) -> ~zod
  • ob.toPlanetName(9896704) -> ~poldec-tonteg
  • ob.toAddress('~marzod') -> 256

Make sure to npm install to install dependencies. Thanks to keybase.io/aberg and @MDFang for the following inspiration.