Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@lingui/babel-plugin-transform-js

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lingui/babel-plugin-transform-js

Transform lingui-i18n methods to ICU message format

  • 2.9.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
8.4K
increased by11.65%
Maintainers
1
Weekly downloads
 
Created
Source

License Version Downloads

@lingui/babel-plugin-transform-js

Babel plugin which transforms messages written using lingui-i18n functions to static ICU MessageFormat.

@lingui/babel-plugin-transform-js is part of LinguiJS. See the documentation for all information, tutorials and examples.

Installation

npm install --save-dev @lingui/babel-plugin-transform-js
# yarn add --dev @lingui/babel-plugin-transform-js

Usage

.babelrc

{
  "plugins": ["@lingui/babel-plugin-transform-js"]
}

Via CLI

babel --plugins @lingui/babel-plugin-transform-js script.js

Via Node API

require("@babel/core").transform("code", {
  plugins: ["@lingui/babel-plugin-transform-js"]
})

License

MIT

Keywords

FAQs

Package last updated on 11 Sep 2020

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc