{"name":"tiny-spinner","version":"2.0.4","keywords":["cli","terminal","spinner","loading","tiny","pretty"],"_id":"tiny-spinner@2.0.4","homepage":"https://github.com/fabiospampinato/tiny-spinner#readme","bugs":{"url":"https://github.com/fabiospampinato/tiny-spinner/issues"},"dist":{"shasum":"444730eb0412e3db28145dee73f36dba4a035eac","tarball":"http://registry-npm.ywwl.com/tiny-spinner/download/tiny-spinner-2.0.4.tgz","fileCount":17,"integrity":"sha512-EQVPXe4JaGLj4zNMSssENpmriZ1y0MzKUOqhTO0be1TM9+hfakJ7Fe+f163gTsWPQO1cH3E05dV0l0IBVb0yBA==","signatures":[{"sig":"MEYCIQCRAi7XfwJkXkuCJVpIdU7EfBK7bD4ZJoyKZ1UzZhu9RQIhAN+d1AixWD5hp9dowORlUf14T/mBErkCxYejgwu8t9J/","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":266837,"size":212324,"noattachment":false,"key":"/tiny-spinner/-/tiny-spinner-2.0.4.tgz"},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","exports":"./dist/index.js","gitHead":"8fdcdddbe425c97a11b0c835ac063f665dc469ac","scripts":{"test":"npm run test:general && npm run test:piping","clean":"tsex clean","compile":"tsex compile","test:piping":"node test/piping.js > stdout.txt && cat stdout.txt && rm stdout.txt","test:general":"node test/general.js","compile:watch":"tsex compile --watch","prepublishOnly":"npm run clean && npm run compile"},"_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"repository":{"url":"git+https://github.com/fabiospampinato/tiny-spinner.git","type":"git"},"_npmVersion":"10.2.3","description":"A simple, yet beautiful, CLI spinner.","directories":{},"_nodeVersion":"18.19.0","dependencies":{"tiny-colors":"^2.1.2","tiny-cursor":"^2.0.0","stdin-blocker":"^2.0.0","tiny-truncate":"^1.0.2"},"_hasShrinkwrap":false,"devDependencies":{"tsex":"^3.0.1","typescript":"^5.1.6"},"_npmOperationalInternal":{"tmp":"tmp/tiny-spinner_2.0.4_1726416704858_0.8439552518616797","host":"s3://npm-registry-packages"},"readme":"\n<p align=\"center\">\n  <img src=\"resources/demo.gif\" width=\"522\" alt=\"Demo\">\n</p>\n\n# Tiny Spinner\n\nA simple, yet beautiful, CLI spinner.\n\n## Install\n\n```sh\nnpm install tiny-spinner\n```\n\n## Usage\n\n```ts\nimport Spinner from 'tiny-spinner';\n\n// Create spinner\n\nconst spinner = new Spinner ();\n\n// Start spinner with initial message\n\nspinner.start ( 'Doing something' );\n\n// Update message\n\nspinner.update ( 'Still doing something' );\n\n// Exit with a warning message\n\nspinner.warning ( 'Some warning message' );\n\n// Exit with an error message\n\nspinner.error ( 'Some error message' );\n\n// Exit with a success message\n\nspinner.success ( 'Some success message' );\n\n// Exit with a custom message (no prefix symbol)\n\nspinner.stop ( 'Some stop message' );\n\n// Exit without a message\n\nspinner.stop ();\n```\n\n## License\n\nMIT © Fabio Spampinato\n","publish_time":1726416705147,"maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"_cnpm_publish_time":1726416705147,"dist-tags":{"latest":"2.0.5"}}