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

active-cache-babel-register

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

active-cache-babel-register

alternative babel-register improves performance and supports multi-process

  • 0.1.0
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

active-cache-babel-register

npm version Build Status Coverage Status

active-cache-babel-register improves performance of babel transpilation using cache actively.

Cache Strategy

  • babel finds config files and load these files every startup time, active-cache-babel-register set the config files to cache registry.
  • babel-register does not support multi-process cache like cluster/child_process, active-cache-babel-register has 2 cache stores, 1st cache store is original one, 2nd cache store can be used in multi-process
  • active-cache-babel-register purges cache if babel-version/.babelrc/package.json/.babelignore and target files are changed

Performance

babel-register
Total duration time: 18170ms

active-cache-babel-register
Total duration time: 5122ms

Usage

usage is almost same to babel-register.

$ npm install actice-cache-babel-register
$ node --require active-cache-babel-register foo.js

Keywords

FAQs

Package last updated on 23 Jun 2016

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