🚀. Socket Launch Week Day 2:Introducing Manifest Alerts.Learn more
Sign In

wtranspilationstrategy

Package Overview
Dependencies
Maintainers
1
Versions
156
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wtranspilationstrategy

Aggregator of strategies to transpile JS code. It provides unified programmatic and CL interfaces to transpile/optimize/minimize/beautify code by one or several transpilers in series. More strategies could be added as plugins. Default options of transpila

latest
Source
npmnpm
Version
0.3.91
Version published
Weekly downloads
14
-91.3%
Maintainers
1
Weekly downloads
 
Created
Source

wTranspilationStrategy Build Status

Aggregator of strategies to transpile JS code. It provides unified programmatic and CL interfaces to transpile/optimize/minimize/beautify code by one or several transpilers in series. More strategies could be added as plugins. Default options of transpilation can be written into a config file to avoid retyping. Use the module to utilize the power of open source transpilation tools in single package.

Supports such tranpilation strategies

  • Uglify
  • Babel
  • Prepack
  • Closure

Try out

npm install
node sample/Sample.s

Try out

npm -g install wtranspilationstrategy
ts .
ts .config.define debug:0 minification:0 optimization:9
ts .config.read

Try out

npm -g install wtranspilationstrategy
ts .config.define debug:0 minification:7 optimization:9
ts .config.define strategies:[ Babel, Uglify, Babel ]
ts .transpile inputPath:sample/Sample.js outputPath:temp.tmp/Sample.js
ts .config.define verbosity:3
ts .transpile inputPath:sample/Sample2.js outputPath:temp.tmp/Sample2.js debug:1

Keywords

wTools

FAQs

Package last updated on 16 Aug 2019

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