Comparing version 0.1.3 to 0.2.0
{ | ||
"name": "async-tag", | ||
"version": "0.1.3", | ||
"version": "0.2.0", | ||
"description": "Resolves template literals tag values before applying a generic tag", | ||
@@ -5,0 +5,0 @@ "main": "./cjs/index.js", |
# async-tag | ||
[](https://travis-ci.com/WebReflection/async-tag) [](https://coveralls.io/github/WebReflection/async-tag?branch=main) | ||
<sup>**Social Media Photo by [Tobias Rademacher](https://unsplash.com/@tobbes_rd) on [Unsplash](https://unsplash.com/)**</sup> | ||
Resolves template literals tag values before applying a generic tag. | ||
@@ -29,1 +33,13 @@ | ||
``` | ||
### Compatibility | ||
This [module source code](./esm/index.js) is written in a way that guarantees there won't be any code bloat once transpiled, without necessarily providing worse performance than native ES6+. | ||
Both [index.js](./index.js) and [min.js](./min.js) target any client/server JavaScript engine, assuming there is support, or there is a polyfill, for: | ||
* `Array.isArray(any)` to work with nested interpolations | ||
* `Promise.all(array)` to resolve all interpolations | ||
* `Function.prototype.bind` to be sure both context and template are expected | ||
Please note this module is pretty much done so, if there are not many updates in the long term, it's because it's 100% code covered and, for what it does, it won't likely need any change in the future. |
6957
45