Skip to content

Replace Node.js CommonJS require statements with their ES2015 equivalent

Notifications You must be signed in to change notification settings

jameswomack/replace-require-with-import

Repository files navigation

replace-require-with-import

How to use

npm i -g replace-require-with-import
require2import ./src/**/*.js

About

Replace Node.js CommonJS require statements with their ES2015 equivalent

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •