Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
ES Module friendly fork of the definitive JavaScript type testing library.
To be or not to be? This is the library!
As a node.js module
$ npm install es-is --save
Due to limitations with bundlers, rather than import {isFunction} from 'es-is'
it's recommended that you import from module directly: import isFunction from 'es-is/function
. Hopefully as tree-shaking becomes more sophisticated, this
will become unnecessary.
is.a
(value, type) or is.type
(value, type)is.defined
(value)is.empty
(value)is.equal
(value, other)is.hosted
(value, host)is.instance
(value, constructor)is.instanceof
(value, constructor) - deprecated, because in ES3 browsers, "instanceof" is a reserved wordis.nil
(value)is.null
(value) - deprecated, because in ES3 browsers, "null" is a reserved wordis.undef
(value)is.undefined
(value) - deprecated, because in ES3 browsers, "undefined" is a reserved wordis.args
(value)is.arguments
(value) - deprecated, because "arguments" is a reserved wordis.args.empty
(value)is.array
(value)is.array.empty
(value)is.arraylike
(value)is.bool
(value)is.boolean
(value) - deprecated, because in ES3 browsers, "boolean" is a reserved wordis.false
(value) - deprecated, because in ES3 browsers, "false" is a reserved wordis.true
(value) - deprecated, because in ES3 browsers, "true" is a reserved wordis.date
(value)is.element
(value)is.error
(value)is.fn
(value)is.function
(value) - deprecated, because in ES3 browsers, "function" is a reserved wordis.number
(value)is.infinite
(value)is.decimal
(value)is.divisibleBy
(value, n)is.integer
(value)is.int
(value) - deprecated, because in ES3 browsers, "int" is a reserved wordis.maximum
(value, others)is.minimum
(value, others)is.nan
(value)is.even
(value)is.odd
(value)is.ge
(value, other)is.gt
(value, other)is.le
(value, other)is.lt
(value, other)is.within
(value, start, finish)is.object
(value)is.regexp
(value)is.string
(value)is.base64
(value)is.hex
(value)is.symbol
(value)FAQs
ES module friendly fork of the definitive JavaScript type testing library
The npm package es-is receives a total of 133 weekly downloads. As such, es-is popularity was classified as not popular.
We found that es-is demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.