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

babel-preset-nodely

Package Overview
Dependencies
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-preset-nodely

Babel preset used by nodely.

  • 0.4.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
decreased by-73.33%
Maintainers
2
Weekly downloads
 
Created
Source

babel-preset-nodely NPM Coverage

Babel preset used by nodely.

Table of Contents

Installation

npm

npm install babel-preset-nodely

yarn

yarn add babel-preset-nodely

Documentation

To use this preset simply include it in your Babel configuration for example:

.babelrc

{
  "presets": ["nodely"]
}

Loose mode

By default this preset will enable loose mode but you can turn it off like so:

{
  "presets": [
    [
      "nodely",
      {
        "loose": false
      }
    ]
  ]
}

Targets

Your build can target a specific minimum Node version:

{
  "presets": [
    [
      "nodely",
      {
        "targets": {
          "node": 8
        }
      }
    ]
  ]
}

Your build can also target certain browser support:

{
  "presets": [
    [
      "nodely",
      {
        "targets": {
          "browsers": ["last 2 versions", "ie10"],
        }
      }
    ]
  ]
}

Code of Conduct

Please see the code of conduct.

Contributing

Please see the contributing guide.

License

MIT

Keywords

FAQs

Package last updated on 01 Jun 2021

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