orbit-db-time-machine-logger
TypeScript icon, indicating that this package has built-in type declarations

1.0.7 • Public • Published

Logger

Build Status

Logger for OrbitDB time machine that can be added to projects to enable using OrbitDB Time Machine for time travel.

Getting started

NOTE: The logger only works for browser-based applications, as it makes use of the browser's localstorage.

Install the logger package:

npm i --save orbit-db-time-machine-logger

In you application:

import Logger from 'orbit-db-time-machine-logger'
 
// ... Code to set up your OrbitDB instance ...
// This code will create an OrbitDB store
 
var logger = new Logger(store)
logger.start()

You can now use the debugger by visiting https://orbitdb-time-machine.netlify.com/ and entering your database address.

/orbit-db-time-machine-logger/

    Package Sidebar

    Install

    npm i orbit-db-time-machine-logger

    Weekly Downloads

    1

    Version

    1.0.7

    License

    ISC

    Unpacked Size

    513 kB

    Total Files

    38

    Last publish

    Collaborators

    • hannessolo