Found 2 packages
Detect whether the terminal supports Unicode
Character encoding detection tool for NodeJS