ml-model-loader/node_modules/gopd
Lilith 8f4a35ba79 chore: add publishConfig to prevent public npm publishing
All @lilith/* packages should publish to forge.nasty.sh only.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-03 00:42:23 -08:00
..
.github chore: add publishConfig to prevent public npm publishing 2026-01-03 00:42:23 -08:00
test chore: add publishConfig to prevent public npm publishing 2026-01-03 00:42:23 -08:00
.eslintrc chore: add publishConfig to prevent public npm publishing 2026-01-03 00:42:23 -08:00
CHANGELOG.md chore: add publishConfig to prevent public npm publishing 2026-01-03 00:42:23 -08:00
gOPD.d.ts chore: add publishConfig to prevent public npm publishing 2026-01-03 00:42:23 -08:00
gOPD.js chore: add publishConfig to prevent public npm publishing 2026-01-03 00:42:23 -08:00
index.d.ts chore: add publishConfig to prevent public npm publishing 2026-01-03 00:42:23 -08:00
index.js chore: add publishConfig to prevent public npm publishing 2026-01-03 00:42:23 -08:00
LICENSE chore: add publishConfig to prevent public npm publishing 2026-01-03 00:42:23 -08:00
package.json chore: add publishConfig to prevent public npm publishing 2026-01-03 00:42:23 -08:00
README.md chore: add publishConfig to prevent public npm publishing 2026-01-03 00:42:23 -08:00
tsconfig.json chore: add publishConfig to prevent public npm publishing 2026-01-03 00:42:23 -08:00

gopd Version Badge

github actions coverage License Downloads

npm badge

Object.getOwnPropertyDescriptor, but accounts for IE's broken implementation.

Usage

var gOPD = require('gopd');
var assert = require('assert');

if (gOPD) {
	assert.equal(typeof gOPD, 'function', 'descriptors supported');
	// use gOPD like Object.getOwnPropertyDescriptor here
} else {
	assert.ok(!gOPD, 'descriptors not supported');
}