📅 You're Invited: Meet the Socket team at RSAC (April 28 – May 1).RSVP
Socket
Sign inDemoInstall
Socket

babel-plugin-syntax-numeric-separator

Package Overview
Dependencies
Maintainers
1
Versions
14
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-alpha.11
latest
Source
npm
Version published
Weekly downloads
608
3.4%
Maintainers
1
Weekly downloads
 
Created
Source

babel-plugin-syntax-numeric-separator

Allow parsing of Numeric Literals (Decimal, Binary, Hex and Octal) that contain a NumericLiteralSeparator.

Installation

npm install --save-dev babel-plugin-syntax-numeric-separator

Usage

.babelrc

{
  "plugins": ["syntax-numeric-separator"]
}

Via CLI

babel --plugins syntax-numeric-separator script.js

Via Node API

require("babel-core").transform("code", {
  plugins: ["syntax-numeric-separator"]
});

Keywords

babel-plugin

FAQs

Package last updated on 31 May 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