{"name":"clockface","version":"1.0.0","description":"Animate the unicode clock faces, in the terminal","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":"ef73293999010a21d0262992e5c361aa183ea316","_id":"clockface@1.0.0","_shasum":"3944cb286fcb4b49b72643f544cd89eaef0b09aa","_from":".","_npmVersion":"2.14.17","_nodeVersion":"5.6.0","_npmUser":{"name":"davidmarkclements","email":"huperekchuno@googlemail.com"},"dist":{"shasum":"3944cb286fcb4b49b72643f544cd89eaef0b09aa","tarball":"http://registry-npm.ywwl.com/clockface/download/clockface-1.0.0.tgz","integrity":"sha512-26CVV0T07a5iLrCH5BkTqxnkeGrm2Vxy/eRxTYS8aLCdKyAIq+G4fXqPIKTbkSX9+w1Nr48SuCKMyJaDqEY19Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICnW9xB2nytFyNLvahgtNK2/U0qjAsjNS04pV7f3rke1AiEAtfHqqbk4iAtWLbG6355FlJqeC92ZTbEjsYXsYS4TmHk="}],"size":1020,"noattachment":false,"key":"/clockface/-/clockface-1.0.0.tgz"},"maintainers":[{"name":"davidmarkclements","email":"huperekchuno@googlemail.com"}],"_npmOperationalInternal":{"host":"packages-6-west.internal.npmjs.com","tmp":"tmp/clockface-1.0.0.tgz_1456364607992_0.09804262407124043"},"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":1456364610927,"_cnpm_publish_time":1456364610927,"dist-tags":{"latest":"1.1.1"}}