A small npm package, “is-obj,” that checks whether a given value is an object in JavaScript. It returns true for values like arrays and functions (since they are objects), and false for non-objects like strings. Use it when you need basic object type checking, and use “is-plain-obj” if you specifically need plain objects.
Project status
- The upstream appears maintained but with no evidence of recent activity since v3.0.0 on 2021-04-16, and the last upstream push time is also 2021-04-16 19:05:44 UTC.
- Apparent update cadence is low, with updates at v2.0.0 (2019-04-19) and v3.0.0 (2021-04-16), suggesting a roughly multi-year interval between updates.
AI summary generated Today
Recent updates
v3.0.0
4/16/2021v3.0.0 updates is-obj to be pure ESM and raises the minimum supported Node.js version to 12. The main code change is the module export style (CommonJS module.exports to ESM default export), along with matching updates to the TypeScript declaration file and project/tooling configuration.
Breakingv2.0.0
4/19/2019Release v2.0.0 introduces TypeScript type definitions for the package. It also raises the minimum supported Node.js version, which may require updates to your runtime environment.
BreakingFeatures