{"_id":"@elmotron9000/tts","_rev":"5-f2b71f154c04db0b45279aa0f444dc95","name":"@elmotron9000/tts","dist-tags":{"latest":"0.0.5"},"versions":{"0.0.1":{"name":"@elmotron9000/tts","version":"0.0.1","description":"Transform text into audio","main":"lib/index.js","types":"lib/index.d.ts","publishConfig":{"access":"public"},"scripts":{"test":"jest --config jestconfig.json","build":"tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","lint":"tslint -p tsconfig.json","prepare":"npm run build","prepublishOnly":"npm test && npm run lint","preversion":"npm run lint","version":"npm run format && git add -A src","postversion":"git push && git push --tags"},"repository":{"type":"git","url":"git+https://github.com/elmotron9000/tts.git"},"author":{"name":"Michael Beemer"},"license":"MIT","bugs":{"url":"https://github.com/elmotron9000/tts/issues"},"homepage":"https://github.com/elmotron9000/tts#readme","devDependencies":{"@types/jest":"^26.0.0","jest":"^26.0.1","prettier":"^2.0.5","ts-jest":"^26.1.0","ts-node":"^8.10.2","tslint":"^6.1.2","tslint-config-prettier":"^1.18.0","typescript":"^3.9.5"},"dependencies":{"@google-cloud/text-to-speech":"^3.0.0"},"gitHead":"b5f3484b7c808141f0971c5ef51dbdcff09a63b5","_id":"@elmotron9000/tts@0.0.1","_nodeVersion":"12.14.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-lnr4UA13ztDc5AzvALeUripAf45aLRkBN6ZjtmecVFT4PAYDiRWXOwIFdT4Hm+XtpxKFsaXtGZqRfKccUgiI4A==","shasum":"ccd9030a9a27d53ecd021d1ae1623dbf5387f834","tarball":"https://registry.npmjs.org/@elmotron9000/tts/-/tts-0.0.1.tgz","fileCount":20,"unpackedSize":25713,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe55OUCRA9TVsSAnZWagAAYnMQAKImBJHM2ZNuBqxMnLnm\n5qMnq6xdK+HflQMK8oE4OpUfjPUAkIHMnI/PKP0x8lj2Fp57AELNiNIeta2d\np0ximLtgD7/0+V8Sm7Ax+F2MrGUgwAJd+vN/4TQYm1fx08MgrI6xU0OQcvKH\n7asYUttvhpXgi6bZUR1aSy+iHkqMh8hkQUaDk8DwB5S5bYbqn+gGnGxqiKfV\nqJs0G3F7zg8siMqwhfJRawadMOsem6/8ebJIHAzUvYEy6QFW1qwagt12FKbi\nQNlgUy9y/9vrX7Tvz9Ox4i/pumB8l09EVoAGkw8cLh82dWZx8xpZe7C2nqUW\nXOLupZEXJLtCfBK4SDPA8dEpgPMKNFrt2VZWOxccBWqU/yKrSutCPv8W3RS8\n6e/s7ZYRhrLXpZ6u1r97RFzdToH2BJqErca8Uf40kfEy1AGfhh0Cbp1edcG1\nt/fsQmkLNhvV0In+XFMzGgf7qf09xBRwI/ZztHlyaPFY0ncR+mVxXqXi195P\nEC3kHIS1rh0+b2O2hNFM/rh1rzLLc8huAcIeIqQHDQ+bZytcMO3y5ybRkwfH\n8iH8juochFPCCZQOptha1wm6bBq9Vdr4egs+fDz3Xb80Ctpf2hqWZTx4ycrx\nc3uevUTUND32NC5FtOyicNtpQp40R5rSPOiCmEyGYkLsCaINMcj+mc87346y\ne7yB\r\n=51SR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCxy+bwQ7itDICfpcs0Nc0pEIzEsQ1PrEhXYmL8ZJl5jwIgPbS7MQ10P70gPiprOcVUqt/HHESoECqf7u5JVwuOrgA="}]},"maintainers":[{"name":"tcarrio","email":"tom@carrio.me"},{"name":"beeme1mr","email":"beeme1mr@gmail.com"},{"name":"dyladan","email":"dyladan@gmail.com"}],"_npmUser":{"name":"beeme1mr","email":"beeme1mr@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tts_0.0.1_1592234899720_0.9425348928057216"},"_hasShrinkwrap":false},"0.0.3":{"name":"@elmotron9000/tts","version":"0.0.3","description":"Transform text into audio","main":"lib/index.js","types":"lib/index.d.ts","publishConfig":{"access":"public"},"scripts":{"test":"jest --config jestconfig.json","build":"tsc","format":"prettier --write \"src/**/*.ts\"","lint":"tslint -p tsconfig.json","prepare":"npm run build","prepublishOnly":"npm test && npm run lint","preversion":"npm run lint","version":"npm run format && git add -A src","postversion":"git push && git push --tags"},"repository":{"type":"git","url":"git+https://github.com/elmotron9000/tts.git"},"author":{"name":"Michael Beemer"},"license":"MIT","bugs":{"url":"https://github.com/elmotron9000/tts/issues"},"homepage":"https://github.com/elmotron9000/tts#readme","devDependencies":{"@types/jest":"^26.0.0","jest":"^26.0.1","prettier":"^2.0.5","ts-jest":"^26.1.0","ts-node":"^8.10.2","tslint":"^6.1.2","tslint-config-prettier":"^1.18.0","typescript":"^3.9.5"},"dependencies":{"@google-cloud/text-to-speech":"^3.0.0"},"gitHead":"9ce180e4209048bf7344d4574d46f01191c50ccf","_id":"@elmotron9000/tts@0.0.3","_nodeVersion":"12.14.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-jWjvwIvIMRN50asLVGv/iPVYRB4Y5+wxciP9eNf6NlxLtEG5pRgtzS7GRyaPa1Nrre6DE7TktMKYPnD5C23l1w==","shasum":"c243924fbabac18e2e1eb0a722e4ef866e5ff586","tarball":"https://registry.npmjs.org/@elmotron9000/tts/-/tts-0.0.3.tgz","fileCount":20,"unpackedSize":27325,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe555nCRA9TVsSAnZWagAAJx0P/0lFBOQnTfkgP3g9Y+Vb\nl4Ld2RUP2G+hdPK04dgg/eSQGjyWK4Vd0Cl3XZNpHPrz5iqrgM4g2tUG4xOo\nzDKRYbpjZ6Fwh/cYiWgt8Jbwa9psSf5OaoccpNp6hK2Mmx9cCq2GuWzOD4Yg\nRoakdjgxGapF8OBYm4mie9wHCpkK74p2c2KJmze4w0yWtybY9k0zy0A1tPZV\nbfwZzONk0742VkWHbu40On2yhH9vqQnrVLtiXMWnRx0L+dPwYN56K54vEOeB\n1dqPPOuXo5dLzgVP5PL46jL6akBWcgBS8DIR9JPhkSCOEoA/vMXGbnTZiIIP\nIuc1WL36v1Q0ZAIIHathedFPPxXpkFDzFXbOIuh8TvpnWtD/vidgbACbiYre\nK1oRN5HiMuqH3MGBmPBwq+KAucHEA4euvnaGXrjvnlhmVPSRT1DhO7qqdU0U\nJcnGKNejd95B06betvzfI1Q8qSP+VMRKVoACLQQaQmB3EyMCs1bfbx11mX2z\nLZunM7J1igBRzYpp1SJAZbDuFnaJDjPVYFoQU2rEQ6Gi3Xq9hZ5BXEqbd5kF\nZKTn+lxcHA67wLztnIVsQRuwcohq5TEAjGagjV3jD464QaiBvLAJ+B9kbZYH\n2858k3IfHCPYaJ3Dh9WlEfUUGbpoWU29O6sT1IuC1L0AiMVg2N9FmKtNaQS3\nMGpW\r\n=WwIC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFtvr1JaOLwMHGX12PY58qhB/WOuikvZ75unfl9zwjd3AiEAnaVS64flGb1Ek5J5ZEnhxpq8FkYiZ85MUourmHT3hTQ="}]},"maintainers":[{"name":"beeme1mr","email":"beeme1mr@gmail.com"},{"name":"dyladan","email":"dyladan@gmail.com"},{"name":"tcarrio","email":"tom@carrio.me"}],"_npmUser":{"name":"beeme1mr","email":"beeme1mr@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tts_0.0.3_1592237671063_0.7284790226317202"},"_hasShrinkwrap":false},"0.0.4":{"name":"@elmotron9000/tts","version":"0.0.4","description":"Transform text into audio","main":"lib/index.js","types":"lib/index.d.ts","publishConfig":{"access":"public"},"scripts":{"test":"jest --config jestconfig.json","build":"tsc","format":"prettier --write \"src/**/*.ts\"","lint":"tslint -p tsconfig.json","prepare":"npm run build","prepublishOnly":"npm test && npm run lint","preversion":"npm run lint","version":"npm run format && git add -A src","postversion":"git push && git push --tags"},"repository":{"type":"git","url":"git+https://github.com/elmotron9000/tts.git"},"author":{"name":"Michael Beemer"},"license":"MIT","bugs":{"url":"https://github.com/elmotron9000/tts/issues"},"homepage":"https://github.com/elmotron9000/tts#readme","devDependencies":{"@types/jest":"^26.0.0","jest":"^26.0.1","prettier":"^2.0.5","ts-jest":"^26.1.0","ts-node":"^8.10.2","tslint":"^6.1.2","tslint-config-prettier":"^1.18.0","typescript":"^3.9.5"},"dependencies":{"@google-cloud/text-to-speech":"^3.0.0"},"gitHead":"8a5a3200c361f5c034d6f60fbfbb198a90cc13a4","_id":"@elmotron9000/tts@0.0.4","_nodeVersion":"12.14.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-kFlVf8IA8Hjg6JomsK8CObTQNdXGc4tCRGdCESfuL1exSUHLVzP0O1L4BFBY+ya5mPxVw69gf6ZB0BYnONcmmA==","shasum":"0e015255c876f95abb78ce5c7d23333d510ebdfe","tarball":"https://registry.npmjs.org/@elmotron9000/tts/-/tts-0.0.4.tgz","fileCount":20,"unpackedSize":27335,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe57QLCRA9TVsSAnZWagAAClEP/1YsjUXAoN/Gf5ffH0Xp\nsocI0lSi4kL+xo+81ymJwIbcyYZ4H+x9TG4g78TfweO73elVCI+lpwjdg9WG\nUaQzfBE6z4kJQCNeQBTz6DLSPmafRcijVSldMuP7mtA/S9q1utPaSz1lMiIo\nThaN5bhVrtZ66azigoqqs1SU3DPkPv7049RxK4lkinTWC0bfCnBJ1gjRKTyO\nwETpGkYuoi2tWweCBAtIIumQpdEkPxYh1AfDhoRcC099ZnTza2kzKsfUH3JZ\nZSoNnlibnG4fLW79od/14oNGWCDRr5B8z/8XcGMh0Xp4ratv+cxmEK6+c5nK\nhtUWFAycA88I63XLJ6X5UxTqgxBU8HT3xbpxs/ezsyw2GXDgt3/ZKTZJyv3M\nyEWRo/ooWvq73Eu7HysyMhpr8//0FDNOmTptZTzOfsE2FAdUDY+tADZn0VZ6\nQetnXku2/cx6qIPP6T4nIRXj38NBQoMRv6Uavmch/axjYsK1gP3DXYhwiTXs\nT+2wsIlZdVVhp5JaLZmdAePp1aVGhlXLYZ+D7d/MjL11zMXUhLj9EyqhyNyC\nR1aARqx8Z0UD9OqZTjLU5NS1Jo5cDpzOA9w4T9i2B0U7hYRSXGF5IARZFhIf\nkiOfa4c7foIU2BB+DpMxNBbnQNJ5s7KguDMJYI7sHtxtP3cXZBD1JEpLk9Z+\nkmJA\r\n=Coqj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCwpoLDoPn2WRLU1BE6hN1UlGRwFSC/zX15luvbVqrbUAIgGllTodGi9LKv7Oba0eHpL1usnA70Wd8ZqCuupHVf6ZA="}]},"maintainers":[{"name":"beeme1mr","email":"beeme1mr@gmail.com"},{"name":"dyladan","email":"dyladan@gmail.com"},{"name":"tcarrio","email":"tom@carrio.me"}],"_npmUser":{"name":"beeme1mr","email":"beeme1mr@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tts_0.0.4_1592243210764_0.34461000202276626"},"_hasShrinkwrap":false},"0.0.5":{"name":"@elmotron9000/tts","version":"0.0.5","description":"Transform text into audio","main":"lib/index.js","types":"lib/index.d.ts","publishConfig":{"access":"public"},"scripts":{"test":"jest --config jestconfig.json","build":"tsc","format":"prettier --write \"src/**/*.ts\"","lint":"tslint -p tsconfig.json","prepare":"npm run build","prepublishOnly":"npm test && npm run lint","preversion":"npm run lint","version":"npm run format && git add -A src","postversion":"git push && git push --tags"},"repository":{"type":"git","url":"git+https://github.com/elmotron9000/tts.git"},"author":{"name":"Michael Beemer"},"license":"MIT","bugs":{"url":"https://github.com/elmotron9000/tts/issues"},"homepage":"https://github.com/elmotron9000/tts#readme","devDependencies":{"@types/jest":"^27.0.1","jest":"^27.2.0","prettier":"^2.4.0","ts-jest":"^27.0.5","ts-node":"^10.2.1","tslint":"^6.1.3","tslint-config-prettier":"^1.18.0","typescript":"^4.4.3"},"dependencies":{"@google-cloud/text-to-speech":"^3.3.1"},"gitHead":"f7e4da16bca3d0cba01b84780131a69c655dbf77","_id":"@elmotron9000/tts@0.0.5","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"integrity":"sha512-0sBf02g/81+sHsHk23dV3uKMKU3V+32Hq2pewHiUItOu4+Y7GjftYIOzhNjD9v4R1PyW+hst4zqRfXrrB3BhKQ==","shasum":"5dd1818d0429804472e814d415b104e7c59c81ac","tarball":"https://registry.npmjs.org/@elmotron9000/tts/-/tts-0.0.5.tgz","fileCount":20,"unpackedSize":28336,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhQPLACRA9TVsSAnZWagAA35MP/0t4iIQtrsWfy8ZCxHNa\nn3EjNs7XZyG+Z/8jN2HUB2CdpNqn+X3vi6XRwJ8VMDPexp1IprQbFCNakKol\neWdq8ccZSu/R+F6k+RqZHSTuW9UNHlOJPlJ9k9Wz7yYxGAsc5U3xphBY2BOK\n2GZ981x2QI78kLBGG7iDOcsEEo9yQiE8P68yVOWQ5OvNf/WHgyaxTcFokcbM\nNGg+ZlXMwq6AjNOXWo47zSJK3oQU2O6yFE28COp4KuCTlp36ykAhgeVIJcB3\nGBQ1erhSI8gNw4v0VUD2FSr/ZQByCutaQz3DTMXyM9qRKLHlFSy3ugZ8/9Lk\neOXahLyecLVkmK0jVmt847MgSnyMmRHhIpjV3Gh8b0YLqvmVMGJzu5da/oi2\ny6+ZzimFPAvH0vdOcC0uRdnIWG2DpTvQu48r5fJRqTkT0c08nVFLy7uuM//e\nga5tfTBnBuvyfSUmMInzH5IotWinhMOeeqVZZW58PchktHKo1hpLKWLvZFdI\nvFCIl23T2NOs+thck3nYxnqUr/F2yA2pXMjwTxx4k3WdVRCB74ttVFbvkvJ8\npoakX7QxemZXAvNWMcHml9Kb3Z2Hl6gFnv13FBqFrl/I1hl0K9tczL7GUwfb\nQFemIKPxdXftAP2OlmwxSLrrHpzyzOnlpphxtVzKdOXAvEDRQ81u/3EsWHAF\nrIeR\r\n=OWtQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIANVyyZ0pNImPt5FZ7RIIbarukVw9MW8J1Bme3ll6e0GAiEA28H9yXG22bduU93R5EKraYa7C3YTu2nlH+M9FF6z0pY="}]},"_npmUser":{"name":"beeme1mr","email":"beeme1mr@gmail.com"},"directories":{},"maintainers":[{"name":"dyladan","email":"dyladan@gmail.com"},{"name":"beeme1mr","email":"beeme1mr@gmail.com"},{"name":"tcarrio","email":"tom@carrio.me"},{"name":"evan-bradley","email":"npm@evanbradley.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tts_0.0.5_1631646400455_0.23943101187097038"},"_hasShrinkwrap":false}},"time":{"created":"2020-06-15T15:28:19.454Z","0.0.1":"2020-06-15T15:28:19.852Z","modified":"2022-04-05T07:22:14.384Z","0.0.3":"2020-06-15T16:14:31.235Z","0.0.4":"2020-06-15T17:46:51.001Z","0.0.5":"2021-09-14T19:06:40.582Z"},"maintainers":[{"name":"dyladan","email":"dyladan@gmail.com"},{"name":"beeme1mr","email":"beeme1mr@gmail.com"},{"name":"tcarrio","email":"tom@carrio.me"},{"name":"evan-bradley","email":"npm@evanbradley.org"}],"description":"Transform text into audio","homepage":"https://github.com/elmotron9000/tts#readme","repository":{"type":"git","url":"git+https://github.com/elmotron9000/tts.git"},"author":{"name":"Michael Beemer"},"bugs":{"url":"https://github.com/elmotron9000/tts/issues"},"license":"MIT","readme":"# Text-to-Speech\n\nAllows for easy access to Google's Text-to-Speech API. It also caches the audio to a temp file.\n\n## Features\n\n- [x] Turns text into ogg audio files\n- [x] Caches to a temp folder\n\n## Installation\n\n```bash\nnpm install --save @elmotron9000/tts\n```\n\nThis library requires API access to Google's Text-to-Speech API on GCP. Follow steps 1-5 found [here](https://cloud.google.com/text-to-speech/docs/quickstart-client-libraries).\n\n## Usage\n\n```ts\n// Don't forget to set the GOOGLE_APPLICATION_CREDENTIALS environment var\nimport { getAudio } from \"@elmotron9000/tts\";\n\n(async () => {\n  const output = await getAudio(\"This is a test\");\n\n  console.log(output.path);\n})();\n```\n\n## Disclaimer\n\nThis was built for a hackathon project. There will be bugs!","readmeFilename":"README.md"}