gopd

v1.0.1
`Object.getOwnPropertyDescriptor`, but accounts for IE's broken implementation.
ecmascript javascript getownpropertydescriptor property descriptor

prepack

npmignore --auto --commentLines=autogenerated

prepublishOnly

safe-publish-latest

prepublish

not-in-publish || npm run prepublishOnly

lint

eslint --ext=js,mjs .

postlint

evalmd README.md

pretest

npm run lint

tests-only

tape 'test/**/*.js'

test

npm run tests-only

posttest

aud --production

version

auto-changelog && git add CHANGELOG.md

postversion

auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f "v$(node -e "console.log(require('./package.json').version)")"
npm i gopd

Metadata

  • MIT
  • Whatever
  • Jordan Harband
  • released 11/2/2022

Downloads

Maintainers