MCPcopy Create free account
hub / github.com/nodejs/node / unescape

Function unescape

deps/npm/lib/commands/completion.js:210–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208}
209
210const unescape = w => w.charAt(0) === '\'' ? w.replace(/^'|'$/g, '')
211 : w.replace(/\\ /g, ' ')
212
213// Helper to get custom definitions from a command/subcommand
214const getCustomDefinitions = (cmd, subCmd) => {

Callers 1

execMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected