@zainulbr/i18n-webpack-plugin weekly downloads statistics
By zainulbr · npm · Webpack plugins
Rewrite original embed localization into your bundle with support webpack 5
@zainulbr/i18n-webpack-plugin has 600 recorded weekly downloads on npm, a decrease of 61.8% over the past 30 days, ranking #1561 of 2,391 tracked listings.
About @zainulbr/i18n-webpack-plugin
npm
npm i -D @zainulbr/i18n-webpack-plugin
yarn
yarn add -D @zainulbr/i18n-webpack-plugin
<h2 align="center">Usage</h2>
This plugin creates bundles with translations baked in. So you can serve the translated bundle to your clients. Example:
console.log(__("Hello World"));
console.log(__("Missing Text"));
var path = require("path");
var I18nPlugin = require("@zainulbr/i18n-webpack-plugin");
var languages = {
"en": null,
"de": require("./de.json")
};
module.exports = Object.keys(languages).map(function(language) {
return {
name: language,
// mode: "development || "production",
entry: "./example",
output: {
path: path.join(__dirname, "dist"),
filename: language + ".output.js"
},
plugins: [
new I18nPlugin(
languages[language]
)
]
};
});
{
"Hello World": "Hallo Welt"
}
current example. original example from un maintenance repo
<h2 align="center">Options</h2>plugins: [
...
new I18nPlugin(languageConfig, optionsObj)
],
optionsObj.functionName: the default value is__, you can change it to other function name.optionsObj.failOnMissing: the default value isfalse, which will show a warning message, if the mapping text cannot be found. If set totrue, the message will be an error message.optionsObj.hideMessage: the default value isfalse, which will show the warning/error message. If set totrue, the message will be hidden.optionsObj.nested: the default value isfalse. If set totrue, the keys inlanguageConfigcan be nested. This option is interpreted only iflanguageConfigisn't a function.
Description from the npm listing.
- i18n
- webpack-plugin
- i18n-webpack-plugin
- webpack
- webpack5
- translation
- internationalization
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
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.
Each band is one page of 20. Weekly downloads on a linear 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.
Recent observations
Full history (544)Similar npm Webpack plugins plugins
All 20 @zainulbr/i18n-webpack-plugin alternativesData 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/@zainulbr/i18n-webpack-plugin. First seen Oct 16, 2026; last successful collection Oct 21, 2026. See the methodology.