Key numbers
As of 25 Sept 2026
- Weekly downloads
- 718.2k
- +109% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 1
- Direct, from package.json
- Last release
- 6 months ago
- v4.2.0
- GitHub stars
- 73
- 28 forks
- Open issues / PRs
- 0 / 5
- Contributors
- -
- Commits, last 52 weeks
- 44
Downloads
Last week 2026-09-15 to 2026-09-21
718,187 downloads last week, 3,586,223 in the last month. The 12-month change of +109% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 142 in total
- Latest version
- 4.2.0, 4 Mar 20266 months ago
- First published
- 27 May 2016
- Last push to GitHub
- 20 Jun 202696 days before the snapshot
- Repository archived
- No
- Open issues
- 0
- Open pull requests
- 5
- Commits, last 52 weeks
- 44
- Dependents on npm
- 12
Major versions
- v4 first release 4.0.0, 5 Dec 2023
- v3 first release 3.0.0, 10 Jul 2020
- v2 first release 2.0.0, 14 May 2019
- v1 first release 1.0.0, 27 May 2016
Recent releases
| Version | Published |
|---|---|
| 4.2.0 | 4 Mar 2026 |
| 4.1.4 | 26 Feb 2025 |
| 4.1.3 | 25 Feb 2025 |
| 4.1.2 | 25 Feb 2025 |
| 4.1.1 | 24 Feb 2025 |
| 4.1.0 | 21 Feb 2025 |
| 4.0.3 | 30 Jan 2025 |
| 4.0.2 | 17 Dec 2024 |
| 4.0.1 | 10 Apr 2024 |
| 4.0.0 | 5 Dec 2023 |
| 3.0.5 | 18 Mar 2022 |
| 3.0.4 | 25 Jun 2021 |
| 3.0.3 | 19 Aug 2020 |
| 3.0.2 | 30 Jul 2020 |
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 221 kB
- Dependencies (1)
@braintree/browser-detection
npm install restricted-input- jsDelivr
https://cdn.jsdelivr.net/npm/restricted-input@4.2.0/ - unpkg
https://unpkg.com/restricted-input@4.2.0/ - esm.sh
https://esm.sh/restricted-input@4.2.0
Indexability: Not indexed (discovery only): no category.