Skip to content

Latest commit

 

History

History

adapter-utils

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

micro-analytics-adapter-utils 🔧

A set of utilities and tests for creating database adapters.

Installation

npm install micro-analytics-adapter-utils

Usage

Detailed information on the usage of the utilities and tests can be found in writing adapters guide

const utils = require('micro-analytics-adapter-utils')

Tests

There is a complete test suite for adapters in this module. Usage example below, complete lists of options is in writing adapters guide.

// adapter.test.js
const test = require('micro-analytics-adapter-utils/unit-tests')

test({
 name: 'adapter-name',
 modulePath: path.resolve(__dirname, './index.js'),
})

License

Copyright ©️ 2017 Maximilian Stoiber & Rolf Erik Lekang, licensed under the MIT License. See license.md for more information.