Following some other answer I am trying to retrieve values from package.json
.
With "preload" feature I hope to do it like this:
echo 'console.log(???.name)' | node -r package.json
But the ???
bit is missing. What could it be in this case?
Thanks.