Socket
Socket
Sign inDemoInstall

@babel/plugin-transform-unicode-property-regex

Package Overview
Dependencies
Maintainers
4
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/plugin-transform-unicode-property-regex

Compile Unicode property escapes in Unicode regular expressions to ES5.


Version published
Weekly downloads
3.2M
decreased by-79.87%
Maintainers
4
Weekly downloads
 
Created

What is @babel/plugin-transform-unicode-property-regex?

The @babel/plugin-transform-unicode-property-regex package is a plugin for Babel, a JavaScript compiler, that transforms Unicode property escapes in regular expressions into a set of Unicode code points, allowing developers to write more readable and maintainable regular expressions for Unicode characters. This plugin is especially useful when targeting environments that do not support the latest ECMAScript standards.

What are @babel/plugin-transform-unicode-property-regex's main functionalities?

Transform Unicode Property Escapes

This code sample demonstrates how a Unicode property escape for matching any character in the Greek script is transformed into a regular expression that matches the equivalent set of Unicode code points.

/\p{Script=Greek}/u

Other packages similar to @babel/plugin-transform-unicode-property-regex

Keywords

FAQs

Package last updated on 27 May 2023

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc