Socket
Socket
Sign inDemoInstall

babel-preset-lingui-js

Package Overview
Dependencies
4
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    babel-preset-lingui-js

Lingui preset for Javascript apps


Version published
Weekly downloads
2
Maintainers
1
Created
Weekly downloads
 

Readme

Source

License Version Downloads

babel-preset-lingui-js

Babel preset for all Lingui plugins required in vanilla JS apps (for React apps see babel-preset-lingui-react).

babel-preset-lingui-js is part of js-lingui. See the documentation for all information, tutorials and examples.

Installation

yarn add --dev babel-preset-lingui-js
# npm install --save-dev babel-preset-lingui-js

Usage

.babelrc

{
  "presets": ["lingui-js"]
}

Via CLI

babel script.js --presets lingui-js

Via Node API

require("babel-core").transform("code", {
  presets: ["lingui-js"]
});

License

MIT

Keywords

FAQs

Last updated on 28 Aug 2017

Did you know?

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc