0.0.6 • Published 5 years ago
@master-chief/map v0.0.6
map
Fast file extension mapping with deep reference replacement.
Contents
Features
- Fast, recursive.
- Replace file extensions.
Install
From NPM:
$ npm i -g @master-chief/mapExample
Assuming the contents of folder is as follows.
$ ls folder
a.js
b.js
c.jsYou can use the map command to replace the .js extension and it's references
within the files.
$ map folder js cjsNow the extensions have been mapped to .cjs (easy right? 🙂).
$ ls folder
a.cjs
b.cjs
c.cjsContributing
Feel free to contribute and PR to your 💖's content.