x-is-object
JSON →The `x-is-object` package provides a minimalist utility function designed to determine if a given JavaScript value is a 'proper object'. This specifically means it checks if the value inherits from `Object` while explicitly excluding `null`, which the standard `typeof value === 'object'` incorrectly classifies as an object. It correctly identifies plain objects, arrays, regular expressions, functions, dates, and wrapped primitives as objects. Currently at version 0.1.0, this package appears to be an older, largely unmaintained project. Its release cadence is effectively non-existent, and there's no indication of active development or planned updates. Key differentiators include its extreme simplicity and its clear, specific definition of what constitutes an object by explicitly excluding `null`, making it a focused alternative to more comprehensive type-checking libraries. It primarily targets CommonJS environments.
Traffic · last 30 days ↓86% vs prev 7d
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany