Lebab: modernizing javascript

Date: 2018-07-31
# install globally
npm i -g lebab
# run transforms
lebab --replace src/ --transform arrow
lebab --replace src/ --transform for-of
lebab --replace src/ --transform for-each
lebab --replace src/ --transform arg-rest
lebab --replace src/ --transform no-strict
lebab --replace src/ --transform multi-var
lebab --replace src/ --transform let
lebab --replace src/ --transform template
lebab --replace src/ --transform includes
# change module format
lebab --replace src/ --transform commonjs

 

11870cookie-checkLebab: modernizing javascript