2.1.0 • Published 2 years ago

filenamify-cli v2.1.0

Weekly downloads
2
License
MIT
Repository
github
Last release
2 years ago

filenamify-cli

Convert a string to a valid safe filename on the command-line

Install

npm install --global filenamify-cli

Usage

$ filenamify --help

  Usage
    $ filenamify <text>

  Options
    --replacement  Replacement for reserved filename characters [Default: !]

  Example
    $ filenamify 'foo/bar' --replacement=🦄
    foo🦄bar
    $ filenamify 'https://sindresorhus.com/foo?bar=baz'
    sindresorhus.com!foo!bar=baz

Related