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

@babel/plugin-syntax-bigint

Package Overview
Dependencies
Maintainers
5
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/plugin-syntax-bigint

Allow parsing of BigInt literals

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

Version published
Weekly downloads
20M
decreased by-4.38%
Maintainers
5
Weekly downloads
 
Created

What is @babel/plugin-syntax-bigint?

The @babel/plugin-syntax-bigint package allows Babel to parse code that contains the BigInt syntax. BigInt is a built-in object in JavaScript that provides a way to represent whole numbers larger than 2^53 - 1, which is the largest number JavaScript can reliably represent with the Number primitive. This plugin does not transform BigInt syntax, it only enables the parsing of it.

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

BigInt Syntax Parsing

This code demonstrates how a BigInt value is defined using the 'n' suffix. The plugin allows Babel to understand this syntax when parsing the code.

const bigIntValue = 123n;

Other packages similar to @babel/plugin-syntax-bigint

Keywords

FAQs

Package last updated on 09 Aug 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