Latest stories (34)

WWhitelisting multiple domains with kcors in Koa

17.02.20172 Min Read

Kcors The Koa CORs library has documentation which is a bit light on how to actually whitelist more than one domain for your node server. It has a decent JSDoc which tells you the the option can…

MMocking relative dependencies in Jest with jest.mock()

07.12.20161 Min Read

If you're like me and have just entered the world of Jest for testing your React application. You might be familiar with a mocking library called Proxyquire. Proxyquire - "nodejs require in order to…

PPutting Yarn Package Manager to the test

22.11.20163 Min Read

What is Yarn? FAST, RELIABLE, AND SECURE DEPENDENCY MANAGEMENT. - https://yarnpkg.com/ How does it achieve all of this? It uses caching to speed up installs by only ever downloading them once and…

MMy favourite VSCode plugins

06.11.20169 Min Read

A while ago I published a comprehensive list of my favourite Atom Editor plugins, I've since moved to VSCode for the majority of my development so I thought I'd gather together a similar list for it…