{"_id":"caffeinate","_rev":"6-54ecf6a2dd40a340524e1bbc2c157f1b","name":"caffeinate","description":"Prevent the system from going to sleep","dist-tags":{"latest":"1.0.1"},"versions":{"0.0.1":{"name":"caffeinate","version":"0.0.1","description":"prevents a macOS computer from sleeping","main":"./dist/index.js","scripts":{"test":"echo 'no tests'","prebuild":"npm test && rimraf dist","build":"babel --ignore *.test.js --out-dir dist src","prepublish":"npm run build"},"keywords":["macOS","utility"],"author":{"name":"rogerbf","email":"roger@bergfalk.nu","url":"http://bergfalk.nu/"},"license":"MIT","devDependencies":{"babel-cli":"6.14.0","babel-preset-es2015":"6.14.0","rimraf":"2.5.4"},"files":["dist","README.md"],"eslintConfig":{"env":{"node":true},"parserOptions":{"ecmaVersion":6}},"babel":{"presets":["es2015"]},"dependencies":{},"repository":{"type":"git","url":"git+https://github.com/rogerbf/caffeinate.git"},"bugs":{"url":"https://github.com/rogerbf/caffeinate/issues"},"homepage":"https://github.com/rogerbf/caffeinate#readme","gitHead":"7e058ad488ff5da5eb43eee789941b7abd9e4346","_id":"caffeinate@0.0.1","_shasum":"8616f0a806f69ad94781f5209520ced902cda218","_from":".","_npmVersion":"3.10.6","_nodeVersion":"6.5.0","_npmUser":{"name":"rogerbf","email":"roger@bergfalk.nu"},"dist":{"shasum":"8616f0a806f69ad94781f5209520ced902cda218","tarball":"https://registry.npmjs.org/caffeinate/-/caffeinate-0.0.1.tgz","integrity":"sha512-xRSlR3KBXC6n7MWzWJJd/nTIL/QoOBh1mQwqkrmXjdnYQd9WnKb80o3qa/WVtRDE5tk7CSiGCcPt5lv7cWObeQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHOhkcGA4jEIQYev7jIJDCZprWSIb8+Tc00QQg61uA8iAiAjLvQBo4QN9UPXiVQecidMZnPR2aShx930F0BoCa0LyQ=="}]},"maintainers":[{"name":"rogerbf","email":"roger@bergfalk.nu"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/caffeinate-0.0.1.tgz_1472823630389_0.8081557811237872"}},"0.1.0":{"name":"caffeinate","version":"0.1.0","description":"prevents a macOS computer from sleeping","main":"./dist/index.js","scripts":{"test":"echo 'no tests'","prebuild":"npm test && rimraf dist","build":"babel --ignore *.test.js --out-dir dist src","prepublish":"npm run build"},"keywords":["macOS","utility","sleep"],"author":{"name":"rogerbf","email":"roger@bergfalk.nu","url":"http://bergfalk.nu/"},"license":"MIT","devDependencies":{"babel-cli":"6.14.0","babel-preset-es2015":"6.14.0","rimraf":"2.5.4"},"files":["dist","README.md"],"eslintConfig":{"env":{"node":true},"parserOptions":{"ecmaVersion":6}},"babel":{"presets":["es2015"]},"dependencies":{},"repository":{"type":"git","url":"git+https://github.com/rogerbf/caffeinate.git"},"bugs":{"url":"https://github.com/rogerbf/caffeinate/issues"},"homepage":"https://github.com/rogerbf/caffeinate#readme","gitHead":"0bc161095e701aa2b0b60cb5c8756d7d26800b5e","_id":"caffeinate@0.1.0","_shasum":"b6dd44e91f64a7aa15f9a20ef9de70d2ccf531b2","_from":".","_npmVersion":"3.10.6","_nodeVersion":"6.5.0","_npmUser":{"name":"rogerbf","email":"roger@bergfalk.nu"},"dist":{"shasum":"b6dd44e91f64a7aa15f9a20ef9de70d2ccf531b2","tarball":"https://registry.npmjs.org/caffeinate/-/caffeinate-0.1.0.tgz","integrity":"sha512-FicCPDWgBFF1OdwJ89o0VFnKt3qbMR0C+7jDn8k1f9mwi+L4ZOLJy36lA7YzclHgt2io0jaHjNvVDQDlIbbd2A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFbiIkUVCumW9rux5dimxVHUUgj3xvSqmCXNaAa/UHzeAiEA2mZB2XNt7sP6sI4h1qtCNZwylh2uFvlDtQBmm1gTH48="}]},"maintainers":[{"name":"rogerbf","email":"roger@bergfalk.nu"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/caffeinate-0.1.0.tgz_1474112600000_0.18979652947746217"}},"1.0.0":{"name":"caffeinate","version":"1.0.0","description":"Prevent the system from going to sleep","main":"index.js","scripts":{"test":"echo 'no tests'","start":"node index.js","watch:start":"chokidar \"*.js\" \"./**/*.js\" -c \"npm run start\"","eslint":"eslint .","eslint:fix":"eslint --fix ."},"keywords":["sleep","macOS","utility"],"author":{"name":"rogerbf","email":"roger@bergfalk.nu","url":"http://bergfalk.nu/"},"license":"MIT","devDependencies":{"chokidar-cli":"^1.2.0","eslint":"^3.15.0","eslint-config-standard":"^6.2.1","eslint-plugin-promise":"^3.4.2","eslint-plugin-standard":"^2.0.1"},"dependencies":{"options-to-args":"^0.0.1"},"repository":{"type":"git","url":"git+https://github.com/rogerbf/caffeinate.git"},"bugs":{"url":"https://github.com/rogerbf/caffeinate/issues"},"homepage":"https://github.com/rogerbf/caffeinate#readme","gitHead":"0070cf396073cd32c4ebdccf6d65e428b508fd28","_id":"caffeinate@1.0.0","_shasum":"c1ee5f158d945e02b4bdae273487e3f9ffa62808","_from":".","_npmVersion":"3.10.9","_nodeVersion":"7.5.0","_npmUser":{"name":"rogerbf","email":"roger@bergfalk.nu"},"dist":{"shasum":"c1ee5f158d945e02b4bdae273487e3f9ffa62808","tarball":"https://registry.npmjs.org/caffeinate/-/caffeinate-1.0.0.tgz","integrity":"sha512-dnPdgnXblsYlU+gHxBzFGxf8gS95rDGYO+YnocKt1WDXeOPKrm6aGsq8Y0vSCjSwdY38Bn2rKsgJpQ6iwSUI0A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC27BidnfrnCPIKnqZrTceQIH8Tabqjmo2DrBJmbKOX2AIhAN1e9j8Ue74dxcRiGtCLy45JF+WNW3FkASoE5BbeTS8T"}]},"maintainers":[{"name":"rogerbf","email":"roger@bergfalk.nu"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/caffeinate-1.0.0.tgz_1488028671465_0.8377512758597732"}},"1.0.1":{"name":"caffeinate","version":"1.0.1","description":"Prevent the system from going to sleep","main":"index.js","scripts":{"test":"echo 'no tests'","start":"node index.js","watch:start":"chokidar \"*.js\" \"./**/*.js\" -c \"npm run start\"","eslint":"eslint .","eslint:fix":"eslint --fix ."},"keywords":["sleep","macOS","utility"],"author":{"name":"rogerbf","email":"roger@bergfalk.nu","url":"http://bergfalk.nu/"},"license":"MIT","devDependencies":{"chokidar-cli":"^1.2.0","eslint":"^3.15.0","eslint-config-standard":"^6.2.1","eslint-plugin-promise":"^3.4.2","eslint-plugin-standard":"^2.0.1"},"dependencies":{"options-to-args":"^0.0.1"},"repository":{"type":"git","url":"git+https://github.com/rogerbf/caffeinate.git"},"bugs":{"url":"https://github.com/rogerbf/caffeinate/issues"},"homepage":"https://github.com/rogerbf/caffeinate#readme","gitHead":"747682722dfe753e875524def5335d8bfeb3bbe2","_id":"caffeinate@1.0.1","_shasum":"aef9d5eadd1cf611c592e780ba175c2139a1f4af","_from":".","_npmVersion":"3.10.9","_nodeVersion":"7.5.0","_npmUser":{"name":"rogerbf","email":"roger@bergfalk.nu"},"dist":{"shasum":"aef9d5eadd1cf611c592e780ba175c2139a1f4af","tarball":"https://registry.npmjs.org/caffeinate/-/caffeinate-1.0.1.tgz","integrity":"sha512-LgBcCix8HIzO0Cvn0vYraVEYRQA8Zf0FDcDfvBV7kNJilxcd0lGS00l4cWaOKgewJBUqIqJ/16ozwe4H/gOIow==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG7xFYAsMYP7+kSzEXiXNTLcXtzRikHjBjzn2M5uv5QeAiEAuV1WYmXHEnGPTWBoQF84yMNNewIjjN74eeCVZpXWAIw="}]},"maintainers":[{"name":"rogerbf","email":"roger@bergfalk.nu"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/caffeinate-1.0.1.tgz_1488029177361_0.7725603184662759"}}},"readme":"# caffeinate\n\n`caffeinate` is a system utility provided in macOS which prevents the system from sleeping indefinitely or on behalf of a utility.\n\n## usage\n\n```javascript\nconst caffeinate = require(`caffeinate`)\n\ncaffeinate({ pid: 45623 })\n.then(caffeinatePid => console.log(caffeinatePid))\n.catch(error => console.log(error))\n```\n\n## api\n\n### `caffeinate([options])`\n\nSpawns caffeinate. Resolves with the pid of the spawned caffeinate instance.\n\n`options` can be any of those supported by caffeinate. For the sake of readability you can use `timeout` and `pid` in place of `t` and `w` respectively.\n\n[options-to-args](https://www.npmjs.com/package/options-to-args) handles the conversion of options into spawn args.\n","maintainers":[{"name":"rogerbf","email":"roger@bergfalk.nu"}],"time":{"modified":"2022-06-13T05:24:35.896Z","created":"2016-09-02T13:40:32.180Z","0.0.1":"2016-09-02T13:40:32.180Z","0.1.0":"2016-09-17T11:43:21.726Z","1.0.0":"2017-02-25T13:17:52.077Z","1.0.1":"2017-02-25T13:26:19.451Z"},"homepage":"https://github.com/rogerbf/caffeinate#readme","keywords":["sleep","macOS","utility"],"repository":{"type":"git","url":"git+https://github.com/rogerbf/caffeinate.git"},"author":{"name":"rogerbf","email":"roger@bergfalk.nu","url":"http://bergfalk.nu/"},"bugs":{"url":"https://github.com/rogerbf/caffeinate/issues"},"license":"MIT","readmeFilename":"README.md"}