I'm writing a module will will be run from a "scripts" property like this:
"scripts": {
    "runMyModule": "mymodule -stuff stuff"
}
NOTE: This is not the package.json of my module. This is the package.json the user uses to run npm.
I want to allow them to add a property to that main package.json file (which at the command line they execute by npm run runMyModule) which my module will then read. Is this possible?
I want something like:
"forMyModule": {
    stuff: [
        "one",
        "two"
    ]
},
"scripts": {
    "runMyModule": "mymodule -stuff stuff"
}
Is it possible in my module to get the forMyModule.stuff?
I've created both the index.js and bin/mymodule.js files.
 
     
     
     
    