0.1.0 • Published 6 years ago

@yucom/plugin v0.1.0

Weekly downloads
1
License
ISC
Repository
github
Last release
6 years ago

yucom-plugin

Common module versions to use in plugins to share a real module instance when available or use a compatible mock when not.

Example

const logger = require('@yucom/plugin/logger')

Will use @yucom/logger if available or return a compatible simple instance otherwise.

Available modules

const logger = require('@yucom/plugin/logger') // Uses @yucom/logger
const logger = require('@yucom/plugin/context') // Uses @yucom/context