{"name":"clockface","version":"1.1.0","description":"Animate the unicode clock faces, in the terminal","bin":{"clockface":"./cmd.js"},"main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"David Mark Clements"},"license":"MIT","dependencies":{"ansi-escapes":"^1.1.1"},"gitHead":"3b5dd7a4ebe2dc2a78127da78f1ffcaebbac912e","_id":"clockface@1.1.0","_shasum":"bc3e7e7b9d704185f9a54eda62d94484c5c34fd8","_from":".","_npmVersion":"2.14.17","_nodeVersion":"5.6.0","_npmUser":{"name":"davidmarkclements","email":"huperekchuno@googlemail.com"},"dist":{"shasum":"bc3e7e7b9d704185f9a54eda62d94484c5c34fd8","tarball":"http://registry-npm.ywwl.com/clockface/download/clockface-1.1.0.tgz","integrity":"sha512-K+AoXJi+je39ZY20od5ZnXymccGkcp0ihFNL8+ncchypEzQh6v5QonOx+uP4yHE2aENpBeY/gEHpsEVLkxl+kA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCcM0BLH+iTUhf8ubaQTYK5QwbYV/1+whrs+851gCTdbAIhAMBOw6OtFuGnJ+27Z78mTlvuGlzOBtYB8mjMtNCTB/4T"}],"size":1444,"noattachment":false,"key":"/clockface/-/clockface-1.1.0.tgz"},"maintainers":[{"name":"davidmarkclements","email":"huperekchuno@googlemail.com"}],"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/clockface-1.1.0.tgz_1456366850148_0.8924148119986057"},"readme":"# clockface 🕘\n\nAnimate the unicode clock faces, in the terminal\n\n```sh\nvar clock = require('clockface')({\n  out: process.stdout, //default\n  autostart: true, //default\n  tick: 100, //default\n})\n\nprocess.stdout.write('yaaaaay ')\n\nsetTimeout(() => clock.pause(), 10000)\nsetTimeout(() => clock.start(), 15000)\nsetTimeout(() => clock.stop(), 25000)\n```\n\n## Spawning\n\nIf we're doing an intensive sync operation the\nclockface won't animate (event loop blocked).\n\nMostly in a terminal app, these are the time's\nwe want to give user feedback. \n\nClockface comes with an executable\n\n```sh\nclockface <tick> <autostart>\n```\n\nSo the solution is to spawn with stdio inherit.\n\n```js\n  var clock = spawn(__dirname + '/node_modules/.bin/clockface', {stdio: 'inherit'})\n```","publish_time":1456366853007,"_cnpm_publish_time":1456366853007,"dist-tags":{"latest":"1.1.1"}}