Skip to content
JS
Package

react-text-mask

React input component that accepts mask pattern

v5.5.0, 1 Oct 2022UnlicenseCommonJSTypes: NoneReact
$ npm install react-text-mask

Key numbers

As of 25 Sept 2026
Weekly downloads
341.2k
+7% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
3 years ago
v5.5.0
GitHub stars
8.2k
815 forks
Open issues / PRs
267 / 64
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
0200k400k600kSept 2025Mar 2026Sept 2026High 517.1k (18 Aug 2026)Low 159.4k (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.

341,168 downloads last week, 1,748,935 in the last month. The 12-month change of +7% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
049 in total
Latest version
5.5.0, 1 Oct 20223 years ago
First published
30 May 2016
Last push to GitHub
26 May 2025486 days before the snapshot
Repository archived
No
Open issues
267
Open pull requests
64
Commits, last 52 weeks
0
Dependents on npm
800

Major versions

  1. v5 first release 5.0.0, 15 Apr 2017
  2. v4 first release 4.0.0, 31 Mar 2017
  3. v3 first release 3.0.0, 22 Mar 2017
  4. v2 first release 2.0.0, 25 Feb 2017
  5. v1 first release 1.0.0, 18 Feb 2017
  6. v0 first release 0.0.1, 30 May 2016

Recent releases

VersionPublished
5.5.01 Oct 2022
5.4.325 Jul 2018
5.4.214 Jun 2018
5.4.17 May 2018
5.4.029 Apr 2018
5.3.227 Apr 2018
5.3.120 Apr 2018
5.3.05 Apr 2018
5.2.121 Mar 2018
5.2.015 Mar 2018
5.1.07 Jan 2018
5.0.212 May 2017
5.0.118 Apr 2017
5.0.015 Apr 2017
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
48 kB
Dependencies (1)
prop-types
Peer dependencies (1)
react
npm install react-text-mask
  • jsDelivrhttps://cdn.jsdelivr.net/npm/react-text-mask@5.5.0/
  • unpkghttps://unpkg.com/react-text-mask@5.5.0/
  • esm.shhttps://esm.sh/react-text-mask@5.5.0
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.