{"_id":"@dustin-h/speech-recognition","_rev":"4-7e607cc043cd49c52c65b1c6acda0fc4","name":"@dustin-h/speech-recognition","dist-tags":{"latest":"0.0.9"},"versions":{"0.0.6":{"name":"@dustin-h/speech-recognition","version":"0.0.6","description":"A native plugin for speech recognition","main":"dist/esm/index.js","types":"dist/esm/index.d.ts","scripts":{"build":"npm run clean && tsc","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","npm-publish":"np"},"author":{"name":"Priyank Patel","email":"priyank.patel@stackspace.ca"},"license":"MIT","dependencies":{"@capacitor/core":"latest"},"devDependencies":{"@capacitor/android":"latest","@capacitor/ios":"latest","husky":"^4.2.5","np":"^6.2.4","prettier":"^2.0.5","prettier-plugin-java":"^0.8.0","pretty-quick":"^2.0.1","rimraf":"^3.0.2","typescript":"^3.9.5"},"husky":{"hooks":{"pre-commit":"pretty-quick --staged"}},"keywords":["capacitor","plugin","native"],"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"repository":{"type":"git","url":"git+https://github.com/capacitor-community/speech-recognition.git"},"bugs":{"url":"https://github.com/capacitor-community/speech-recognition/issues"},"gitHead":"13e62bd122f5059a9d3986914d9d2d256f226146","homepage":"https://github.com/capacitor-community/speech-recognition#readme","_id":"@dustin-h/speech-recognition@0.0.6","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","_npmUser":{"name":"dustin-h","email":"dustin.hoffner@gmail.com"},"dist":{"integrity":"sha512-4ESI2zBUAigeFXFik+PcSyey0WFCURq/w2Ekjx5ATxCa2z78i2EcNPbEyfp3jN7yFmYsIy8IcmC2339pTqRIyg==","shasum":"9a025e453a8da7f80e45952f4badc20cec040f5f","tarball":"https://registry.npmjs.org/@dustin-h/speech-recognition/-/speech-recognition-0.0.6.tgz","fileCount":41,"unpackedSize":126419,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgSjsECRA9TVsSAnZWagAA5nMP/1MskOSCcsLuv5vqGEtk\ndwNH79MEqxcG3S4cShTf9v+tK51gmPUSyFvuoW1O8y0iZXFke3ngm34jQ6T+\n/ccYWjKx0AF0boMD/lZ7lNJG3ILnq6CLXxZhNVyB/8CV6ZnmwvLuh+Du4gvD\n/Tz2wzHbIfKD5Xdlso0d2li2KUnN7+2o2igoGxjLym7aLJ7NjJ0D1h7dVQdR\nTspJQZRGR5H/QZ/38ahgk6wR+6TVc1Sq1aM8lhHC3WpX8XcwbdWHW8XBir+n\nWlSEezWIYlJ92M5fF+PtOUTYkZbtUSn+q29x4QvosYC+jh+ZoSPylz1xUVJg\nSpO0AAJKZBmNR8BPUvM49fUcw8FJb3yVqf63hlcm4pJ9/ywX7owR4f8pTBzc\nm5mDY0tI5b96xX5VlOMh2xHvRQEXt0mv4VqkkQYBg6SD3CsBIqM/8WlzmG/t\njYb5QrqOvVMtadYt/YB5PJRbVvp0LlmKci7o3WgfGf2IdFwEeINbSPADdC+B\nWhm58gjSCG6CF7zSovhvaSELGz0qdUkxTGcDQV+yqzj3qiGUmpHCW0g7wLjK\n6lzwpIvWtVtKlLJeQLs84yLe3IjcR8Re1bWh+uia3OmXYhuTKpUN6iZtc/Xr\nymurJrUgmqh5Gkz8K6Qj5LfYGwlY9F5eXudkYDoH4Akmx0l7L/yRKGq1Ax6P\ntefM\r\n=VAav\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBXRsAHGOzqcC/o6Gp75ldfSl1h00+Qhkz/ToQOHBn4SAiEAuzwqxFYrPM09kp+3P8YvFf9HRo4QZBRhHyleCTBtIJ0="}]},"directories":{},"maintainers":[{"name":"dustin-h","email":"dustin.hoffner@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/speech-recognition_0.0.6_1615477508113_0.0693007834534034"},"_hasShrinkwrap":false},"0.0.7":{"name":"@dustin-h/speech-recognition","version":"0.0.7","description":"A native plugin for speech recognition","main":"dist/esm/index.js","types":"dist/esm/index.d.ts","scripts":{"build":"npm run clean && tsc","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","npm-publish":"np"},"author":{"name":"Priyank Patel","email":"priyank.patel@stackspace.ca"},"license":"MIT","dependencies":{"@capacitor/core":"latest"},"devDependencies":{"@capacitor/android":"latest","@capacitor/ios":"latest","husky":"^4.2.5","np":"^6.2.4","prettier":"^2.0.5","prettier-plugin-java":"^0.8.0","pretty-quick":"^2.0.1","rimraf":"^3.0.2","typescript":"^3.9.5"},"husky":{"hooks":{"pre-commit":"pretty-quick --staged"}},"keywords":["capacitor","plugin","native"],"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"repository":{"type":"git","url":"git+https://github.com/capacitor-community/speech-recognition.git"},"bugs":{"url":"https://github.com/capacitor-community/speech-recognition/issues"},"gitHead":"bf2c4aeeca237df976b9089c7f9e39a0e6ee193e","homepage":"https://github.com/capacitor-community/speech-recognition#readme","_id":"@dustin-h/speech-recognition@0.0.7","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","_npmUser":{"name":"dustin-h","email":"dustin.hoffner@gmail.com"},"dist":{"integrity":"sha512-gGVF/k5B1Gvw7ATJPJgA55m5aK2wwP725JpMnxHy0OUx8qIzPGotgqS9qJzwwAxs/TKjRkFC2vB/g1Skx8wEuQ==","shasum":"a44da3acbfce07f0ea69de86ed3960797e550edb","tarball":"https://registry.npmjs.org/@dustin-h/speech-recognition/-/speech-recognition-0.0.7.tgz","fileCount":40,"unpackedSize":125857,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgSj6UCRA9TVsSAnZWagAAdgQP+wTdwflV6Hcq0JrZzmjt\nIKiutH7ToUJ/8YD5GS/P+X6jg/cXttvdrWbzbD9/W3iK9vbUfmXgFSiOf7CV\nagoFjZGgrgxFv8HPQ9e/Hc2j5jrt9IOcMjoKoOnksmgOusK3QODpAUADJj3w\ngz3I83mCkc5xHfKoox1IG9YOdNXwHQDFxdaOgkn5UfWkO7V35aDK4IpfEVgN\n2e0iTipzVW8cwml+MTKdzcqe5bOFuXk4p/G5SojBEDmxY+rufzFNBzFIZm0l\n5MDpElg3cNzp5cWEv+CiIir9hw5wlfBq3yrHAUvSPR4nyLaDVJEZKdhL4/yr\nW/pRW/yCLaCvnuK80bctP8F2BDwGp0QZpfRfR6rY8lY2EPozGw3E9z5McoGF\n2odgP63419NgFlChYOlBR4P/IYWBLLliYzoUCPmVBbiRXiDXc+O8aEH+jSLH\nu0YnYuE3WjhQcRTKdCKCvdcYrfgYBYaecifmuBqjQZbZCNSLXgQ1u2gYfwJn\nGA8SJy/DFDGA+2u5cKLe2Mu7/9DnMBCkTUONUV+UovVXW+YgdYoA9v8U835r\n3y4veEFLPHJGU+trXnRNtY+hYFtnNb1iihmFtgi/XnmDBVFOEV+/LQv4L7Qe\nPfZJdHETKiSS8+TsqZMRywqq4lMyGYeq+RIeOLDxajp41N0EK+LmnDjxmcp8\nDNJh\r\n=0kK2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGmbHtP8xEC59RrxJk/kkTuv5LVTrxmgFwHU4XfJxiaoAiEAhZhZXCeK4zJL0Qu2VGtiBMm8v0oCpFJBZxoB8H9pSsA="}]},"directories":{},"maintainers":[{"name":"dustin-h","email":"dustin.hoffner@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/speech-recognition_0.0.7_1615478420039_0.5726099687825117"},"_hasShrinkwrap":false},"0.0.8":{"name":"@dustin-h/speech-recognition","version":"0.0.8","description":"A native plugin for speech recognition","main":"dist/esm/index.js","types":"dist/esm/index.d.ts","scripts":{"build":"npm run clean && tsc","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","npm-publish":"np"},"author":{"name":"Priyank Patel","email":"priyank.patel@stackspace.ca"},"license":"MIT","dependencies":{"@capacitor/core":"latest"},"devDependencies":{"@capacitor/android":"latest","@capacitor/ios":"latest","husky":"^4.2.5","np":"^6.2.4","prettier":"^2.0.5","prettier-plugin-java":"^0.8.0","pretty-quick":"^2.0.1","rimraf":"^3.0.2","typescript":"^3.9.5"},"husky":{"hooks":{"pre-commit":"pretty-quick --staged"}},"keywords":["capacitor","plugin","native"],"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"repository":{"type":"git","url":"git+https://github.com/capacitor-community/speech-recognition.git"},"bugs":{"url":"https://github.com/capacitor-community/speech-recognition/issues"},"gitHead":"d03c47f02d870fc2e6a65af17ae33b39f88f0f92","homepage":"https://github.com/capacitor-community/speech-recognition#readme","_id":"@dustin-h/speech-recognition@0.0.8","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","_npmUser":{"name":"dustin-h","email":"dustin.hoffner@gmail.com"},"dist":{"integrity":"sha512-VPtVm59osIn7pFldu5vRZWYiSHM4yMM167+jPbBirrDvl/P+dfDCWzxBn/zkc+g630aYeN9iKQ3xVDH03/QXDA==","shasum":"fff22c68a6088ab208834f58cc087f9e703acbd4","tarball":"https://registry.npmjs.org/@dustin-h/speech-recognition/-/speech-recognition-0.0.8.tgz","fileCount":41,"unpackedSize":126397,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgSj+KCRA9TVsSAnZWagAAFpQP/A2ruIZbirGW+Lg/H00s\nfhuIhl6AM1WzbCpMH97+tutT/AMCB7pB73xqL1L0QlbGsphJTOExzSWLgaBQ\nDwc9hdhnbIeaZhpf7UQexz2P0z4mDV5LRzC5+ovC7u/M7lUnsiZDMucDj47K\n3RHxxf/jONiNWVN9Lt5m/prbiTQKNa0EKbW5LGzNiqcIot1VPuTj1I8uh9zV\npBkuiChVNmMPXNhdGPUTEqqpWrs1rKGgBJkMyXdDTcHjhkXnElezzSls7qiO\nlfVRrK1Vm5e2U64/UpcWlO9R+vkyxb6WDhz0FH2YKKr7Ys/PiB4bpZhkA6tf\n8BelWOHcfjSebqOm0ffHIm5QvjEwQEMM7gMzCOG41LvOBIREQE+jOuVucpRw\n5xomOqymx+F0pYxtpOC8t6Fh30JtCkC2xj/jTdTxjpAk+j/gEMHAcw8Uf4zR\neVnL4cocigbxG2kAPA3DSxCuwdP1q4w/LEDVg65magZ/5o3NtGPmhu7MG2ii\nlsFdKMMsSvMYxpYYgN9hS8R/SYgJp59dYwfP6JH3FKfDZXkzPja3kFCXJmAo\nZF1e3VT6wSKD7R4cZRFVPwRwx+KdqTbtFjjW4Zo3aZhWUYSYdvydKBVBbcAE\nRz9eF90JUIkTet824maUSLNp9MOFCO2uWDiCCcuyg60vp/95bIhfjkgQhLVX\nAsjm\r\n=ggUw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF542MRsvVbGAyYLsldNTg8c6BaujVZ75tc4VvR1dvomAiAMrGtVGWjHV+MN0IZH6Ccp/wmyMQRw9WX74mAQj7OTUQ=="}]},"directories":{},"maintainers":[{"name":"dustin-h","email":"dustin.hoffner@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/speech-recognition_0.0.8_1615478666047_0.20759572755978906"},"_hasShrinkwrap":false},"0.0.9":{"name":"@dustin-h/speech-recognition","version":"0.0.9","description":"A native plugin for speech recognition","main":"dist/esm/index.js","types":"dist/esm/index.d.ts","scripts":{"build":"npm run clean && tsc","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","npm-publish":"np"},"author":{"name":"Priyank Patel","email":"priyank.patel@stackspace.ca"},"license":"MIT","dependencies":{"@capacitor/core":"latest"},"devDependencies":{"@capacitor/android":"latest","@capacitor/ios":"latest","husky":"^4.2.5","np":"^6.2.4","prettier":"^2.0.5","prettier-plugin-java":"^0.8.0","pretty-quick":"^2.0.1","rimraf":"^3.0.2","typescript":"^3.9.5"},"husky":{"hooks":{"pre-commit":"pretty-quick --staged"}},"keywords":["capacitor","plugin","native"],"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"repository":{"type":"git","url":"git+https://github.com/capacitor-community/speech-recognition.git"},"bugs":{"url":"https://github.com/capacitor-community/speech-recognition/issues"},"gitHead":"3304821127ca589bed9f45071bf24aba32d57a7b","homepage":"https://github.com/capacitor-community/speech-recognition#readme","_id":"@dustin-h/speech-recognition@0.0.9","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","_npmUser":{"name":"dustin-h","email":"dustin.hoffner@gmail.com"},"dist":{"integrity":"sha512-P2ymcbBTpnRRowSp12x2VmQmSmcUtnF601bClb5rzSMQkddVOXcYGRcEQWyqgwp30GIsJojYWcEBO4WebOY5iQ==","shasum":"a887fa33ec551f414d93822424b71733a9991d24","tarball":"https://registry.npmjs.org/@dustin-h/speech-recognition/-/speech-recognition-0.0.9.tgz","fileCount":41,"unpackedSize":126397,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgSyJLCRA9TVsSAnZWagAArwEP/2Lo42H4RAIfOaNHDN5K\nxgvLE3lYl/S1gFmUdx/deBs16XRAMMJH+cBJlSblzLR51ovE8rNYGI+CoVI9\nBFaULnDhCcP020NyLYg6c5ttyiXMEYrcrC6ImNy+3J3MYSICy0x9sLPNJykQ\nH0CrflDDSzZxTq9dmhK2OTateVm7iSmOEtAJ1UcYokP8GKZ7gHrqPq7CPmHY\nJvgpqEcDfInmvWY+9sIGvlUftkbagKDLQNYPTBAEG+rHz9gR+bWlUXk6oEnd\nkZvXIPpNawzjUHzEd1oCSCBAEpVG0m1AAMYgt+kIpcq+6d+CVQxQjkKl0K1O\nDjXvovUXL0liN7h6VTjtyj4XgE+BRTytJOQvuI7W1BkXkK29K5BvE43n5W6o\n7Gz8Squh+bqvKiSTM+YWY0BT+cw276TsJzPdVk8HrOf21ZMrsSt9SZ1gJ3rE\nTXP3pHx6STLvvOCvjGOFEOCkWAcpFDAzdECMaf8f7QZBJaJuoiwskNSGSv2A\nr8f8V0ZFEKuOMBWkHWNno/ADXMhGvmyNBdn/Ozb+4KESKKwdG2gBc+kXXkzV\nxK16BSUNM6niiwFzC5F0a58hAKgNTqCXXHNhV6stBTiAW0oiDOaM2J5sMeM/\nH4vMh2gq1QSlG8j7Cu4DnU5gpW3KgsMf4K4hYAP2YzIgAqiY9VVIeyuRUwP+\ndaUG\r\n=o1At\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDmpLSd9eeMMXV6i28g70xw8B943/i8TZGjzdkPu8zmewIgP3u52DDianovqHHI24rPYETvlZIATNz6Bw7cKjHDCXY="}]},"directories":{},"maintainers":[{"name":"dustin-h","email":"dustin.hoffner@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/speech-recognition_0.0.9_1615536715145_0.5392632517261478"},"_hasShrinkwrap":false}},"time":{"created":"2021-03-11T15:45:08.041Z","0.0.6":"2021-03-11T15:45:08.421Z","modified":"2022-04-05T06:09:26.355Z","0.0.7":"2021-03-11T16:00:20.224Z","0.0.8":"2021-03-11T16:04:26.209Z","0.0.9":"2021-03-12T08:11:55.269Z"},"maintainers":[{"name":"dustin-h","email":"dustin.hoffner@gmail.com"}],"description":"A native plugin for speech recognition","homepage":"https://github.com/capacitor-community/speech-recognition#readme","keywords":["capacitor","plugin","native"],"repository":{"type":"git","url":"git+https://github.com/capacitor-community/speech-recognition.git"},"author":{"name":"Priyank Patel","email":"priyank.patel@stackspace.ca"},"bugs":{"url":"https://github.com/capacitor-community/speech-recognition/issues"},"license":"MIT","readme":"# Capacitor Speech Recognition Plugin\n\nCapacitor community plugin for speech recognition.\n\n## Maintainers\n\n| Maintainer    | GitHub                                      | Social                                           | Sponsoring Company |\n| ------------- | ------------------------------------------- | ------------------------------------------------ | ------------------ |\n| Priyank Patel | [priyankpat](https://github.com/priyankpat) | [@priyankpat\\_](https://twitter.com/priyankpat_) | Ionic              |\n\nMaintenance Status: Actively Maintained\n\n## Installation\n\nTo use npm\n\n```bash\nnpm install @capacitor-community/speech-recognition\n```\n\nTo use yarn\n\n```bash\nyarn add @capacitor-community/speech-recognition\n```\n\nSync native files\n\n```bash\nnpx cap sync\n```\n\niOS Platform: No further action required.\n\nAndroid Platform: Register the plugin in your main activity:\n\n```java\nimport com.getcapacitor.community.speechrecognition.SpeechRecognition;\n\npublic class MainActivity extends BridgeActivity {\n\n  @Override\n  public void onCreate(Bundle savedInstanceState) {\n    super.onCreate(savedInstanceState);\n\n    // Initializes the Bridge\n    this.init(\n        savedInstanceState,\n        new ArrayList<Class<? extends Plugin>>() {\n\n          {\n            // Additional plugins you've installed go here\n            // Ex: add(TotallyAwesomePlugin.class);\n            add(SpeechRecognition.class);\n          }\n        }\n      );\n  }\n}\n```\n\n## Configuration\n\nNo configuration required for this plugin\n\n## Supported methods\n\n| Name                  | Android | iOS | Web |\n| :-------------------- | :------ | :-- | :-- |\n| available             | ✅      | ✅  | ❌  |\n| start                 | ✅      | ✅  | ❌  |\n| stop                  | ✅      | ✅  | ❌  |\n| getSupportedLanguages | ✅      | ✅  | ❌  |\n| hasPermission         | ✅      | ✅  | ❌  |\n| requestPermission     | ✅      | ✅  | ❌  |\n\n## Usage\n\n```typescript\nimport { Plugins } from \"@capacitor/core\";\n\nconst { SpeechRecognition } = Plugins;\n\n/**\n * This method will check if speech recognition feature is available on the device.\n * @param none\n * @returns available - boolean true/false for availability\n */\nSpeechRecognition.available();\n\n/**\n * This method will start to listen for utterance.\n * @param language - language key returned from getSupportedLanguages()\n *        maxResults - maximum number of results to return (5 is max)\n *        prompt - prompt message to display on popup (Android only)\n *        partialResults - return partial results if found\n *        popup - display popup window when listening for utterance (Android only)\n * @returns Promise<{ matches: String[] }> - Returns the final result when stopped\n */\nSpeechRecognition.start({\n  language: \"en-US\",\n  maxResults: 2,\n  prompt: \"Say something\",\n  partialResults: true,\n  popup: true,\n});\n\n/**\n * This method will get the partialResults if activated on start. (only on iOS)\n * @param eventName = \"partialResults\"\n * @param callback\n * @returns void\n */\nSpeechRecognition.addListener(\"partialResults\", (data) => {\n  console.log(\">\", data.matches);\n});\n\n/**\n * This method will stop listening for utterance\n * @param none\n * @returns void\n */\nSpeechRecognition.stop();\n\n/**\n * This method will return list of languages supported by the speech recognizer.\n * @param none\n * @returns languages - array string of languages\n */\nSpeechRecognition.getSupportedLanguages();\n\n/**\n * This method will check for audio permissions.\n * @param none\n * @returns permission - boolean true/false if permissions are granted\n */\nSpeechRecognition.hasPermission();\n\n/**\n * This method will prompt the user for audio permission.\n * @param none\n * @returns void\n */\nSpeechRecognition.requestPermission();\n```\n","readmeFilename":"README.md"}