New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

krypton86

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

krypton86

gimme gimme dat money

  • 0.0.0-canary.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-85.71%
Maintainers
1
Weekly downloads
 
Created
Source

krypton86

A client for krytpon86.com

Installation

You can install the krypton86 client in your local environment by running:

yarn add krytpon86

Configuration

To use the client you must provide an API key located from the krypton86 dashboard either as an environment variable KRYPTON86_API_KEY:

KRYPTON86_API_KEY="sk_live_1234" ./app

Or you can set it on your own before your application starts:

import Krypton86 from "krypton86";

const client = new Krypton86("sk_live_1234");

Usage

Incrementing a unit

const props = {
  loggedIn: false,
  room: "website",
  project: "ibm"
};

await client.incrUnit("customerRef", "User", props);

You can provide an optional amount parameter:

const props = {
  loggedIn: false,
  room: "website",
  project: "ibm"
};

await client.incrUnit("customerRef", "User", props, 1000);

If a customer associated with the customer ref does not exist, one will be created. You can manage customer's in the dashboard.

Keywords

FAQs

Package last updated on 01 Mar 2020

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