[Pkg-javascript-commits] [node-is-obj] 06/08: Add extended description

Ross Gammon ross-guest at moszumanska.debian.org
Tue Jan 31 18:42:49 UTC 2017


This is an automated email from the git hooks/post-receive script.

ross-guest pushed a commit to branch master
in repository node-is-obj.

commit 97ef6c7ee6d2c99b36ed5da3b6821a714a1701e0
Author: Gaurav Juvekar <gauravjuvekar at gmail.com>
Date:   Sat Jan 7 12:24:27 2017 +0530

    Add extended description
---
 debian/control | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/debian/control b/debian/control
index b36036e..96afc5c 100644
--- a/debian/control
+++ b/debian/control
@@ -18,5 +18,13 @@ Depends:
  ${misc:Depends}
  , nodejs
 Description: Check if a value is an object
+ Usage:
+ const isObj = require('is-obj');
+ isObj({foo: 'bar'});
+ //=> true
+ isObj([1, 2, 3]);
+ //=> true
+ isObj('foo');
+ //=> false
  .
  Node.js is an event-based server-side JavaScript engine.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-is-obj.git



More information about the Pkg-javascript-commits mailing list