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

babel-preset-silk-node6

Package Overview
Dependencies
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-preset-silk-node6

A very fast loading babel preset for node

  • 1.14.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-85.71%
Maintainers
2
Weekly downloads
 
Created
Source

Silk Babel Preset (Node 6)

This is a flattened babel-preset for node 6.x LTS ...

This project does not ship with the entire set of babel plugins as npm dependencies instead it flattens all the dependencies into a single fast loading file (built /w webpack).

Performance differences?

Babel performs a relatively complex preset merging process which adds overhead (it needs to require each preset then all the plugins) in production this added up to about 3s of overhead in our usage.

Part of this slowness is related to the lack of advanced deduping in npm2 (which we are still currently pinned to) but gains can be seen even using npm3 on vanilla stage-0 install (1.01s vs 1.8s to boot babel-node).

How to build:

  1. Run npm run compile
  2. Check in index.js to source tree
  3. Ignore/revert changes to package.json

LICENSE

MIT

Keywords

FAQs

Package last updated on 08 Sep 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

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