Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
csv-to-ssml
Advanced tools
Simple tool to convert a CSV file to SSML. CSV is often more approachable and a lot easier to read.
Small tool to convert CSV instructions to SSML. CSV is often more approachable and a lot easier to read.
This library only only has one dependency.
import fs from "fs";
import { toSSML } from "csv-to-ssml";
fs.readFile("./path-to/instructions.csv", "utf8", (err, csv) => {
const ssml = toSSML(csv);
console.log(ssml);
fs.writeFile("./path-to/instructions.ssml", ssml, () => {});
});
This is a function that takes a string CSV file, and will output a string SSML file.
The CSV file does need a certain set of instructions to be able to put the proper tags around text and breaks.
TEXT, hi there
BREAK, 0.5
TEXT, this is a sample
For more info on SSML see the spec
This is a text node, it currently adds just any text in the table to this.
TEXT, hi there
Since this is a CSV parser any comma are viewed as separators and will be treated as such
This is silence between different instructions. The number notation is in seconds and decimal values are allowed.
BREAK, 1
This is a reference to a link. It will embed an audio file into a SSML sequence.
AUDIO, https://samples.co/example.mp4
This will set the rate of the voice dictation.
PROSODY, slow
This sets the language of the SSML document.
This will erase any information added to the documents prior so put this notation at the top of your CSV document.
LANGUAGE, en-US
FAQs
Simple tool to convert a CSV file to SSML. CSV is often more approachable and a lot easier to read.
The npm package csv-to-ssml receives a total of 0 weekly downloads. As such, csv-to-ssml popularity was classified as not popular.
We found that csv-to-ssml 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.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.