Package
@sniptt/guards
Comprehensive collection of type guards for JavaScript and TypeScript; Inspired by Elixir
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 37.2k
- - over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 5 years ago
- v0.2.0
- GitHub stars
- 188
- 5 forks
- Open issues / PRs
- 0 / 5
- Contributors
- -
- Commits, last 52 weeks
- 0
No weekly download data in the snapshot.
37,228 downloads last week, 199,506 in the last month. No 52-week series has been fetched yet.
- Releases, last 12 months
- -
- Latest version
- 0.2.0, 26 Jul 20215 years ago
- First published
- -
- Last push to GitHub
- 4 Mar 20231,300 days before the snapshot
- Repository archived
- No
- Open issues
- 0
- Open pull requests
- 5
- Commits, last 52 weeks
- 0
- Dependents on npm
- 13
Major versions
-
Recent releases
-
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- >=14
- Runtimes
- -
- Unpacked size (npm)
- 23 kB
- Dependencies (0)
- None
npm install @sniptt/guards- jsDelivr
https://cdn.jsdelivr.net/npm/@sniptt/guards@0.2.0/ - unpkg
https://unpkg.com/@sniptt/guards@0.2.0/ - esm.sh
https://esm.sh/@sniptt/guards@0.2.0
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| link-exists | 12.8k | - | 5 months ago | ESM + CommonJS | - |
| bun-types | 11.4m | - | 19 days ago | - | - |
| heap-js | 6.3m | - | 11 months ago | ESM + CommonJS | - |
| grammy | 3.8m | - | 29 days ago | CommonJS | - |
| @clickhouse/client | 2.3m | - | 2 months ago | CommonJS | - |
| inversify | 1.9m | - | 2 months ago | ESM only | - |
| @inversifyjs/core | 1.1m | - | 2 months ago | ESM only | - |
| @inversifyjs/reflect-metadata-utils | 1.1m | - | 6 months ago | ESM only | - |
Indexability: Indexed.