1.0.6 • Published 2 years ago

@adam-chalmers/google-home v1.0.6

Weekly downloads
3
License
ISC
Repository
github
Last release
2 years ago

Google Home

A simple package for sending messages to a Google Home on the local network that wraps the google-assistant library for ease of use.

Installation

To use this package, you'll need to do some additional setup. Follow the installation instructions here to get started.

Usage

To use this package, simply import the package and instantiate the class with the required configuration:

import { GoogleHome } from "@adam-chalmers/google-home";

const homeConfig = {
    keyFilePath: "YOUR_API_KEY_FILE_PATH.json",
    savedTokensPath: "YOUR_TOKENS_FILE_PATH.json"
};
const home = new GoogleHome(homeConfig);

Typescript

For TypeScript users, this package also exports the GoogleHomeConfig interface to make setup easier.

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

4 years ago