Markus Hedlund

Results comments of Markus Hedlund

``` const request = require('request') const sharp = require('sharp') const metaReader = sharp() .metadata() .then(info => { console.log(info) }) request .get('https://images-na.ssl-images-amazon.com/images/M/MV5BMTUyMjM2NTgwNl5BMl5BanBnXkFtZTgwMTUzOTUwMjI@._V1_SX1777_CR0,0,1777,999_AL_.jpg') .on('error', err => { console.log(err) }) .on('end', () =>...

That worked, thanks. ``` end { format: 'jpeg', width: 1777, height: 999, space: 'srgb', channels: 3, hasProfile: false, hasAlpha: false } ``` Does Sharp need to download the full image...

Thanks for excellent support and your time!

You know Javascript supports true / false values, right? Like this: `startup = true;`

My point was to notify the poster of this feature in JS. As to whether to use it or not, I'd suggest using it, as setting the value to true...

There is no reference to `raw` on #148. How do you use raw() with a transaction?

Thank you! I tried `knex.transacting(options.transacting).raw()` which didn't work. Final solution: ``` (options.transacting || knex).raw() ```

This is the error we're getting. ``` > [email protected] postinstall /node_modules/knex > node ./scripts/build.js lib "npm run build" module.js:457 throw err; ^ Error: Cannot find module '/node_modules/knex/scripts/build.js' at Function.Module._resolveFilename (module.js:455:15)...

If someone is interested, I've created such a helper: ``` Handlebars.registerHelper('chain', function () { var helpers = [], value; $.each(arguments, function (i, arg) { if (Handlebars.helpers[arg]) { helpers.push(Handlebars.helpers[arg]); } else...