{"_id":"@defaude/autohide-cursor","_rev":"6-2e33cc183ffaa4c2a2432b83923f5299","time":{"1.0.0":"2021-05-11T09:54:17.789Z","created":"2021-05-12T22:29:04.546Z","1.0.1":"2021-05-12T22:29:04.730Z","modified":"2022-04-05T03:37:46.324Z","1.0.2":"2021-05-12T23:10:31.506Z"},"name":"@defaude/autohide-cursor","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.1":{"name":"@defaude/autohide-cursor","version":"1.0.1","description":"Tiny no-dependency library that will automatically hide the cursor after a given time of mouse inactivity.","main":"autohide-cursor.js","repository":{"type":"git","url":"git+https://github.com/defaude/autohide-cursor.git"},"author":{"name":"Roland Hummel","email":"git@defaude.info","url":"https://github.com/defaude"},"license":"WTFPL","bugs":{"url":"https://github.com/defaude/autohide-cursor/issues"},"homepage":"https://github.com/defaude/autohide-cursor#readme","publishConfig":{"access":"public"},"gitHead":"c6a4a7444d4dc0dd641042949b424bf210da1894","_id":"@defaude/autohide-cursor@1.0.1","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-L6rThIs4BJ+P3nLUuIl8r+tIrysrSCcWAWdZss0903anz61VyVLQOu+8GQoevdd7YZDlQfBKZ0Mxde8mJGVCDQ==","shasum":"eeb6461a40c1b4c1525cdd3e4c9e579c7fbae153","tarball":"https://registry.npmjs.org/@defaude/autohide-cursor/-/autohide-cursor-1.0.1.tgz","fileCount":5,"unpackedSize":2423,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgnFaxCRA9TVsSAnZWagAAk98P/1fTxcz+LqyVumel1h8A\n2+uaMoy4RGiiSpUhLL9V3eRdivUbfsAaFo+2zE3R/eY39IparNReWZk7HzKE\nq9jvLP/lv9kmT5lUXk0XMQHa8KQvYs1+1Y2dmc7K9BpVJQZcsexsXL7RSLts\nHvrLVytRcmEddSh4SYbnQC75zovFgLD0PFmYd1qrpVAHbRMPiCd4P/xGAztf\n201hl9N3SfDCbdUhIMlxdpPIO71T6SvnBfVl4fzyUAhU+JA4rIMp7cyiey6A\nsY/ef5en/NK2Kw14GEZEe2QgwkedMZTHy0gyaf66nBxFULjK6ERyO8AFmixm\ndot+1dZADbAdmndCbOd0IH9mkX+rqtKh3SKlDYWxvg4ajdxBksGzEGy1M2NU\nJy8z1TXSbggV4XV/QwoIi16IMr7SmFA9d+lbKmseOMnz5dDLVDjXG2cjDx1f\nOnkupFL8G5f3DYTf/3mfhB9xjKhBnjaJLUL0nV/PZT76WokaOWqIF5Vo6OuO\nbsfk6lgdGdLUtu6REQ1jz8P7opmQPiTYRhjuI31MVSf8tztPecZTt7Uyv7uJ\nl/s6Xp0qSWR0KAg33yLiheNDcEcZITjvNwgSYDwUG+dGGxs5+dIPGfegfzR8\nEwqiFnFSB4wkBG4aI9LSqnt2nC+tqLS0ljiYfHkxEdBo5SDEWhPHqRCM7TOL\nQDO+\r\n=wF3M\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCTOoHTDNFnofm8UubLTl1rCogT1pvMjE7QvFr08xbrdAIhAMM+3GEdGTWJnh2bHSp1EMJgUdG+QcimXUuHtzRIMcRf"}]},"_npmUser":{"name":"defaude","email":"git@defaude.info"},"directories":{},"maintainers":[{"name":"defaude","email":"git@defaude.info"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/autohide-cursor_1.0.1_1620858544591_0.21293969237997556"},"_hasShrinkwrap":false},"1.0.2":{"name":"@defaude/autohide-cursor","version":"1.0.2","description":"Tiny no-dependency library that will automatically hide the cursor after a given time of mouse inactivity.","main":"autohide-cursor.js","repository":{"type":"git","url":"git+https://github.com/defaude/autohide-cursor.git"},"author":{"name":"Roland Hummel","email":"git@defaude.info","url":"https://github.com/defaude"},"license":"WTFPL","bugs":{"url":"https://github.com/defaude/autohide-cursor/issues"},"homepage":"https://github.com/defaude/autohide-cursor#readme","publishConfig":{"access":"public"},"types":"types.d.ts","gitHead":"48130832899da48958089035b7bb6ef53c0e990a","_id":"@defaude/autohide-cursor@1.0.2","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-mi9jNPlFE2LyMfumM0VLAAjncuBQlN6yMF2D6gY1zMMaXu9AiqxVMmkH2Tm4n8vJMtSK4AH9TRoipeKnRTsfRg==","shasum":"3a3638fd680d2535baf4c0f54c736a82090c6944","tarball":"https://registry.npmjs.org/@defaude/autohide-cursor/-/autohide-cursor-1.0.2.tgz","fileCount":6,"unpackedSize":2986,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgnGBnCRA9TVsSAnZWagAASg4P/24+ANTdUU4k0yh5CbZ0\na4LzLESUF0B2uSeQceQkIDWCgUqatDYzKpDWHtDjCohbQOB2gP6Kv/miZb19\n245G0PlY5BH6qz0OzsGSKpUiKD+TPUJTksZYXaR+09GEmSXYcDG3bpimegJ0\nFe3HwWnKrQmgZYrVmcgmsIoV3JR3j4QRK7G4DoljLxekd4+g5BFjjfjvDO4B\n7ow8cltI2fo0Ga30oV2AdGBUiM3z6i4okeFoGhmz5jTSgEjOLPvVz/m0uqAW\nFbUB4izRS5C7jt7+9x5BEs79681HPcuYs2W3l4sBX3BjM0yzea3R57NCQH7e\nAFBjX7/e/E4ynwYBKzEq280gbeT1kN7q5vcS4iOzGGlZIOvCW5oeP1cX6b6j\nP+56lXARrrSV7c077HJvt53WL9xIVxu4C3/IUEu5AmP50tGLji0JoNuDwoKg\nLvMGYgnrE2UeD2t1KBpP9Yj1eKWsaBHgk61w8kCHYcj585yueXesMaMZNVm0\n6TxOkdb9E02ma5bGX1XjFg8mIh/1KbNBFwH8ggdyGDUfwYITsCYytKPMmMUg\nZDvkaYt2f+WGqcwipZj9vVbxEKZJqJqoVma2ulb971ZDv2lYmoOmdIhst8w1\nqOLObt3rZVoa52pUrIw7r2A1PTBl246a/bTH8f+NLwqqTf9n2t4dprhaqFNz\nHwik\r\n=Yrbf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHekrD6WnTGyxTUl4vRJbRFiM/Q+YG3/qVddwX4P7fNqAiAaSrDZmPIYctxGFffnjqPmrQwVMwNGM8h0zf7rSO2J1w=="}]},"_npmUser":{"name":"defaude","email":"git@defaude.info"},"directories":{},"maintainers":[{"name":"defaude","email":"git@defaude.info"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/autohide-cursor_1.0.2_1620861031391_0.17075547676737068"},"_hasShrinkwrap":false}},"maintainers":[{"name":"defaude","email":"git@defaude.info"}],"description":"Tiny no-dependency library that will automatically hide the cursor after a given time of mouse inactivity.","homepage":"https://github.com/defaude/autohide-cursor#readme","repository":{"type":"git","url":"git+https://github.com/defaude/autohide-cursor.git"},"author":{"name":"Roland Hummel","email":"git@defaude.info","url":"https://github.com/defaude"},"bugs":{"url":"https://github.com/defaude/autohide-cursor/issues"},"license":"WTFPL","readme":"# autohide-cursor\n\nTiny no-dependency library that will automatically hide the cursor after a given time of mouse inactivity. No build\ntools, no bundlers, nothing.\n\n## Direct usage\n\nThe easiest way to get this is to import the `index.js` module - this will load the `autohideCursor` function and start\nit with the default delay of 1 second:\n\n```html\n<script type=\"module\" src=\"https://unpkg.com/@defaude/autohide-cursor/index.js\"></script>\n```\n\nWhen you want to control the delay (or when/how the function is called), import the function directly:\n\n```html\n<script type=\"module\">\n    import {autohideCursor} from \"https://unpkg.com/@defaude/autohide-cursor\";\n    autohideCursor(1234);\n</script>\n```\n\n## Installation as npm package\n\nThis is published as npm package, so you can just\n\n```\nnpm install @defaude/autohide-cursor\n```\n\nand use it in your code\n\n```js\nimport { autohideCursor } from '@defaude/autohide-cursor';\n\n// ... and whenever you want start hiding the cursor\nautohideCursor(); // or pass the delay explicitly\n```\n","readmeFilename":"README.md"}