0.0.8 • Published 3 years ago

cid-prototypes v0.0.8

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

cid-prototypes

import 'cid-prototypes'
import { CID } from 'multiformats'

const cids = 'bafybeih3qajng5kyjv4apiiughyjhflfc2kn747ggujq7d6ulkritfqx4e'.getCIDs()
const fromHEX = `f01701220fb8012d375584d7807a11431f09395651694dff3e635130f8fd45aa2899617e1`.parseCID()
const toV0 = CID.parse(cids.v0)

console.log(toV0.toV1().equals(fromHEX), cids.v0)
0.0.8

3 years ago

0.0.5

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago