4.0.7 • Published 6 months ago

@libp2p/record v4.0.7

Weekly downloads
-
License
Apache-2.0 OR MIT
Repository
github
Last release
6 months ago

@libp2p/record

libp2p.io Discuss codecov CI

libp2p record implementation

About

This is an implementation of the routing record format used by libp2p to store data in the datastore passed to the libp2p constructor.

Example - Deserialization

import { Libp2pRecord } from '@libp2p/record'

const buf = Uint8Array.from([0, 1, 2, 3])
const record = Libp2pRecord.deserialize(buf)

Example - Serialization

import { Libp2pRecord } from '@libp2p/record'

const key = Uint8Array.from([0, 1, 2, 3])
const value = Uint8Array.from([0, 1, 2, 3])
const timeReceived = new Date()

const record = new Libp2pRecord(key, value, timeReceived)
const buf = record.serialize()

Install

$ npm i @libp2p/record

Browser <script> tag

Loading this module through a script tag will make its exports available as Libp2pRecord in the global namespace.

<script src="https://unpkg.com/@libp2p/record/dist/index.min.js"></script>

API Docs

License

Licensed under either of

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

4.0.4-285dab7d7

12 months ago

4.0.4-a82b07d8c

1 year ago

4.0.4-23685db5e

10 months ago

4.0.4-e7e280257

9 months ago

4.0.4-754fe84db

9 months ago

4.0.5-4939ef7ae

9 months ago

4.0.6-d91ae66c6

6 months ago

4.0.6-2a7425cdb

6 months ago

4.0.5-2f2322a25

9 months ago

4.0.4-1ab50cc0d

9 months ago

4.0.4-80ddad5bb

10 months ago

4.0.4-8a9258a24

1 year ago

4.0.4-52f0f2f13

12 months ago

4.0.4-d19974d93

12 months ago

4.0.4-d3e5a3382

12 months ago

4.0.4-d6cd25d0d

1 year ago

4.0.5-53a9be54e

8 months ago

4.0.4-26313e695

10 months ago

4.0.4-f8da60e73

1 year ago

4.0.5-600d0a561

9 months ago

4.0.5-4f37aff53

8 months ago

4.0.6-b8600fce8

6 months ago

4.0.5

9 months ago

4.0.7

6 months ago

4.0.6

6 months ago

4.0.5-afa5c9f59

8 months ago

4.0.5-88b5c29ed

9 months ago

4.0.4-66c3ec5e1

10 months ago

4.0.5-a5a33afd9

7 months ago

4.0.4-4bbcfa707

10 months ago

4.0.5-e1f868f03

9 months ago

4.0.4-d61cbacec

10 months ago

4.0.4-68ad3663e

9 months ago

4.0.4-b818882e0

9 months ago

4.0.4-05d559f54

1 year ago

4.0.5-d53ef170c

8 months ago

4.0.5-0555339ba

9 months ago

4.0.5-0699fb747

9 months ago

4.0.4-665769021

1 year ago

4.0.5-907518bad

9 months ago

4.0.4-7718d020a

9 months ago

4.0.4-b248eefc0

1 year ago

4.0.4-2c182d2e2

12 months ago

4.0.4-4761dd701

1 year ago

4.0.6-14dbebea8

6 months ago

4.0.6-bb4ad31db

6 months ago

4.0.4-6bd7f9169

1 year ago

4.0.5-4c64bd06d

8 months ago

4.0.4-a4f0db1e9

9 months ago

4.0.5-3df5bf2da

6 months ago

4.0.5-185b23eac

7 months ago

4.0.4-2b49a5f74

9 months ago

4.0.4-15a70af5f

10 months ago

4.0.4-4ab04faf0

10 months ago

4.0.5-71267286

8 months ago

4.0.4-b02ea9b6e

1 year ago

4.0.5-96f79bc11

9 months ago

4.0.4-c90984ec7

11 months ago

4.0.4-023ea575c

12 months ago

4.0.6-ec73d59a6

6 months ago

4.0.6-307d0ba58

6 months ago

4.0.5-3d9b07c34

9 months ago

4.0.6-cc7b34c0f

6 months ago

4.0.4-bc90b4fd5

1 year ago

4.0.4-f9345a7a1

10 months ago

4.0.4-7dcabb884

1 year ago

4.0.4-20d9ba73e

11 months ago

4.0.4-c917314f3

1 year ago

4.0.5-48cd9b652

9 months ago

4.0.4-d98cc46e4

9 months ago

4.0.4-1fc0e2662

10 months ago

4.0.4-6ddc1b80e

1 year ago

4.0.4-2a3cec922

9 months ago

4.0.4-339b7df88

1 year ago

4.0.5-cdc63e6cc

7 months ago

4.0.4-21088c519

10 months ago

4.0.4-06fc82da8

11 months ago

4.0.4-96f14e429

10 months ago

4.0.4-bf0f74d66

10 months ago

4.0.5-2c8ecb455

9 months ago

4.0.4-d30d07e6f

1 year ago

4.0.4-02f285fc8

1 year ago

4.0.5-78cd7d53e

8 months ago

4.0.4-90cca822b

9 months ago

4.0.6-dbbc6ef1d

6 months ago

4.0.5-757577dd2

9 months ago

4.0.4-f2f9008b8

1 year ago

4.0.6-7788b4025

6 months ago

4.0.4-7dead6d35

1 year ago

4.0.4-6e52ee346

10 months ago

4.0.5-aa25d38ab

6 months ago

4.0.5-3f127b610

9 months ago

4.0.4-3650283f7

1 year ago

4.0.4-6ab85ea68

12 months ago

4.0.4-7c085d10c

1 year ago

4.0.5-213a54a1e

7 months ago

4.0.4-2625cc323

12 months ago

4.0.5-6f96de86c

8 months ago

4.0.4-98b43045c

1 year ago

4.0.4-7655833bb

10 months ago

4.0.5-52a46ecad

9 months ago

4.0.4-406b3916c

1 year ago

4.0.6-ab014c0c0

6 months ago

4.0.4-f53f65d18

1 year ago

4.0.5-a6c9aee5a

9 months ago

4.0.4-92cc74082

12 months ago

4.0.6-6a3ae02f5

6 months ago

4.0.4-5b084e968

9 months ago

4.0.4-d72b51184

10 months ago

4.0.4-06f79b646

12 months ago

4.0.5-b2124c2db

8 months ago

4.0.5-3833353bd

8 months ago

4.0.4-91687998d

1 year ago

4.0.5-4b8c0a6bd

7 months ago

4.0.4-fe8af37a1

11 months ago

4.0.4-6f8cfeafb

9 months ago

4.0.4-c1d0b7fa4

10 months ago

4.0.4-2e35b6055

10 months ago

4.0.4-7a1665cd8

10 months ago

4.0.4-b56d91884

11 months ago

4.0.6-b32bc8406

6 months ago

4.0.4-d188511b9

10 months ago

4.0.6-8e87be9e6

6 months ago

4.0.5-e2f49432b

9 months ago

4.0.6-5b004c0c4

6 months ago

4.0.4-abe9bd154

11 months ago

4.0.5-da4e9da82

8 months ago

4.0.5-5fe2a18fc

9 months ago

4.0.4-5c4a79e5a

12 months ago

4.0.5-f09bef843

8 months ago

4.0.6-9f1be6742

6 months ago

4.0.4-a0c8ceb99

1 year ago

4.0.4-c4e862731

10 months ago

4.0.5-b9e32cc37

8 months ago

4.0.4-ae75570c8

11 months ago

4.0.4-723bde6ce

10 months ago

4.0.5-22e62d00f

9 months ago

4.0.4-99f5f270b

12 months ago

4.0.4-f465c5473

9 months ago

4.0.4-844a8d2d1

1 year ago

4.0.4-adc767899

1 year ago

4.0.4-7626b224d

1 year ago

4.0.4-9b1a3791d

9 months ago

4.0.4-ff951f1a0

9 months ago

4.0.4-e2ec7bdaa

10 months ago

4.0.4-656db81cf

1 year ago

4.0.4-e7e01f58f

9 months ago

4.0.4-d8f003e6e

10 months ago

4.0.5-fc5122110

8 months ago

4.0.4-2feaeddb4

1 year ago

4.0.5-32627c876

7 months ago

4.0.4-8331c8ea8

9 months ago

4.0.4-0862522fe

1 year ago

4.0.5-80fe31aa1

9 months ago

4.0.5-f1de46607

7 months ago

4.0.4-cc7fcfe98

9 months ago

4.0.5-da7353a0b

8 months ago

4.0.5-2fbcdb687

9 months ago

4.0.5-a71c7c32b

9 months ago

4.0.4-5acfae333

12 months ago

4.0.4-4a85eb033

1 year ago

4.0.4-f4747450f

12 months ago

4.0.4-32ca76fcb

1 year ago

4.0.5-3577af88a

6 months ago

4.0.4-9614de7c6

12 months ago

4.0.6-3528df829

6 months ago

4.0.4-34b3c14b8

10 months ago

4.0.4-35a52f029

10 months ago

4.0.4-eee97c7d4

1 year ago

4.0.5-9acccaaed

9 months ago

4.0.6-8efb065d2

6 months ago

4.0.6-776cb432d

6 months ago

4.0.5-a7ab9a41b

9 months ago

4.0.4-3c63482e5

12 months ago

4.0.5-dd71d8a86

9 months ago

4.0.4-d866eb5bb

1 year ago

4.0.5-9b33d202e

7 months ago

4.0.4-f767126e1

10 months ago

4.0.4-48e9cfa56

12 months ago

4.0.5-0b9090aea

8 months ago

4.0.4-700e4c0b5

9 months ago

4.0.4-432955390

1 year ago

4.0.5-772b4011e

7 months ago

4.0.4-127abe24b

12 months ago

4.0.5-95909c3df

9 months ago

4.0.4-96654117c

12 months ago

4.0.4-0a3406a05

1 year ago

4.0.4-c2ff2e454

1 year ago

4.0.4-ad5cfd66a

1 year ago

4.0.4-d34642db1

1 year ago

4.0.4-a657bbd2e

1 year ago

4.0.4-a5cd8cfbe

1 year ago

4.0.4-7383821e1

1 year ago

4.0.4-717731e49

1 year ago

4.0.4-4521cf1f7

1 year ago

4.0.4-3244ed086

1 year ago

4.0.4-aa8de9fd3

1 year ago

4.0.4-3bc9769b8

1 year ago

4.0.4-e6b4158c6

1 year ago

4.0.4-75301ac7d

1 year ago

4.0.4-e99e8f448

1 year ago

4.0.4-58784abf7

1 year ago

4.0.4-d7a818e8e

1 year ago

4.0.4-dad979f9b

1 year ago

4.0.4-24fa1d5af

1 year ago

4.0.4-27b2fa6b6

1 year ago

4.0.4-b4f02a637

1 year ago

4.0.4-82bd42bcf

1 year ago

4.0.4-661d6586a

1 year ago

4.0.4-5d199f9b6

1 year ago

4.0.4-934a891f9

1 year ago

4.0.4-35b48025c

1 year ago

4.0.4-32c176fd5

1 year ago

4.0.4-80e798cdc

1 year ago

4.0.4-a390db4a4

1 year ago

4.0.4-d4da56961

1 year ago

4.0.4-0d326d102

1 year ago

4.0.4-d9c7e0f7e

1 year ago

4.0.4-980038477

1 year ago

4.0.4-c5988cce8

1 year ago

4.0.4-0c5957836

1 year ago

4.0.4-fa83ee1c7

1 year ago

4.0.4-7f7ec82ae

1 year ago

4.0.4-21fe841f2

1 year ago

4.0.4-b3272cfce

1 year ago

4.0.4-c628c44c5

1 year ago

4.0.4-c258b35af

1 year ago

4.0.4-4fd7eb2e1

1 year ago

4.0.4-6ccbb06f0

1 year ago

4.0.4-34455b5f2

1 year ago

4.0.4-18dd3cb26

1 year ago

4.0.4-1210884ed

1 year ago

4.0.4-c010d575c

1 year ago

4.0.4-d101aac4b

1 year ago

4.0.4-71e5f7a5b

1 year ago

4.0.4-81ebe4e47

1 year ago

4.0.4-b6681bd25

1 year ago

4.0.4-5214dec4a

1 year ago

4.0.4-e1ca9cced

1 year ago

4.0.4-2bbaf4361

1 year ago

4.0.4-7cd984569

1 year ago

4.0.4-c2bc7fed6

1 year ago

4.0.4-a142bb642

1 year ago

4.0.4-dd7b329c4

1 year ago

4.0.4-df330695a

1 year ago

4.0.4-737b3ea5b

1 year ago

4.0.4-2265e59ba

1 year ago

4.0.4-1675adee2

1 year ago

4.0.4-7655e5200

1 year ago

4.0.4-50b897139

1 year ago

4.0.4-e211b46cc

1 year ago

4.0.2-62e32252a

1 year ago

4.0.3-6573cb8b0

1 year ago

4.0.3-34cf1f7cd

1 year ago

4.0.3-44791342

1 year ago

4.0.2-bc6556f96

1 year ago

4.0.2-167bf2b3c

2 years ago

4.0.3-a130993ed

1 year ago

4.0.2-7464dc00c

2 years ago

4.0.3-e1f0b307c

1 year ago

4.0.2-e69a2f1b6

2 years ago

4.0.3-94cac115a

1 year ago

4.0.4

1 year ago

4.0.3-151bc46fb

1 year ago

4.0.3

1 year ago

4.0.3-a8ec2bcb7

1 year ago

4.0.2-352699ab5

2 years ago

4.0.3-9e0236627

1 year ago

4.0.3-73f2b6b6d

1 year ago

4.0.3-15eb66428

1 year ago

4.0.2-757fb2674

1 year ago

4.0.2-169c9d85e

2 years ago

4.0.4-1dfb74e79

1 year ago

4.0.2-7aec7bd45

2 years ago

4.0.3-21cf7bc56

1 year ago

4.0.3-3b9cbf7d8

1 year ago

4.0.4-0edbfe7af

1 year ago

4.0.3-8b3114292

1 year ago

4.0.3-0b55625d1

1 year ago

4.0.2-12106b5b0

1 year ago

4.0.3-928801a80

1 year ago

4.0.3-d1aec4d9f

1 year ago

4.0.3-f30e2ee8d

1 year ago

4.0.2-4bd8e4f79

1 year ago

4.0.2-6011d3697

1 year ago

4.0.3-40902d99b

1 year ago

4.0.2-f4e572cd6

2 years ago

4.0.3-abb9f90c7

1 year ago

4.0.3-e9b6a242a

1 year ago

4.0.4-7939dbd5c

1 year ago

4.0.3-944935f8d

1 year ago

4.0.2-769461d3b

1 year ago

4.0.4-3c8dd5bbf

1 year ago

4.0.3-3319ff41e

1 year ago

4.0.3-ce6da9896

1 year ago

4.0.2-f6fe2cc3c

1 year ago

4.0.3-4a994c5ef

1 year ago

4.0.2-90d10b565

1 year ago

4.0.3-af85a7cad

1 year ago

4.0.3-8e4fdcde9

1 year ago

4.0.3-863b3de03

1 year ago

4.0.2-440c9b360

1 year ago

4.0.3-a82ff8221

1 year ago

4.0.4-359265a3a

1 year ago

4.0.4-c5dba70a9

1 year ago

4.0.3-b0b6cae12

1 year ago

4.0.3-d1f1c2be7

1 year ago

4.0.2

2 years ago

4.0.1-1eb5b2713

2 years ago

4.0.1-1cd5aae11

2 years ago

4.0.1-1a41c28bb

2 years ago

4.0.1-48444f750

2 years ago

4.0.1-7de56f244

2 years ago

4.0.1-a3e8beabd

2 years ago

4.0.1-1cc6a9405

2 years ago

4.0.1-5b7380259

2 years ago

4.0.1-8214dcfb0

2 years ago

4.0.1-3c73707ff

2 years ago

4.0.1-9d4b0596f

2 years ago

4.0.1-43046b9ae

2 years ago

4.0.1-83c14d08f

2 years ago

4.0.1-7ae6063df

2 years ago

4.0.1-767b23e71

2 years ago

4.0.1-1488a7371

2 years ago

4.0.1-d9366f9aa

2 years ago

4.0.1-bfa7660d5

2 years ago

4.0.1-510d9ce65

2 years ago

4.0.1-4ad63bb79

2 years ago

4.0.1-a11e135c2

2 years ago

4.0.1-de3f7aeaf

2 years ago

4.0.1-9d13a2f6a

2 years ago

4.0.1-3d7a9da17

2 years ago

4.0.1-3bc94b403

2 years ago

4.0.1-c82432312

2 years ago

4.0.1-e1923b0a7

2 years ago

4.0.1-998fcaf94

2 years ago

4.0.1-90cfd25e2

2 years ago

4.0.0-2281f802b

2 years ago

4.0.0-c2181f0cf

2 years ago

4.0.1

2 years ago

4.0.0-fd1f8343d

2 years ago

4.0.0-eaf8ac7cf

2 years ago

4.0.0-acef72613

2 years ago

4.0.0-ea4f26285

2 years ago

4.0.0-31c78f4ed

2 years ago

4.0.0-08dabd390

2 years ago

4.0.0-b17824a1d

2 years ago

4.0.0-2c56203f9

2 years ago

4.0.0-732c436d4

2 years ago

4.0.0-936dbba10

2 years ago

4.0.0-2b2958fe6

2 years ago

4.0.0

2 years ago

3.0.4-3e515f007

2 years ago

3.0.4-d446c6c31

2 years ago

3.0.4-a2b41f793

2 years ago

3.0.4-80278b36b

2 years ago

3.0.4-3ffecc5bf

2 years ago

3.0.4

2 years ago

3.0.4-ab0e3980

2 years ago

3.0.4-d853d124

2 years ago

3.0.4-3dfc236e

2 years ago

3.0.4-ea8a0637

2 years ago

3.0.3

3 years ago

3.0.2

3 years ago

3.0.1

3 years ago

3.0.0

3 years ago

2.0.4

3 years ago

2.0.3

3 years ago

2.0.2

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.0.5

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.0

4 years ago

0.10.6

4 years ago