On Sat, Jul 15, 2017 at 06:14:30PM +0530, Visakh S wrote: > ITP > * Package name : node-is-object > * URL : https://github.com/ljharb/is-object
Hi Visakh, A different implementation is already packaged in Debian as "node-isobject". The already-packaged implementation handles Arrays as an edge-case, and the ITP'd one doesn't. Already packaged node-isobject from https://github.com/jonschlinkert : return val != null && typeof val === 'object' && Array.isArray(val) === false; Suggested new node-is-object from https://github.com/ljharb/is-object : return typeof x === 'object' && x !== null; The difference is known and intentional. IMO having both packages with both methods called "isObject" seems likely to cause confusion, however I'm not a Node.js programmer. https://github.com/ljharb/is-object/issues/1 BR, Steve