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

@babel/plugin-syntax-numeric-separator

Package Overview
Dependencies
Maintainers
5
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/plugin-syntax-numeric-separator

Allow parsing of Decimal, Binary, Hex and Octal literals that contain a Numeric Literal Separator

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

Version published
Maintainers
5
Created

What is @babel/plugin-syntax-numeric-separator?

The @babel/plugin-syntax-numeric-separator package allows Babel to parse JavaScript code that uses the numeric separator feature. This feature enables developers to make their numeric literals more readable by creating a visual separation between groups of digits, similar to how commas or spaces are used in human-readable numbers.

What are @babel/plugin-syntax-numeric-separator's main functionalities?

Parsing Numeric Literals with Underscore Separators

This feature allows developers to include underscores in numeric literals as separators to enhance readability without affecting the underlying value.

1000000 // without numeric separator
1_000_000 // with numeric separator

Other packages similar to @babel/plugin-syntax-numeric-separator

Keywords

FAQs

Package last updated on 23 Apr 2018

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