nanospinner
Advanced tools
Comparing version 0.1.15 to 0.2.0
@@ -20,4 +20,2 @@ let { green, red, yellow } = require('picocolors') | ||
write(str, clear = false) { | ||
if (!isTTY) return | ||
clear && stream.write(`\x1b[1G`) | ||
@@ -55,3 +53,3 @@ stream.write(`${str}`) | ||
spinner.reset() | ||
spinner.loop() | ||
isTTY ? spinner.loop() : spinner.spin() | ||
return spinner | ||
@@ -58,0 +56,0 @@ }, |
{ | ||
"name": "nanospinner", | ||
"version": "0.1.15", | ||
"version": "0.2.0", | ||
"description": "Simple and tiny spinner library for Node.js", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -5,4 +5,4 @@ # Nano Spinner | ||
- It takes **18 times less** space in node_modules than `ora`. | ||
- It is **6 times faster** than `mico-spinner`. | ||
- It takes **~40 times less** space in node_modules than `ora`. | ||
- It is **~7 times faster** than `mico-spinner`. | ||
@@ -9,0 +9,0 @@ ```js |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
125