Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

reflect-node

Package Overview
Dependencies
Maintainers
9
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reflect-node

A client- and server-side library for the Reflect API.

  • 0.2.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
9
Weekly downloads
 
Created
Source

reflect-node

This is a client for the Reflect API. Currently, it's pre-alpha--only a very few set of API endpoints are supported, namely around uploading data.

Installation

This package is indexed in npm.

$ npm install reflect-node

Generating a Signed Authentication Token

Here's an example of how you'd generate a signed authentication token. Signed authentication tokens are base64-encoded HMACs that are signed using your project key pair's secret key.

var reflect = require('reflect-node'),
    params;

params = [
  {
    "field": "My Field",
    "op": "=",
    "value": "My Value"
  }
];

token = reflect.generateToken('<your secret key>', params);
console.log(token);

FAQs

Package last updated on 03 Feb 2017

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc