simple template engine based on es6 string literal
published 1.0.8 7 years ago- published 1.0.0 5 years ago
whistle插件,可以用来从匹配到的pattern提取数据,替换到upstream指定地址获取到的模板中。 配置方式: ``` pattern data-extractor://{"upstream": "http://localhost:8080", extractRegex: ["<script>\\s*const\\s+data\\s*=([^<]+)"]} ```
published 1.0.3 3 years ago