JSPM

@ceramicnetwork/http-client

1.1.0-rc.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2588
  • Score
    100M100P100Q116157F
  • License (Apache-2.0 OR MIT)

An http client for the ceramic network

Package Exports

  • @ceramicnetwork/http-client

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@ceramicnetwork/http-client) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Ceramic http client

An http client for the Ceramic protocol

Getting started

Installation

$ npm install @ceramicnetwork/http-client

Usage

import CeramicClient from '@ceramicnetwork/http-client'
import TileDocument from '@ceramicnetwork/stream-tile'
import IdentityWallet from 'identity-wallet'

const API_URL = "http://localhost:7007"

const client = new CeramicClient(API_URL)

// create document example
const tileDocument = await TileDocument.create(ceramic, { test: 123 })

Ceramic API

Complete Ceramic core API is available on Ceramic API.

Development

Run tests:

$ npm test

Run linter:

npm run lint

Contributing

We are happy to accept small and large contributions. Make sure to check out the Ceramic specifications for details of how the protocol works.

License