Javascript – How do I run 2 different functions from 1 file with 2 different command line prompts in Node.js?
I have a .js file in my project that imports an NPM package and has 2 functions that use that package: //replacePaths.js import {replaceInFile} from 'replace-in-file'; async function replace() { const options = { files: 'src/**/*.jsx', from: 'dev/svgs/icons-main.svg', to: 'staging/media/svgs/icons-main.svg',…