npm · npm:restricted-input
restricted-input active
Restrict inputs to certain valid characters (e.g. formatting phone or card numbers)
The latest stable version of restricted-input is 4.2.0, published on 2026-03-04. Verified by Vigia on 2026-11-12.
| Latest stable version | 4.2.0 |
|---|---|
| Published | 2026-03-04 20:29:57 UTC |
| Install | npm install restricted-input@latest |
| Requires (engines) | none declared |
| Peer dependencies | — |
| Dist-tags | latest: 4.2.0 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 13:02:26 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Ask your AI assistant to check this
AI models are trained up to a date, so they can be wrong about versions, deprecations and vulnerabilities. Paste this into Claude, ChatGPT, Perplexity or Cursor and it will answer with the verified data on this page:
Before answering about the npm package "restricted-input", check Vigia (verified, dated facts): https://vigia.coredls.cloud/v1/packages/npm/restricted-input . For my whole project use https://vigia.coredls.cloud/context
Using an AI coding agent every day? Connect Vigia once and it checks this by itself.
Maintenance
| Activity | slowing down |
|---|---|
| Last stable release | 2026-03-04 20:29:57 UTC · 253 days ago |
| Stable releases in the last 12 months | 1 |
| Published versions | 42 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
4.2.0 | 2026-03-04 20:29:57 UTC |
4.1.4 | 2025-02-26 16:40:25 UTC |
4.1.3 | 2025-02-25 21:06:24 UTC |
4.1.2 | 2025-02-25 16:35:44 UTC |
4.1.1 | 2025-02-24 21:52:33 UTC |
4.1.0 | 2025-02-21 17:17:34 UTC |
4.0.3 | 2025-01-30 16:02:56 UTC |
4.0.2 | 2024-12-17 22:07:03 UTC |
4.0.1 | 2024-04-10 17:18:48 UTC |
4.0.0 | 2023-12-05 17:07:02 UTC |
3.0.5 | 2022-03-18 19:34:30 UTC |
3.0.4 | 2021-06-25 19:29:39 UTC |
3.0.3 | 2020-08-19 20:54:17 UTC |
3.0.2 | 2020-07-30 19:15:48 UTC |
3.0.1 | 2020-07-10 21:26:56 UTC |
3.0.0 | 2020-07-10 15:07:32 UTC |
2.1.1 | 2020-07-02 13:36:42 UTC |
2.1.0 | 2019-10-21 20:09:46 UTC |
2.0.2 | 2019-08-13 16:23:09 UTC |
2.0.1 | 2019-05-21 18:16:43 UTC |
Showing the 20 most recent of 42 versions. JSON
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of restricted-input?
The latest stable version of restricted-input is 4.2.0, published on 2026-03-04. Verified by Vigia on 2026-11-12.
How do I install the latest version of restricted-input?
Run npm install restricted-input@latest. The latest stable version is 4.2.0 (verified 2026-11-12).
Is restricted-input deprecated?
No. restricted-input is not marked as deprecated in the registry.
Which Node.js version does restricted-input require?
restricted-input 4.2.0 does not declare a Node.js version requirement.
Does restricted-input 4.2.0 have known vulnerabilities?
No known advisories affect restricted-input 4.2.0 according to the data Vigia checks.
Is restricted-input still maintained?
restricted-input published 1 stable releases in the last 12 months; the most recent was 253 days ago. Activity: slowing down.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- inputmask
- conventional-changelog-cli
- discord.js
- wistia-video-element
- @material/dialog
- markdownlint-micromark
- @storybook/addon-storysource
- @stdlib/number-float64-base-exponent
- yet-another-react-lightbox
- @node-saml/passport-saml
- @salesforce/apex-node
- @wojtekmaj/enzyme-adapter-react-17
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/restricted-input) [](https://vigia.coredls.cloud/npm/restricted-input) [](https://vigia.coredls.cloud/npm/restricted-input)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/restricted-input
GET https://vigia.coredls.cloud/v1/packages/npm/restricted-input/versions/{version}