x-is-object

JSON →
library 0.1.0 ·javascript abandoned
verified May 27, 2026

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.

total hits 11
actors 5 distinct systems
last hit 1d ago AhrefsBot
GPTBot
5
Script
1
Search engines
1

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany