2 ms·
I needed a good Node wrapper for ExifTool and wrote https://github.com/photostructure/exiftool-vendored.js https://github.com/photostructure/exiftool-vendored.j
by mceachen 5y ago
I needed a good Node wrapper for ExifTool and wrote https://github.com/photostructure/exiftool-vendored.js https://github.com/photostructure/exiftool-vendored.js
When I saw how slow it is to fork child processes in Windows, I then realized I wanted to run ExifTool in "stay-open" mode, which meant I needed to manage 1 or more long-lived child processes that communicate via stdin/stdout, so I wrote https://github.com/photostructure/batch-cluster.js https://github.com/photostructure/batch-cluster.js
In switching to TypeScript, I really missed Scala's `Option/None/Some` and `lazy`, so I added those (and several other small, helpful functions/classes) that I documented here: https://photostructure.com/coding/uncertain-lazy-forgetful-and-impatient/ https://photostructure.com/coding/uncertain-lazy-forgetful-a...