Author: Ryan Sukale

0

Resolved – sudo npm command not found

Recently when I was trying to run my application on an ubuntu virtual server, I kept getting the error npm command not found even though I had installed nvm an node. Based on my...

0

Require the css file of a package using webpack

Recently I found myself wanting to use the react-select package and realized that I need to include the css that was present in its dist folder. My application is setup to use webpack along...

0

How to set the timeout of a test in mocha

Mocha uses a default timeout of 2000 ms. However, if for some reason that does not work for your use case, you can increase the timeout for a particular test. You can do so...

1

Why use javascript strict mode

If you ever wondered why it helps to have `use-strict’ at the top of your javascript files, I hope this post will give you enough reason to keep using it in your future code....