Brian Carstensen
Brian Carstensen
It'd be really really great to be able to do `ect --commonjs template.ect > template.js` and then be able to `require('./template');` and get a function. I bet folks who use...
Images from rich text areas display at low resolution on high DPI devices. Including the `&dpr=${window.devicePixelRatio}` query param requests the image at the appropriate resolution. `width` and `height` attributes would...
This code times a bunch of attribute keys: ```js const truncate = require('html-truncate'); function timeTruncate(html) { const start = Date.now(); truncate(html, 0); const end = Date.now(); console.log(`${end - start}ms for...