ether-admin/node_modules/gopd
chiguyong eb399474f4 init: ether-admin frontend project
- Vue3 + TypeScript + Ant Design Vue
- Auth, User, Role, Project management pages
- Pinia state management
- Vue Router with auth guard
2026-03-19 09:28:30 +08:00
..
.github init: ether-admin frontend project 2026-03-19 09:28:30 +08:00
test init: ether-admin frontend project 2026-03-19 09:28:30 +08:00
.eslintrc init: ether-admin frontend project 2026-03-19 09:28:30 +08:00
CHANGELOG.md init: ether-admin frontend project 2026-03-19 09:28:30 +08:00
LICENSE init: ether-admin frontend project 2026-03-19 09:28:30 +08:00
README.md init: ether-admin frontend project 2026-03-19 09:28:30 +08:00
gOPD.d.ts init: ether-admin frontend project 2026-03-19 09:28:30 +08:00
gOPD.js init: ether-admin frontend project 2026-03-19 09:28:30 +08:00
index.d.ts init: ether-admin frontend project 2026-03-19 09:28:30 +08:00
index.js init: ether-admin frontend project 2026-03-19 09:28:30 +08:00
package.json init: ether-admin frontend project 2026-03-19 09:28:30 +08:00
tsconfig.json init: ether-admin frontend project 2026-03-19 09:28:30 +08:00

README.md

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');
}