Step 1. Clone and cd: git clone https://github.com/hikurangi/unicode-converter.git && cd unicode-converter
Step 2. Queries are made using a) your package manager of choice (well.. npm or yarn) and b) a command line argument specifying the output you'd like: s
, string
(space-separated unicode input to string output) or u
, unicode
(string to space-separated unicode).
Examples are:
yarn start unicode My String # => Your unicode values are: 77 121 32 83 116 114 105 110 103
or
npm start s 77 121 32 83 116 114 105 110 103 # => Your string is: My String
As you can see, quotes and escapes are unnecessary if you're using spaces. Anything after the first parameter is considered a part of your input string.
Step 3. See the conversion result before your very eyes!
Step 4. in progress: Your result already is on your clipboard in macOS, Windows or Linux!