@automattic/escapeshellarg
v0.3.0
Published
Escape a string to be used as a shell argument.
Downloads
712
Maintainers
Keywords
Readme
node-escapeshellarg
Escape a string to be used as a shell argument.
How to use?
npm i --save "escapeshellarg@npm:@automattic/escapeshellarg@latest"
var escapeshellarg = require('escapeshellarg')
escapeshellarg("Hello's world") // => "'Hello'\\''s world'"