UNPKG

mstr-viz

Version:

A new dev tool for creating custom visualizations

8 lines (7 loc) 187 B
/** * escape the whitespace before being used as command line's argument */ module.exports = { escape: str => str.replace(/ /g, '%20'), recover: str => str.replace(/%20/g, ' '), };