Socket
Socket
Sign inDemoInstall

babelrc-v8

Package Overview
Dependencies
0
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    babelrc-v8

A collection of babelrcs for the v8 versions that ship with node.


Version published
Weekly downloads
14
increased by180%
Maintainers
1
Install size
6.79 kB
Created
Weekly downloads
 

Readme

Source

babelrc-v8

A collection of babelrcs for the v8 versions that ship with node.

Usage

The object returned by requiring this looks like:

{
  "3.11.10.17": "babelrc-v8-3-11-10-17",
  "3.28.71.19": "babelrc-v8-3-28-71-19",
…
}

The left hand side is a v8 version and the right hand side is a module that has the name of a module that will provide barebones babelrc for that version of v8. Using a babelrc matching the v8 version will give you code as close to what you wrote as is possible– possibly with no changes at all if you don't use any features that are unsupported by your version of v8.

If you want the path of one of these babelrcs, suitable to passing to babel --babelrc:

var pathToBabelrc = require.resolve('babelrc-v8/babelrcs/babelrc-v8-3-11-10-17')

FAQs

Last updated on 01 Nov 2015

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc