Socket
Socket
Sign inDemoInstall

simpletts

Package Overview
Dependencies
0
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.0 to 1.3.0

.npmignore

19

package.json
{
"name": "simpletts",
"version": "1.2.0",
"version": "1.3.0",
"description": "A basic TTS manager",
"main": "main.js",
"main": "lib/main.js",
"scripts": {
"start": "node main.js",
"test": "mocha tests/tests.js"
"start": "node lib/main.js",
"test": "gulp"
},

@@ -23,4 +23,11 @@ "repository": {

"dependencies": {},
"devDependencies": {},
"homepage": "https://github.com/Psychopoulet/simpletts#readme"
"devDependencies": {
"gulp": "^3.9.0",
"gulp-eslint": "^2.0.0",
"gulp-exclude-gitignore": "^1.0.0",
"gulp-mocha": "^2.0.0",
"gulp-plumber": "^1.0.0"
},
"homepage": "https://github.com/Psychopoulet/simpletts#readme",
"engines" : { "node" : ">=4.0.0" }
}

@@ -6,11 +6,11 @@

const assert = require('assert'),
SimpleTTS = require(require('path').join(__dirname, '..', 'main.js'));
const assert = require("assert"),
SimpleTTS = require(require("path").join(__dirname, "..", "lib", "main.js"));
// tests
describe('get system type', function() {
describe("get system type", function() {
it('should return a string', function() {
assert.strictEqual('string', typeof SimpleTTS.getTTSSystem(), "TTS system not returned as a string");
it("should return a string", function() {
assert.strictEqual("string", typeof SimpleTTS.getTTSSystem(), "TTS system not returned as a string");
});

@@ -20,5 +20,5 @@

describe('get voices', function() {
describe("get voices", function() {
it('should return a voices array', function(done) {
it("should return a voices array", function(done) {

@@ -34,5 +34,5 @@ SimpleTTS.getVoices().then(function(voices) {

describe('read', function() {
describe("read", function() {
it('should play a text with options', function(done) {
it("should play a text with options", function(done) {

@@ -45,3 +45,3 @@ SimpleTTS.getVoices().then(function(voices) {

it('should play a text without options', function(done) {
it("should play a text without options", function(done) {
SimpleTTS.read("ceci est un test").then(done).catch(done);

@@ -48,0 +48,0 @@ }).timeout(4000);

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