Big update!Announcing Socket for GitHub 1.0. Learn more
Socket
BlogLoveFAQ
Install
Log in

babel-preset-current-node-syntax

Package Overview
Dependencies
12
Maintainers
1
Versions
8
Issues
File Explorer

Advanced tools

babel-preset-current-node-syntax

A Babel preset that enables parsing of proposals supported by the current Node.js version.

    1.0.1latest

Version published
Maintainers
1
Weekly downloads
13,686,655
decreased by-3.56%

Weekly downloads

Readme

Source

babel-preset-current-node-syntax

A Babel preset that enables parsing of proposals supported by the current Node.js version.

Installation

If you are using yarn:

yarn add --dev babel-preset-current-node-syntax

If you are using npm:

npm install --save-dev babel-preset-current-node-syntax

Contributing

PRs are welcome! The codebase is so small that I didn't setup a linter, but try to match the style of the existing code.

You can run tests with the following command:

yarn node test/index.js

The test/fixtures.json file contains a bunch of syntax tests, alongside with the minimum supported node version for each of them. Babel should throw on older versions, without support for that given syntax. All the tests are run using @babel/[email protected].

FAQs

What is babel-preset-current-node-syntax?

A Babel preset that enables parsing of proposals supported by the current Node.js version.

Is babel-preset-current-node-syntax popular?

The npm package babel-preset-current-node-syntax receives a total of 11,081,780 weekly downloads. As such, babel-preset-current-node-syntax popularity was classified as popular.

Is babel-preset-current-node-syntax well maintained?

We found that babel-preset-current-node-syntax demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.It has 1 open source maintainer collaborating on the project.

Last updated on 15 Dec 2020
Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc