@trace-it/lowdb-adapter
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

trace-it-lowdb-adapter

🕐 Lowdb adapter for Trace-it 🔎

Release npm (scoped) NPM npm

This is a lowdb adapter for the performance measuring tool trace-it.

INSTALL

You can install this storage adapters with npm:

npm install @trace-it/lowdb-adapter

USAGE

As the storage adapters for trace-it are plugins you only have to plug this package in on initialization of trace-it.

import * as TraceIt from 'trace-it';
import { LowDbAdapter } from '@trace-it/lowdb-adapter';

// For lowdb the dbName is used to specify the json file
const adapter = new LowDbAdapter({ dbName: './perf.json'});
TraceIt.init(adapter);
const transaction = TraceIt.startTransaction('root');
// ...

For more information look at the README of the core package.

You are looking for other adapters? Look here.

Changelog

See changes for each version in the release notes.

License

MIT - Matthias Hecht

Package Sidebar

Install

npm i @trace-it/lowdb-adapter

Weekly Downloads

7

Version

1.0.1

License

MIT

Unpacked Size

20.8 kB

Total Files

6

Last publish

Collaborators

  • matzehecht