You can pass the
--use_strict command line option to the
node command. This will treat all of your code as being in strict mode.
Alternately, you can use the package https://www.npmjs.com/package/use-strict. That way you don't have to give the command line argument each time.