Code snippet to download images from URL and save them into Google Cloud Storage

I have been looking around for a good solution and finally found one for saving images directly into Google Cloud Storage API. Now, what we do here is that we save the image into the memory directly and never make a local copy of the file and directly upload it to desired bucket. Npm package …

Great way to map up objects in TypeScript to keep objects initialized

Available in TypeScript 2.1 there is now the possibility to set partial properties values of objects, making it very easy to initialize new objects. I had the problem before that whenever I wanted to create a new object and also initilize a new object, I had to set my values in the constructor, all my …