js-multiformats icon indicating copy to clipboard operation
js-multiformats copied to clipboard

Multiformats interface (multihash, multicodec, multibase and CID)

Results 40 js-multiformats issues
Sort by recently updated
recently updated
newest added

Most of ipfs / libp2p stack depends on CID class which introduces large number of dependencies, it is made worth by the fact that typescript forces all of them to...

I'd like to compose a decoder, something like: ```ts import * as b32 from 'multiformats/bases/base32' import * as b36 from 'multiformats/bases/base36' import * as b58 from 'multiformats/bases/base58' import * as...

multiformats module was previously working fine in skypack, but with the latest release (9.4.5) its build is now failing, as you can see in https://codepen.io/vascosantos/pen/qBjByRo?editors=0011 ![image](https://user-images.githubusercontent.com/7295071/130612302-11779230-c9e2-4168-8142-8e5bfbdd5a75.png) The build error can...

I've come across a situation requiring the ability to base-encode but preserve the lexicographic-order of the input bytes. That is the order of the base encoding alphabet should be in...

I'm not sure if identity encoding is meant to be used like this, but I noticed that after decoding, you don't get the same data: ```ts import { bases }...

This module has a number of ways of converting things into `CID` instances - `CID.parse` for strings, `CID.decode` for Uint8Arrays, `CID.asCID` for things CID-shaped. `.parse` and `.decode` will throw, `.asCID`...

There had been various discussions about the fact that in the wild we see IPFS urls to specific gateways. I think we can bake a best practice into CID implementation...

Hi, all. The generated .d.ts files are missing some generic arguments, making builds fail when using these type definitions. For instance, in `base.d.ts`: ``` declare class ComposedDecoder implements MultibaseDecoder, CombobaseDecoder...

status/ready

## Problem Statement #35 removes registries which simplifies things for the **encoder** which had to communicate which encoder and hashing algorithm to use by code or a name and now...

status/in-progress

We already have multibase, multihash that all in nutshell are `metada+data`. We don not however have similar thing for blocks, so it becomes impossible to derive what **codec to use**...

status/ready