{"_id":"clockface","_rev":"1657053","name":"clockface","description":"Animate the unicode clock faces, in the terminal","dist-tags":{"latest":"1.1.1"},"maintainers":[{"name":"davidmarkclements","email":"huperekchuno@googlemail.com"}],"time":{"modified":"2026-11-01T05:54:27.000Z","created":"2016-02-25T01:43:30.927Z","1.1.1":"2016-02-26T02:19:31.299Z","1.1.0":"2016-02-25T02:20:53.007Z","1.0.0":"2016-02-25T01:43:30.927Z"},"users":{},"author":{"name":"David Mark Clements"},"versions":{"1.1.1":{"name":"clockface","version":"1.1.1","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":"5eea4482d511550df9a1ec36edde79d55e5db3d7","_id":"clockface@1.1.1","_shasum":"69019193ca9ec79e88db05bf03c761c93042f969","_from":".","_npmVersion":"2.14.17","_nodeVersion":"5.6.0","_npmUser":{"name":"davidmarkclements","email":"huperekchuno@googlemail.com"},"dist":{"shasum":"69019193ca9ec79e88db05bf03c761c93042f969","tarball":"http://registry-npm.ywwl.com/clockface/download/clockface-1.1.1.tgz","integrity":"sha512-a5RPseYcADHlDQPsVm7QsDwxIpqRwqcIyaZqS1SCIWEZsaXLs4Vn3Gut1T2pB57AW0dW8ijI9LBkZlxMzAjjKg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFwpFN2J+E0WxYIX+SIQrHSkNdOwSSyWNbbf42ZE657SAiBOR/XGYujSZnUUxVJ0QjfWffSWOWhEavxBEqrQrPGMrQ=="}],"size":1503,"noattachment":false,"key":"/clockface/-/clockface-1.1.1.tgz"},"maintainers":[{"name":"davidmarkclements","email":"huperekchuno@googlemail.com"}],"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/clockface-1.1.1.tgz_1456453170041_0.35883909626863897"},"publish_time":1456453171299,"_cnpm_publish_time":1456453171299},"1.1.0":{"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"},"publish_time":1456366853007,"_cnpm_publish_time":1456366853007},"1.0.0":{"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"},"publish_time":1456364610927,"_cnpm_publish_time":1456364610927}},"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```","_attachments":{},"license":"MIT"}