UNPKG

translate-replace

Version:

A versatile npm package for translating and replacing text seamlessly. Support for multiple languages and easy integration into your projects.

9 lines (6 loc) 235 B
const config = require("../../../translate.config"); const DEFAULT = { html: /<html lang="en">([\s\S]*?)<\/html>/, vue: /<template lang="html">([\s\S]*?)<\/template>/, }; module.exports = config.fileTemplates || DEFAULT;