JSPM

@twine-protocol/twine-core

0.1.0
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 29
    • Score
      100M100P100Q39861F

    Package Exports

    • @twine-protocol/twine-core

    Readme

    twine-core

    This is a library for the Twine Protocol, to learn more about the protocol, visit https://docs.twine.world.

    This is the core javascript (typescript) package for the Twine protocol. It will be used by all other packages.

    This is a very small subset of twine utilities. It contains utilities defining chains and pulses, storage and resolving interfaces, and signature verification.

    To actually create twine data, you need the twine-builder package.

    To retrieve or store twine data you'll need one of these packages:

    Installation

    npm install --save @twine-protocol/twine-core

    Usage

    import { fromJSON } from '@twine-protocol/twine-core'
    import pulseJson from './my-pulse.json'
    
    const pulse = await fromJSON(pulseJson)

    Documentation

    API documentation for this package is found in [./docs]