howtojs.org
  • Home
  • JavaScript
  • NodeJS
  • 3D/ThreeJS
  • AngularJS
Suroor Wijdan's Picture

Suroor Wijdan

Nerd, Gaming fanatic, loves all things JavaScript and co-creator of howtojs.org

New Delhi http://nodeware.io 14 posts

Understanding Exceptions and Domains in Node.js

Exceptions in Node.js and their effect If you have developed applications using node.js then you must have encountered the problem of application getting crashed whenever an error occurs. User.find({'username':'Suroor Wijdan'}, function(err, user){ if(err) throw err; console.log(user); }); The above code once run if throws an error then this will lead to the...

21 February 2014 by Suroor Wijdan

Writing a CLI tool using Node.js

In this post we would try to write a Node.js module from scratch and also publish it to NPM (Node Package Manager). Before we start, we are just gonna have a look at things we need to get started: GitHub repository: To store all the code and mantain versions Grunt : Grunt is a great tool and it will help...

07 February 2014 by Suroor Wijdan

Using console.group, console.groudEnd and console.groupCollapsed

In the continuation of my previous blog, we will be looking at three more useful console methods which are as follows: console.group() console.groupEnd() console.groupCollapsed() In many situations where you have too many log messages, it gets messier to figure out the exact console.log statement you are looking for. To make the console outputs more organized in...

08 January 2014 by Suroor Wijdan

Using console.time and console.timeEnd

This blog focuses on two very basic JavaScript console methods. console.time and console.timeEnd built in methods can be very useful when put to use. At times you would have definitely wanted to mesaure the time taken by a loop or some process. A normal strategy to do it would be to store the timestamp of the start and...

05 January 2014 by Suroor Wijdan
← Newer Posts Page 3 of 3
About

A community blog with all things JavaScript! Want to contribute? Write to us at community [at] howtojs.org

Latest Articles
howtojs | All Rights Reserved © 2019
Proudly published with Ghost