daltons icon indicating copy to clipboard operation
daltons copied to clipboard

a command-line tool that computes optimal image widths to put in srcset attributes of responsive images

Results 28 daltons issues
Sort by recently updated
recently updated
newest added

As most Analytics solutions only provide viewport widths and nothing about screen densities, this would help use Daltons without requiring addition of custom dimensions months in advance. For example, we...

enhancement
help wanted

For example, allow settings rounded screen densities to `[1, 1.5, 2, 2.5]` Aims: - reduce computing time (much less combinatorial) - prevent serving images to really high density screens

enhancement
high priority

Use https://github.com/SBoudrias/Inquirer.js/ ?

enhancement

- [ ] add configuration by file (see [Building Configurable CLI Apps ](https://github.com/yargs/yargs/blob/master/docs/advanced.md#configuration) in Yargs‘ documentation) - [ ] configure multiple runs in one single configuration file

enhancement

Should help reduce computing time

enhancement
high priority

Currently not compatible, staying on v4.x https://github.com/adaltas/node-csv/blob/csv-parse%405.0.0/packages/csv-parse/CHANGELOG.md#500-2021-11-15

help wanted
dependencies

It looks like Google Analytics' own "Browser Size" dimension we dismiss [here](https://cleverage.github.io/daltons/step1.html#sending-data-to-the-analytics-solution) gives a smaller viewport width than our own computed value: I guess it doesn't include the scrollbar width....

help wanted
question

Screen with >`2dppx` density require lower quality, more compressed, images: https://observablehq.com/@eeeps/visual-acuity-and-device-pixel-ratio It might be better having different images widths for high density screens (most being mobiles) and low density screens....

enhancement