
Product
Introducing Scala and Kotlin Support in Socket
Socket now supports Scala and Kotlin, bringing AI-powered threat detection to JVM projects with easy manifest generation and fast, accurate scans.
The macOS built-in say
CLI for JavaScript
npm i mac-say
import { say } from "mac-say";
await say("Hello, world!");
await say("Hello! My name is Cellos.", { voice: "Cellos" });
Type: string
The content to be converted to audible speech.
Type: SayOptions
Optional. All available options are listed below:
type SayOptions = {
voice?: string;
rate?: number;
audioDevice?: string;
quality?: number;
inputFile?: string;
outputFile?: string;
networkSend?: string;
channels?: number;
skipRunningCheck?: boolean;
};
Please refer to man say
for usage of all options.
To obtain a list of audio output devices.
Returns a Promise<Device[]>
.
To obtain a list of audio data formats for a file format specified explicitly or by file name.
Returns a Promise<DataFormat[]>
.
Type: string
Formats other than linear PCM are specified by giving their format identifiers (aac, alac).
To obtain a list of writable file formats.
Returns a Promise<FileFormat[]>
.
To obtain a list of voices installed in the system.
Returns a Promise<Voice[]>
.
To obtain the information of the say
process.
Returns a Promise<ProcessDescriptor | undefined>
.
To kill the say process if it's running.
MIT
FAQs
The macOS built-in `say` CLI for JavaScript
The npm package mac-say receives a total of 12 weekly downloads. As such, mac-say popularity was classified as not popular.
We found that mac-say demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Product
Socket now supports Scala and Kotlin, bringing AI-powered threat detection to JVM projects with easy manifest generation and fast, accurate scans.
Application Security
/Security News
Socket CEO Feross Aboukhadijeh and a16z partner Joel de la Garza discuss vibe coding, AI-driven software development, and how the rise of LLMs, despite their risks, still points toward a more secure and innovative future.
Research
/Security News
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.