Last 12 weeks · 0 commits
4 of 6 standards met
In automated tests, it is often a problem to have different outputs on Windows and Unix. In order to compare outputs, one would usually normalize outputs. When using this module, for example, one would replace all (Unix) to (Windows), or the other way around. This module provides with a method, but it is not meant for this purpose. https://github.com/sindresorhus/figures/blob/b10ba989a9dd359faf0f197e4081b144d2e72931/index.js#L283-L294 It would be nice to have another method (for example called , basically the same except without the initial check. This could be used in automated tests. What do you think?
Repository: sindresorhus/figures. Description: Unicode symbols with fallbacks for older terminals Stars: 629, Forks: 23. Primary language: JavaScript. Languages: JavaScript (93.7%), TypeScript (6.3%). License: MIT. Topics: command-line, command-line-utility, node-module, npm-package, terminal, unicode, unicode-symbols. Latest release: v6.1.0 (2y ago). Open PRs: 0, open issues: 0. Last activity: 1y ago. Community health: 85%. Top contributors: sindresorhus, ehmicky, SamVerschueren, Richienb, derhuerst, brandon93s, christophehurpeau, coreyfarrell, BendingBender, kevgo and others.