UNPKG

@plastichub/osr-mail

Version:

This is a CLI(CommandLineInterface) toolset to convert media files

16 lines (9 loc) 527 B
export * from './constants' export * from './types' export * from './lib' import { logger as _logger } from '@plastichub/core/debug' import { MODULE_NAME } from './constants' export const logger = _logger(MODULE_NAME) import { substitute as _substitute, substituteAlt as _substituteAlt } from "@plastichub/core/strings" import { IObjectLiteral } from "@plastichub/core" export const substitute = (alt: boolean, template: string, vars: IObjectLiteral) => alt ? _substituteAlt(template, vars) : _substitute(template, vars)