{"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"},"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":1456453171299,"_cnpm_publish_time":1456453171299,"dist-tags":{"latest":"1.1.1"}}