Socket
Book a DemoInstallSign in
Socket

babel-plugin-modules-regexp

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-modules-regexp

Babel plugin to apply a regexp on module names

1.0.0
latest
Source
npmnpm
Version published
Weekly downloads
6
-25%
Maintainers
1
Weekly downloads
 
Created
Source

babel-plugin-modules-regexp

Build Status GitHub version NPM version Dependency Status codecov Greenkeeper badge

Information

NPM

Motivation

Bypass framework limitation to configure babel options like getModuleId.

This plugin injects a regexp to replace default module names.

Usage

{
  "plugins": [
    ["babel-plugin-modules-regexp", {
      regexp: '(foo)',
      substr: 'test/$1'
    }]
  ]
}

Contributing

We're thankful to the community for contributing any improvements.

Do not forget to follow our eslint rules and make tests for the new functionalities/fixes.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

See the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

FAQs

Package last updated on 17 Apr 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

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.