is-number-object

v1.0.7
Is this value a JS Number object? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
Number ES6 toStringTag @@toStringTag Number object

prepublishOnly

safe-publish-latest

prepublish

not-in-publish || npm run prepublishOnly

pretest

npm run lint

tests-only

nyc tape 'test/**/*.js'

test:corejs

nyc tape test-corejs.js

test

npm run tests-only && npm run test:corejs

posttest

aud --production

prelint

eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\.git')

lint

eslint --ext=js,mjs .

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 is-number-object

Metadata

  • MIT
  • >= 0.4
  • Jordan Harband
  • released 4/2/2022

Downloads

Maintainers