Pass parameters inside the command line in node.js

  javascript, node.js, npm, package.json

I have a situation, I need to do the same task with the same name several times during the day at work. For example, I need to create elements in different folders but with the same name: comps/todo, srv/todo, prv/todo, enm/todo, etc. I can do it with node.js, but one at a time: npm run srv all, npm run prv todo. What I wanted was, for example, to create everything with just a small line: npm run all todo and thus create all at once, is this possible with node.js?

Source: Ask Javascript Questions