New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

mirror-utils

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mirror-utils

This is a helper utility library for the Google Glass Mirror API.

latest
Source
npmnpm
Version
0.2.1
Version published
Maintainers
1
Created
Source

NodeJS Mirror API Utils

About

This library uses environment variables to configure oauth client. That way, you never need to ship these values, or worry about accidentally committing them to version control. If you're using AWS, Elastic Beanstalk lets you define environment variables easily, There might be an easy way for EC2 also. If you're doing local development, you can dd the following to your ~/.bashrc file:

export MIRROR_CLIENT_ID="<your client id>"
export MIRROR_CLIENT_SECRET="<your client secret>"
export MIRROR_REDIRECT_URL="http://localhost:8080/oauth2callback"

This library requires two APIs to be enabled in the Google Developers Console:

  • Google Mirror API
  • Google+ API

The Google+ API is used to get an id for the user to allow you to easily track them throughout your application.

Usage

Check out the quick start for a full, working example of how to get started.

More documentation to come.

This is a work in progress.

Keywords

glass

FAQs

Package last updated on 27 Oct 2014

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