1.0.1 • Published 3 years ago

nv-cli-ustr v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

nv-cli-ustr

  • nv-cli-ustr
  • cli tool, \uXXXX format to/from a string

install

  • npm install nv-cli-ustr -g

usage

    Usage: nv_ustr [options]
    Options:
        -i, --input         input str
        -t, --to            to u-str
        -f, --from          from u-str
        -e, --enable        enable ignore flag when to u-str
        -h, --help          usage

example

# nv_ustr -i '𝑒'
\ud835\udc52
#

# nv_ustr -i "\ud835\udc52" -f
𝑒


# nv_ustr -i 'A-𝑒-B'
\u0041\u002d\ud835\udc52\u002d\u0042
#


# nv_ustr -i "\u0041\u002d\ud835\udc52\u002d\u0042" -f
A-𝑒-B


# nv_ustr -i 'A-𝑒-B' -e
A-\ud835\udc52-B



# nv_ustr -i "A-\ud835\udc52-B" -f
A-𝑒-B
#

LICENSE

  • ISC