{"_id":"display-notification","_rev":"20-a5b700637b348f5f59e086437c4dca56","name":"display-notification","description":"Display a notification (macOS)","dist-tags":{"latest":"3.0.0"},"versions":{"0.1.0":{"name":"display-notification","version":"0.1.0","description":"Display a notification (OS X 10.9+)","license":"MIT","bin":{"display-notification":"cli.js"},"repository":{"type":"git","url":"git://github.com/sindresorhus/display-notification"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"os":["darwin"],"scripts":{"test":"mocha"},"files":["index.js","cli.js"],"keywords":["cli","bin","osx","mac","applescript","display","notification","center","notify","notifier"],"dependencies":{"escape-string-applescript":"^0.1.0","get-stdin":"^0.1.0","minimist":"^0.1.0"},"devDependencies":{"mocha":"*"},"bugs":{"url":"https://github.com/sindresorhus/display-notification/issues"},"homepage":"https://github.com/sindresorhus/display-notification","_id":"display-notification@0.1.0","_shasum":"2e56412870b4b30fa1d80b60cdc3fbad2f664f7b","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"dist":{"shasum":"2e56412870b4b30fa1d80b60cdc3fbad2f664f7b","tarball":"https://registry.npmjs.org/display-notification/-/display-notification-0.1.0.tgz","integrity":"sha512-xrb092rmWgqYtxoYYvsShEO+AcG8qfPfHwEe0Wm5PFUZb9Cpf6yihvnyj72RUVAjeFcRMUyS1c67b2GR7yp1NA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEflj/2TcaR7HHpJhLy13siNFs7EnvDUP9gTcpsunTuiAiADhHQz/JEo16A9W4mvP4komLBRhyfjvdYZY1PPpvKsVQ=="}]},"directories":{}},"1.0.0":{"name":"display-notification","version":"1.0.0","description":"Display a notification (OS X 10.9+)","license":"MIT","bin":{"display-notification":"cli.js"},"repository":{"type":"git","url":"git://github.com/sindresorhus/display-notification"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"os":["darwin"],"scripts":{"test":"node test.js"},"files":["index.js","cli.js"],"keywords":["cli","bin","osx","mac","applescript","display","notification","center","notify","notifier"],"dependencies":{"escape-string-applescript":"^1.0.0","get-stdin":"^1.0.0","minimist":"^0.2.0"},"devDependencies":{"ava":"0.0.3"},"gitHead":"9343104005743fcdd56f1ca1b860c46e00b854be","bugs":{"url":"https://github.com/sindresorhus/display-notification/issues"},"homepage":"https://github.com/sindresorhus/display-notification","_id":"display-notification@1.0.0","_shasum":"cb4acfdd2c78b34b834020718f800e40b0cd31ae","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"dist":{"shasum":"cb4acfdd2c78b34b834020718f800e40b0cd31ae","tarball":"https://registry.npmjs.org/display-notification/-/display-notification-1.0.0.tgz","integrity":"sha512-C/txpp6PtJ6naKqusrkqxz4wV7s/566u4YuRzqWjyI4U3IVzguKkQTiTd6j0J64h6p6ii+cGdYJ7l79QyV2H8Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBQid8o4vWsZuSHxF4CuGPh9bb94NAtUrXAvfL/Xd9uWAiAbXWJCXecuF9ivXm9XL1x4gpSmhPN5l7uOHDFVnmBhqQ=="}]},"directories":{}},"1.0.1":{"name":"display-notification","version":"1.0.1","description":"Display a notification (OS X 10.9+)","license":"MIT","bin":{"display-notification":"cli.js"},"repository":{"type":"git","url":"git://github.com/sindresorhus/display-notification"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"os":["darwin"],"scripts":{"test":"node test.js"},"files":["index.js","cli.js"],"keywords":["cli","bin","osx","mac","applescript","display","notification","center","notify","notifier"],"dependencies":{"escape-string-applescript":"^1.0.0","get-stdin":"^3.0.0","minimist":"^1.1.0","run-applescript":"^1.0.0"},"devDependencies":{"ava":"0.0.4"},"gitHead":"9daa19b23f92ac325b2ed2680280735f590d7c21","bugs":{"url":"https://github.com/sindresorhus/display-notification/issues"},"homepage":"https://github.com/sindresorhus/display-notification","_id":"display-notification@1.0.1","_shasum":"cebd75acf4115878067198c8619d66e6fb552faf","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"dist":{"shasum":"cebd75acf4115878067198c8619d66e6fb552faf","tarball":"https://registry.npmjs.org/display-notification/-/display-notification-1.0.1.tgz","integrity":"sha512-PxmX5+V70CO/g1tN2kg+3ewGQS07Z7zpM3yXjbEuen9ZePkdLol/72N3+wdg5tdSHVbbDUig8LSMDygUmX3xkA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDlRb4OEJp7Qj2IDrHru6G879tXJ63ekICmX4Pgcl5y+QIhAK2kvRtCb0SasOz63QEGYJ1e3dEK4uSpL+wxXJxl0F04"}]},"directories":{}},"1.0.2":{"name":"display-notification","version":"1.0.2","description":"Display a notification (OS X 10.9+)","license":"MIT","bin":{"display-notification":"cli.js"},"repository":{"type":"git","url":"https://github.com/sindresorhus/display-notification"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"os":["darwin"],"scripts":{"test":"node test.js"},"files":["index.js","cli.js"],"keywords":["cli","bin","osx","mac","applescript","display","notification","center","notify","notifier"],"dependencies":{"escape-string-applescript":"^1.0.0","get-stdin":"^4.0.1","minimist":"^1.1.0","run-applescript":"^1.0.0"},"devDependencies":{"ava":"0.0.4"},"gitHead":"a0072e8110be623af000f3f7791e740b12db5156","bugs":{"url":"https://github.com/sindresorhus/display-notification/issues"},"homepage":"https://github.com/sindresorhus/display-notification","_id":"display-notification@1.0.2","_shasum":"87935f72010ed2aaaf68371e5cb910a055e52ad8","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"dist":{"shasum":"87935f72010ed2aaaf68371e5cb910a055e52ad8","tarball":"https://registry.npmjs.org/display-notification/-/display-notification-1.0.2.tgz","integrity":"sha512-yadT+lnAFUsioRH6YJbGeDqNDDnId+0moYIM20vUiD2LnCsh58Ib8K7jiRw9kLchYYG/esAn4wNIavT8jQ2+SA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDvBs8z/GRKhsox3vWQo7JFRwCcFWAqZzhTgdpU/OX25gIhAOGgPYivxCnBlUIabehxsgcXxCq5iZlMAisfgAcToJ5p"}]},"directories":{}},"2.0.0":{"name":"display-notification","version":"2.0.0","description":"Display a notification (OS X 10.9+)","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/display-notification.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["display","notification","notify","show","osx","mac","applescript","center","notifier"],"dependencies":{"escape-string-applescript":"^1.0.0","run-applescript":"^3.0.0"},"devDependencies":{"ava":"*","xo":"*"},"xo":{"esnext":true},"gitHead":"d7d794eee71134d4314bf9a6c265adc453fb163b","bugs":{"url":"https://github.com/sindresorhus/display-notification/issues"},"homepage":"https://github.com/sindresorhus/display-notification#readme","_id":"display-notification@2.0.0","_shasum":"49fad2e03289b4f668c296e1855c2cf8ba893d49","_from":".","_npmVersion":"3.8.9","_nodeVersion":"4.4.2","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"49fad2e03289b4f668c296e1855c2cf8ba893d49","tarball":"https://registry.npmjs.org/display-notification/-/display-notification-2.0.0.tgz","integrity":"sha512-TdmtlAcdqy1NU+j7zlkDdMnCL878zriLaBmoD9quOoq1ySSSGv03l0hXK5CvIFZlIfFI/hizqdQuW+Num7xuhw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDRu5Xom2CPjB4v4bVUQEKS0OvenYDsd3gOr5zaa6wGvwIhALSOSmhUtpGgL34DOU1lo7NLvjkE+TnaCDvhnRK9KcIH"}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/display-notification-2.0.0.tgz_1462098602873_0.22007992444559932"},"directories":{}},"3.0.0":{"name":"display-notification","version":"3.0.0","description":"Display a notification (macOS)","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/display-notification.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=12"},"scripts":{"test":"xo && ava"},"keywords":["display","notification","notify","show","macos","mac","applescript","center","notifier"],"dependencies":{"escape-string-applescript":"^3.0.0","run-applescript":"^5.0.0"},"devDependencies":{"ava":"^3.15.0","xo":"^0.39.1"},"gitHead":"c3124972d12af3fe7a6e6f4286792d31f74720c9","bugs":{"url":"https://github.com/sindresorhus/display-notification/issues"},"homepage":"https://github.com/sindresorhus/display-notification#readme","_id":"display-notification@3.0.0","_nodeVersion":"16.0.0","_npmVersion":"7.10.0","dist":{"integrity":"sha512-/qAvqRy4zWP847zJc1GvXOc+AV1l9/ECKPA7APrLnqjur0o5liMM4bDJ/b1hnJo6Tyb5BfOHyyd4vn9lCh/NSg==","shasum":"e9f801952abe71bb88d30a80abb794d3a8396468","tarball":"https://registry.npmjs.org/display-notification/-/display-notification-3.0.0.tgz","fileCount":4,"unpackedSize":3427,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgkFk+CRA9TVsSAnZWagAAl5cP/1Sn0TOQE/r0svw5TKeU\ncLvQalRDnfOhCcIKbd1yEaQZbe4FvQ4dPcfetB+0sb8wEzht1x0ck4ZeTueO\nLi5iTFrmypilE6O6dZYeGet6/DsiyJl8em4ZQO+2w/E22WlWARGtyyHCKBlP\nupTv1m3T5Q4sPXfE/kHVKUTy7pW+NPzC9axEcsSHv5oYzEe4qxw5YYzhTd7L\nRIq9ugi9v7LvuVweUHQpVe+0jn5l8xIOfBBzUCAEIaSi2ZB0icAgGS6evX0y\nYuRluNtFJNPTc9bEmqF9MfhzOZ4kdkyYYY8qHh9mpJ6jOCPLmqARDQ7qIbSE\nx8CUFejlPQ8TTVTlbw4VNvg9Mw/8uRBw2Y84DHwKRy8eRl98y2NQWCst2UbY\npghpCjqIbALBCrrRjNGRa1MPBizCdL9H37LxiHrcwYTDRxyB6ToWNurs5o1s\nFbkJEQNyg4es+U5he90xkUPekq3CzZ+YpcWHCj0Rj1T1GuPIdfcgnNVyh/FT\ndKAlDGc6cwagwYIx3rLwQH+cOoj7MkFwXOfUKzTboCDaky/shOYZGgAXOIQ/\nWfYZwld0X50loACQvIlbI95lISqREZn9Ks/VIK2dagYrPe6QIn7SrREac+TH\nOxvZPzngidxxL897E/kvowZOiyIR76wvLFqbB30OUz30D13csmoS1RrQ0Zz9\nl20U\r\n=EZO5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCoJ6Qnh3lp+9Kz0sEJkqIWXG28BEbQMctcnBtgAr7IqQIgSpBClLVw6XKR+I3J3yXqWmFls9Mm3LyAg0UXFLPOGJ4="}]},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/display-notification_3.0.0_1620072766172_0.9431662919658139"},"_hasShrinkwrap":false}},"readme":"# display-notification\n\n> Display a notification *(macOS 10.9+)*\n\n![](screenshot.png)\n\n## Install\n\n```\n$ npm install display-notification\n```\n\n## Usage\n\n```js\nimport displayNotification from 'display-notification';\n\nawait displayNotification({\n\ttitle: 'Unicorns',\n\tsubtitle: 'Rainbows',\n\ttext: 'Cake',\n\tsound: 'Bottle'\n});\n```\n\n## API\n\n### displayNotification(options)\n\nReturns a promise that resolves when the notification is shown.\n\n#### options\n\nSpecify at least a `title` or `text`.\n\n##### title\n\nType: `string`\n\nTitle of the notification.\n\n##### subtitle\n\nType: `string`\n\nSubtitle of the notification.\n\n##### text\n\nType: `string`\n\nContent of the notification.\n\n##### sound\n\nType: `string`\\\nValues: `Basso` `Blow` `Bottle` `Frog` `Funk` `Glass` `Hero` `Morse` `Ping` `Pop` `Purr` `Sosumi` `Submarine` `Tink`\n\nName of the sound located in `~/Library/Sounds` or `/System/Library/Sounds`:\n","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"time":{"modified":"2022-06-15T05:10:29.056Z","created":"2014-05-16T22:41:08.948Z","0.1.0":"2014-05-16T22:41:08.948Z","1.0.0":"2014-08-06T13:57:40.215Z","1.0.1":"2014-08-18T18:17:20.784Z","1.0.2":"2015-02-16T17:33:11.652Z","2.0.0":"2016-05-01T10:30:03.291Z","3.0.0":"2021-05-03T20:12:46.298Z"},"homepage":"https://github.com/sindresorhus/display-notification#readme","keywords":["display","notification","notify","show","macos","mac","applescript","center","notifier"],"repository":{"type":"git","url":"git+https://github.com/sindresorhus/display-notification.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"bugs":{"url":"https://github.com/sindresorhus/display-notification/issues"},"license":"MIT","readmeFilename":"readme.md","users":{"rchk":true,"goliatone":true,"dylanf":true,"obeza":true,"iamjohnbarker":true}}