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.