Secret template engine.
[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]
bash
npm install -S @jswork/next-secret-tmpl
`usage
`js
import '@jswork/next-secret-tmpl';const str = '${{ GITHUB_API_TOKEN }} - ${{ afei }}';
const ctx = { GITHUB_API_TOKEN: 'xxx-yyy-zzz', afei:'zhengfei' };
const res = nx.secretTmpl(str, ctx);
// xxx-yyy-zzz - zhengfei
``[version-image]: https://img.shields.io/npm/v/@jswork/next-secret-tmpl
[version-url]: https://npmjs.org/package/@jswork/next-secret-tmpl
[license-image]: https://img.shields.io/npm/l/@jswork/next-secret-tmpl
[license-url]: https://github.com/afeiship/next-secret-tmpl/blob/master/LICENSE.txt
[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-secret-tmpl
[size-url]: https://github.com/afeiship/next-secret-tmpl/blob/master/dist/next-secret-tmpl.min.js
[download-image]: https://img.shields.io/npm/dm/@jswork/next-secret-tmpl
[download-url]: https://www.npmjs.com/package/@jswork/next-secret-tmpl