If I send JSON through to a node script as follows:
#!/bin/bash
set -e
config=`cat some.json`
node script.js $config
Then within the node script I am receiving the JSON file as a broken set of args on each new line:
[
  '{',
  '"fileTypes":[',
  '"tsx",',
  '"ts",',
  '"js"',
  '],',
  ...
]
How can I parse the JSON and send it through as a parameter to Node.
Note: I don't want to use any libraries such as jq.
