escapeshellarg
v0.1.0
Published
Escape a string to be used as a shell argument.
Readme
node-escapeshellarg
Escape a string to be used as a shell argument.
How to use?
npm install escapeshellargvar escapeshellarg = require('escapeshellarg')
escapeshellarg("Hello's world") // => "'Hello\\'s world'"