0.3.0 • Published 3 years ago
@automattic/escapeshellarg v0.3.0
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'"