Socket
Socket
Sign inDemoInstall

ivona-node

Package Overview
Dependencies
2
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.4.0 to 0.4.1

example/ivona.js

27

example/example.js

@@ -1,16 +0,19 @@

var fs = require('fs'),
Ivona = require('../src/main');
const fs = require('fs');
const ivona = require('./ivona');
var ivona = new Ivona({
accessKey: 'IVONA_ACCESS_KEY',
secretKey: 'IVONA_SECRET_KEY'
});
ivona.listVoices()
.on('complete', function(voices) {
console.log(voices);
});
ivona.listVoices().on('complete', function(voices) {
console.log(voices);
});
// [string] text - the text to be spoken
// [object] config (optional) - override Ivona request via 'body' value
ivona.createVoice('This is the text that will be spoken.')
.pipe(fs.createWriteStream('example/test.mp3'));
ivona.createVoice('<This is the text that will be spoken.', {
body: {
voice: {
name: 'Salli',
language: 'en-US',
gender: 'Female'
}
}
}).pipe(fs.createWriteStream('text.mp3'));
{
"name": "ivona-node",
"version": "0.4.0",
"version": "0.4.1",
"description": "Ivona Cloud (via Amazon services) client library for Node",

@@ -5,0 +5,0 @@ "main": "src/main.js",

@@ -1,4 +0,4 @@

# Node IVONA
# Node IVONA
Node client library for [IVONA Speech Cloud API](http://www.ivona.com/us/). Yes, this is up-to-date and uses the most recent AWS Signature 4 scheme (thanks to [aws4](https://github.com/mhart/aws4)). All you need is your Ivona access and secret (the one only given to you once upon creating it) keys.
Node client library for [IVONA Speech Cloud API](http://developer.ivona.com/en/speechcloud). Yes, this is up-to-date and uses the most recent AWS Signature 4 scheme (thanks to [aws4](https://github.com/mhart/aws4)). All you need is your Ivona access and secret (the one only given to you once upon creating it) keys.

@@ -109,1 +109,2 @@ ## Supported API Calls

- @UnaliWear
- @Rawa

@@ -173,3 +173,3 @@ 'use strict';

data = null;
req.emit('end');
req.emit('end', res);
});

@@ -401,2 +401,2 @@

module.exports = Ivona;
module.exports = Ivona;
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc