sindresorhus

is-obj

Check if a value is an object

by sindresorhus

JavaScript

JavaScript80.2%
TypeScript19.8%

Commit activity

Last 12 weeks · 1 commit

Full graph →

Community health

4 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template
pablodegrande

Another module used require to include is-obj, and that broke compilation. I had to remove type: module from is-obj's package.json and migrate the code to: module.exports = function(value) { const type = typeof value; return value !== null && (type === 'object' type === 'function'); } are you planning to apply this change? it would be nice, as under node 13 otherwise is-obj compiles as an ES module, and breaks compiling.

pablodegrande · 5y ago
hzdorian

update to es5, emmmm, it's fucking..

hzdorian · 6y ago
Structured data for AI agents

Repository: sindresorhus/is-obj. Description: Check if a value is an object Stars: 42, Forks: 9. Primary language: JavaScript. Languages: JavaScript (80.2%), TypeScript (19.8%). License: MIT. Latest release: v3.0.0 (5y ago). Open PRs: 0, open issues: 0. Last activity: 1mo ago. Community health: 85%. Top contributors: sindresorhus, gillstrom, coreyfarrell, BendingBender, Richienb.