Socket
Book a DemoInstallSign in
Socket

i18n-processor

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

i18n-processor

一个用于处理 React 项目国际化的命令行工具

1.0.5
latest
Source
npmnpm
Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

i18n-processor

一个用于处理 React 项目国际化的命令行工具,支持 AST 和正则表达式两种处理模式。

特性

  • 支持 AST 和正则表达式两种处理模式
  • 支持处理 .js、.jsx、.ts、.tsx 文件
  • 支持批量处理整个目录
  • 支持自定义输出目录
  • 支持变量插值的国际化处理

安装

npm install -g i18n-processor

使用

i18n-processor --help

选项

  • -f, --file <file>: 指定要处理的文件或目录
  • -d, --dir <directory>: '要处理的目录路径
  • -o, --output <output>: 指定输出目录,默认为当前目录

Keywords

i18n

FAQs

Package last updated on 03 Jun 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.