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

cyfe

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

cyfe

Simple wrapper to talk with the Cyfe API

  • 1.0.1
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

Cyfe

Simple wrapper to talk with the Cyfe API.

Installation

$ npm i cyfe

Examples

First, add a Push API widget (Add Widget > Custom > Push API) and find your ID.

const Cyfe = require('cyfe');
const cyfe = new Cyfe({
   id: '<your widget key>', // e.g. 5df77205376f07353893125957962
});

cyfe.pushIncrement({
  key: 'Activations', // Can be any key. This will show up in the chart.
}).then(() => {
  console.log('Incremented by 1');
}).catch(err => {
  console.error('Error:', err);
});

FAQs

Package last updated on 16 Dec 2019

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