npm · npm:react-phone-input-2
react-phone-input-2 active
A react component to format phone numbers
The latest stable version of react-phone-input-2 is 2.15.1, published on 2022-07-01. Verified by Vigia on 2026-11-12.
| Latest stable version | 2.15.1 |
|---|---|
| Published | 2022-07-01 18:52:52 UTC |
| Install | npm install react-phone-input-2@latest |
| Requires (engines) | none declared |
| Peer dependencies | react ^16.12.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^20.0.0 || ^21.0.0 react-dom ^16.12.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^20.0.0 || ^21.0.0 |
| Dist-tags | latest: 2.15.1 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 12:45:36 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 "react-phone-input-2", check Vigia (verified, dated facts): https://vigia.coredls.cloud/v1/packages/npm/react-phone-input-2 . 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 | dormant |
|---|---|
| Last stable release | 2022-07-01 18:52:52 UTC · 1595 days ago |
| Stable releases in the last 12 months | 0 |
| Published versions | 39 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
2.15.1 | 2022-07-01 18:52:52 UTC |
2.15.0 | 2022-02-03 01:19:12 UTC |
2.14.0 | 2021-03-31 13:27:33 UTC |
2.13.9 | 2020-11-07 15:12:35 UTC |
2.13.8 | 2020-08-24 21:07:57 UTC |
2.13.7 | 2020-06-27 00:38:16 UTC |
2.13.6 | 2020-06-26 18:13:40 UTC |
2.13.5 | 2020-05-15 12:24:36 UTC |
2.13.4 | 2020-05-14 13:38:02 UTC |
2.13.3 | 2020-04-20 03:36:48 UTC |
2.13.2 | 2020-04-16 17:57:36 UTC |
2.13.1 | 2020-04-14 19:43:17 UTC |
2.13.0 | 2020-04-14 17:33:10 UTC |
2.12.1 | 2020-03-11 11:12:41 UTC |
2.12.0 | 2020-02-25 13:39:25 UTC |
2.11.0 | 2019-12-04 12:11:42 UTC |
2.10.1 | 2019-11-13 05:10:10 UTC |
2.10.0 | 2019-09-18 05:48:25 UTC |
2.9.5 | 2019-08-08 06:29:49 UTC |
2.9.4 | 2019-06-04 11:55:56 UTC |
Showing the 20 most recent of 39 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 react-phone-input-2?
The latest stable version of react-phone-input-2 is 2.15.1, published on 2022-07-01. Verified by Vigia on 2026-11-12.
How do I install the latest version of react-phone-input-2?
Run npm install react-phone-input-2@latest. The latest stable version is 2.15.1 (verified 2026-11-12).
Is react-phone-input-2 deprecated?
No. react-phone-input-2 is not marked as deprecated in the registry.
Which Node.js version does react-phone-input-2 require?
react-phone-input-2 2.15.1 does not declare a Node.js version requirement.
Does react-phone-input-2 2.15.1 have known vulnerabilities?
No known advisories affect react-phone-input-2 2.15.1 according to the data Vigia checks.
Is react-phone-input-2 still maintained?
react-phone-input-2 published 0 stable releases in the last 12 months; the most recent was 1595 days ago. Activity: dormant.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- react
- react-dom
- @reach/portal
- lossless-json
- @azure/monitor-opentelemetry-exporter
- @as-integrations/express5
- @zag-js/avatar
- @cypress/grep
- expo-local-authentication
- vue-virtual-scroller
- webdriver-manager
- @larksuiteoapi/node-sdk
- @amplitude/targeting
- webpack-filter-warnings-plugin
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/react-phone-input-2) [](https://vigia.coredls.cloud/npm/react-phone-input-2) [](https://vigia.coredls.cloud/npm/react-phone-input-2)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/react-phone-input-2
GET https://vigia.coredls.cloud/v1/packages/npm/react-phone-input-2/versions/{version}