Protons
    Preparing search index...

    Module protons-runtime

    This module contains serialization/deserialization code used when encoding/decoding protobufs.

    It should be declared as a dependency of your project:

    npm i protons-runtime
    

    protons-runtime

    ipfs.tech Discuss codecov CI

    Shared code to make your bundle smaller when running protons in your app

    About

    This module contains serialization/deserialization code used when encoding/decoding protobufs.

    It should be declared as a dependency of your project:

    npm i protons-runtime
    

    Install

    $ npm i protons-runtime
    

    Contains shared code to reduce code duplication between modules transpiled by protons.

    API Docs

    License

    Licensed under either of

    Contribute

    Contributions welcome! Please check out the issues.

    Also see our contributing document for more information on how we work, and about contributing in general.

    Please be aware that all interactions related to this repo are subject to the IPFS Code of Conduct.

    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.

    Classes

    CodeError
    MaxLengthError
    MaxSizeError
    NoMessagesFoundError
    ParseError

    Interfaces

    Codec
    DecodeOptions
    EncodeOptions
    FieldDef
    Reader
    Writer

    Functions

    decodeMessage
    encodeMessage
    enumeration
    message
    reader
    writer