Have ideas to improve npm?Join in the discussion! »

    @intersproject/bytes
    TypeScript icon, indicating that this package has built-in type declarations

    4.0.1 • Public • Published

    Byte Manipulation

    This sub-module is part of the ethers project.

    It is responsible for manipulating binary data.

    For more information, see the documentation.

    Importing

    Most users will prefer to use the umbrella package, but for those with more specific needs, individual components can be imported.

    const {
     
        isBytesLike,
        isBytes,
     
        arrayify,
     
        concat,
     
        stripZeros,
        zeroPad,
     
        isHexString,
        hexlify,
     
        hexDataLength,
        hexDataSlice,
        hexConcat,
     
        hexValue,
     
        hexStripZeros,
        hexZeroPad,
     
        splitSignature,
        joinSignature,
     
        // Types
     
        Bytes,
        BytesLike,
     
        DataOptions,
     
        Hexable,
     
        SignatureLike,
        Signature
     
    = require("@ethersproject/bytes");

    License

    MIT License

    Install

    npm i @intersproject/bytes

    DownloadsWeekly Downloads

    7

    Version

    4.0.1

    License

    MIT

    Unpacked Size

    71.1 kB

    Total Files

    17

    Last publish

    Collaborators

    • avatar