UNPKG

@mediarithmics/plugins-nodejs-sdk

Version:

This is the mediarithmics nodejs to help plugin developers bootstrapping their plugin without having to deal with most of the plugin boilerplate

9 lines (8 loc) 481 B
import 'mocha'; import sinon from 'sinon'; import { core } from '../index'; import { ActivityAnalyzerPlugin } from '../mediarithmics'; type LogLevel = 'error' | 'warn' | 'info' | 'verbose' | 'debug' | 'silly'; declare const mockApi: (uriPattern: RegExp) => sinon.SinonStub; declare const itFactory: (plugin: ActivityAnalyzerPlugin, property: core.PluginPropertyResponse, logLevel?: LogLevel) => (name: string, input: string, output: string) => void; export { itFactory, mockApi };