Socket
Socket
Sign inDemoInstall

@sector-labs/lingui-babel-plugin-transform-js

Package Overview
Dependencies
Maintainers
6
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sector-labs/lingui-babel-plugin-transform-js

Transform lingui-i18n methods to ICU message format


Version published
Weekly downloads
20
increased by566.67%
Maintainers
6
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 09 Dec 2019

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