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)