HomeBytesAboutBadges

Series

Bytes

Day to day learnings, some nifty tricks, workarounds in byte form.


Articles in this series

Faster Debugging with Chrome Dev Tools

Jul 15, 2020179 views

A lot of times you want to look at request objects and response objects of an API a bit more extensively and with a lot more freedom than what your browser allows. For this, I use this neat shortcut to copy the JSON to my editor. Go to the Network t...

Executing functions in node.js via CLI

Sep 2, 2020155 views

Sometimes you just want to execute a particular function in an existing node.js backend, instead of making whole network requests to run that function you can run it using your CLI. Let's say you have a file hello.controller.js const byeController = ...

Make Your Logged JSON Readable

Sep 15, 2020245 views

I am tired of logging JSON and seeing [Object] or [Array] on my terminal. So I set out on a mission to do something about it. Enter jq, a lightweight and flexible command-line JSON processor. You can follow the installation guide in the docs for you...

Β© 2021 Vamsi Rao

PrivacyTerms
Proudly part of