Skip to content

Instantly share code, notes, and snippets.

@jleeothon
Created May 13, 2020 10:29
Show Gist options
  • Save jleeothon/894ab813b577fdbeace0775a33eee0ab to your computer and use it in GitHub Desktop.
Save jleeothon/894ab813b577fdbeace0775a33eee0ab to your computer and use it in GitHub Desktop.
Normalize Unicode from stdin into stdout
process.stdin.on('data', (chunk) => { process.stdout.write(chunk.toString().normalize()) })
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment