@yucom/plugin
v0.1.0
Published
@yucom utilities for plugins
Downloads
6
Readme
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