eslint-plugin-react-google-translate weekly downloads statistics
By alistair-coup · npm · ESLint plugins
ESLint plugin to highlight code patterns in React applications which can lead to browser exceptions while the Google Translate browser extension is in use.
eslint-plugin-react-google-translate has 91,204 recorded weekly downloads on npm, a decrease of 28.2% over the past 30 days.
It ranks #465 of 2,256 tracked npm listings by weekly downloads.
Over 90 days, weekly downloads changed by -29.3%.
PluginStats has 121 daily observations since Jun 19, 2026; the latest is from Oct 17, 2026.
About eslint-plugin-react-google-translate
eslint-plugin-react-google-translate
ESLint plugin to highlight code patterns in React applications which can lead to browser exceptions while the Google Translate browser extension is in use. This is a common problem for React applications and a known issue to both React and Google.
When active on a page, the Google Translate browser extension is very liberal with its DOM manipulation, notably, replacing text nodes with font tags. This can be a problem for React applications as it can cause exceptions to be thrown when _conditionally_ rendering text nodes with siblings within JSX expressions.
Whilst many proposals have been suggested to avoid browser issues, this ESLint plugin aims to solve the problem far earlier in the development process by highlighting certain code patterns to the developer which can cause a browser exception to be thrown where Google Translate is in use.
Examples of code that can throw:
The safe way to write this code, avoiding browser exceptions, is to wrap each of the conditionally rendered text nodes (with siblings) in an element (for example, a ). Static text nodes with preceding conditionally rendered siblings must also be wrapped:
An additional problem identified is React components returning text nodes directly (or numerical values which will be rendered as text). When a React component returns values other than JSX / null, Google Translate can continue to display stale values after state changes, without any error being thrown. Since this is very hard to debug it is better to avoid it altogether.
Installation
Usage (ESLint 9+, flat config)
Use the recommended config to enable all rules:
Or configure the rules individually (Each rule can be treated as a warning if an error is deemed too strict.):
Usage (ESLint 8, legacy .eslintrc)
The plugin still works with older ESLint versions using the legacy config format. Add react-google-translate to the plugins section of your .eslintrc configuration file:
TypeScript
The plugin supports TypeScript and will use type information where available. Type-aware checks run _in addition_ to the standard pattern-based checks.
Where type information is unavailable (e.g. in JavaScript files or in Node versions earlier than 18.18), the plugin falls back to pattern matching only. This reduces coverage slightly, but the plugin will still catch most problematic patterns without types.
Description from the npm listing.
- eslint
- eslintplugin
- eslint-plugin
- google-translate
- react
Where eslint-plugin-react-google-translate sits in the listing
Each band is one page of 20. Weekly downloads on a log scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Recent observations
Full history (121)Similar npm ESLint plugins plugins
Data source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/eslint-plugin-react-google-translate. First seen Oct 16, 2026; last successful collection Oct 19, 2026. See the methodology.