
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
text-to-speech-file
Advanced tools
No More Updates: This package is not going to be updated anymore.
Please use newer (and better) NodTTS
package instead.
This is a simple NodeJS module to convert text into speech file. This module uses Google service to convert those text into file therefore, this module depends on internet.
NOTE: Due to usage of free Google Text-To-Speech API, this module can not deal with texts which are over than 200 characters. See here for more information
These are some step by step series that will get you production version of the module in your project
# add to project
yarn add text-to-speech-file
Those steps should add this module to your project's node_module
.
To use this module, simply do import and call synthesize('YOUR_SAMPLE_TEXT_HERE', 'YOUR_FILE_SAVE_PATH_HERE') function of it
// importing
import ttsf from 'text-to-speech-file'
// or
import { synthesize } from 'text-to-speech-file'
// try synthesizing text
ttsf.synthesize('hello from shrotavre!', `${__dirname}/sample-speech.mp3`)
// or
synthesize('hello from shrotavre!', `${__dirname}/sample-speech.mp3`)
Those steps should produce you a sample hello from shrotavre!
sound file.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
These are some step by step series that will get you a development version running in your machine
# setup dependencies
yarn
# build the project
yarn build
# test out script's `synthesize()` function
yarn test
Those steps should produce you a sample hello from shrotavre!
sound file will be generated inside /temp
folder.
FAQs
Convert text to speech file
The npm package text-to-speech-file receives a total of 5 weekly downloads. As such, text-to-speech-file popularity was classified as not popular.
We found that text-to-speech-file demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.