Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit 9e64fae9da04a437948cef2a123c7636bd6591cc 2 parents 3831262 + 69ebbb4
@leadVisionary authored
Showing with 15 additions and 1 deletion.
  1. +15 −1 README.md
View
16 README.md
@@ -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!");
+}
+```
Please sign in to comment.
Something went wrong with that request. Please try again.