npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

say-something

v0.1.2

Published

Use the Google Translate voice to make you apps and things talk!

Downloads

37

Readme

Say something Build Status

NPM

Say something is a node.js module to make your apps and things talk using the Google Trasnlate Voice. It requeires internet connection.

Install

Use NPM to instal the module

$ npm install say-something

Example

Quick example:

var SaySomehting = require('say-something');
	saySomething = new SaySomehting();

 //Say something
 saySomething.now('I am talking to you!');

 //When start talking
 saySomething.on('talking', function (text) {
   console.log("I'm saying: " + text);
 });

 //After stop talking
 saySomething.on('done', function () {
   console.log("I'm done talking");
 });

Change the default language (en) to 'pt-br' for example:

var SaySomehting = require('say-something');
	saySomething = new SaySomehting({ language: 'pt-br' });

 //Say something
 saySomething.now('Eu estou falando!');

 //When start talking
 saySomething.on('talking', function (text) {
   console.log('Comecei a falar: ' + text);
 });

 //After stop talking
 saySomething.on('done', function () {
   console.log('Terminei de falar');
 });

Documentation

Read the Docs - Link

Author

| twitter/vitorleal | |---| | Vitor Leal |

License

LICENSE