@proofofexistence/api-client
v0.1.3
Published
API Client for Proof of Existence
Readme
Proof of Existence API Client
Usage
npm i @proofofexistence/api-clientImport using ES6
import proofx from "@proofofexistence/api-client"See the ./examples folder for more.
import { getStatus } from "@proofofexistence/api-client"
let status = getStatus(hash)
.then( response =>
console.log(response.data)
)
.catch( error =>
console.log(error)
)Please refer to the complete API docs for more details.
Development
npm install
npm startYou can run the examples with npm start and browse to http://localhost:8080/examples/
Build
npm run buildTest
npm testBuild the docs
npm run docs