Permalink
Browse files

Merge branch 'master' of github.com:leadVisionary/emptyObject

  • Loading branch information...
2 parents 3831262 + 69ebbb4 commit 9e64fae9da04a437948cef2a123c7636bd6591cc @leadVisionary committed May 15, 2012
Showing with 15 additions and 1 deletion.
  1. +15 −1 README.md
View
@@ -1,4 +1,18 @@
emptyObject
===========
-A simple empty object microlib for Node (for those times when _ is too heavyweight)
+A simple empty object microlib for Node (for those times when _ is too heavyweight)
+
+Usage (in Javascript)
+============
+```javascript
+emp = require('emptyObject')
+
+if({}.isEmpty()){
+ console.log("Yep, it worked");
+}
+else
+{
+ console.log("It didn't work!");
+}
+```

0 comments on commit 9e64fae

Please sign in to comment.