tikmp3

1.0.2 • Public • Published

tikmp3

Tiktok TTS Voice retrieval in Node. Code is based off of a my friend's code.

example

const fs = require("fs");
const tik = require("tikmp3");

(async function() {
  let buff = await tik.get("hello world, i'm the english female voice!");
  fs.writeFileSync("./test-1.mp3", buff);
  console.log("- english female voice test saved to ./test-1.mp3");
  
  buff = await tik.get("hello world, i'm the english male voice!", "en_us_006");
  fs.writeFileSync("./test-2.mp3", buff);
  console.log("- english male voice test saved to ./test-2.mp3");
})();

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i tikmp3

    Weekly Downloads

    2

    Version

    1.0.2

    License

    Unlicense

    Unpacked Size

    3.63 kB

    Total Files

    5

    Last publish

    Collaborators

    • cantfindkernel