New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

warmaitech-mstts

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

warmaitech-mstts

a library for get free mstts service

  • 1.0.4
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

mstts.js

一个免费的微软Azure文本转语音,可直接导出mp3文件的nodejs库

打包

修改: 当包有修改的时候,先修改package.json中的版本号(version),不修改版本号上传会失败

  • 注意事项:上传时不能使用淘宝镜像

npm config set registry https://registry.npmjs.org

  • 这里注意点package.json文件夹 main放入放入当前npm run build 打包后的

以下是流程:

```
cd project root dir
npm init
(auth)
npm publish

```

使用方法

1.命令行

```
npm install -g warmaitech-mstts
mstts -i -o ./test.mp3
```

2.代码中使用

```
npm install warmaitech-mstts

const mstts = require('warmaitech-mstts')

const mp3buffer = await mstts.getTTSData(text,voice,express,role,rate,pitch);
```

Keywords

FAQs

Package last updated on 23 Feb 2023

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc