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

babel-plugin-transform-es2015-unicode-regex

Package Overview
Dependencies
Maintainers
5
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-transform-es2015-unicode-regex

Compile ES2015 Unicode regex to ES5

  • 7.0.0-beta.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.7M
increased by3.47%
Maintainers
5
Weekly downloads
 
Created

What is babel-plugin-transform-es2015-unicode-regex?

The babel-plugin-transform-es2015-unicode-regex package is a Babel plugin that transforms ES2015 Unicode regexes into equivalent ES5 regexes. This allows developers to use Unicode regex features in environments that do not natively support them.

What are babel-plugin-transform-es2015-unicode-regex's main functionalities?

Transform Unicode Regex

This feature allows you to write Unicode regex patterns using the ES2015 syntax and have them transformed into equivalent ES5-compatible regex patterns. This is useful for ensuring compatibility across different JavaScript environments.

const regex = /\u{1F4A9}/u; // ES2015 Unicode regex
const transformedRegex = new RegExp('\\u{1F4A9}', 'u'); // Transformed to ES5 compatible regex

Other packages similar to babel-plugin-transform-es2015-unicode-regex

Keywords

FAQs

Package last updated on 12 Sep 2017

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