Skip to content
JS
Package

is2

A type checking library where each exported function returns either true or false and does not throw. Also added tests.

v2.0.9, 8 Sept 2022MITCommonJSTypes: Bundled
$ npm install is2

Key numbers

As of 25 Sept 2026
Weekly downloads
3.4m
+101% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
3
Direct, from package.json
Last release
4 years ago
v2.0.9
GitHub stars
10
4 forks
Open issues / PRs
2 / 2
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
02m4m6mSept 2025Mar 2026Sept 2026High 5.1m (25 Aug 2026)Low 1.3m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

3,438,479 downloads last week, 17,842,183 in the last month. The 12-month change of +101% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
030 in total
Latest version
2.0.9, 8 Sept 20224 years ago
First published
17 Feb 2013
Last push to GitHub
30 Dec 20221,364 days before the snapshot
Repository archived
No
Open issues
2
Open pull requests
2
Commits, last 52 weeks
0
Dependents on npm
80

Major versions

  1. v2 first release 2.0.0, 20 Feb 2018
  2. v1 first release 1.0.0, 13 Oct 2015
  3. v0 first release 0.0.1, 17 Feb 2013

Recent releases

VersionPublished
2.0.98 Sept 2022
2.0.88 Sept 2022
2.0.78 May 2021
2.0.614 Aug 2020
2.0.415 May 2019
2.0.126 Feb 2018
2.0.020 Feb 2018
1.0.915 Jul 2016
1.0.810 Jun 2016
1.0.79 Jun 2016
1.0.69 Jun 2016
1.0.58 Jun 2016
1.0.428 Apr 2016
1.0.324 Apr 2016
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=v0.10.0
Runtimes
-
Unpacked size (npm)
173 kB
Dependencies (3)
is-urldeep-isip-regex
npm install is2
  • jsDelivrhttps://cdn.jsdelivr.net/npm/is2@2.0.9/
  • unpkghttps://unpkg.com/is2@2.0.9/
  • esm.shhttps://esm.sh/is2@2.0.9
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.