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

frontapp-node

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

frontapp-node

FrontApp Node.js API Wrapper

  • 0.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

frontapp

FrontApp Node.js API Wrapper

Installation

npm install frontapp-node

Testing

npm test

Running the code locally

Compile using babel:

gulp babel

Require FrontApp:

var FrontApp = require('./dist/index');

Usage

Require FrontApp:

var FrontApp = require('frontapp-node');

Create a client:

Using Personal Access Tokens
var client = new FrontApp.Client('token');

Callbacks

This client library supports two kinds of callbacks:

client.analytics.get({}, function (err, r) {
  // err is an error response object, or null
  // r is a successful response object, or null
});

Promises

This client library also supports using Promises instead of callbacks:

client.analytics.get({}).then(function (r) {
  // ...
});

Analytics

// To get statistics about activities happening in Front, you need to requests the correspondig metrics of the analytics.
client.analytics.get({
  start: '',
  end: '',
  metrics: []
}, callback);

Keywords

FAQs

Package last updated on 03 Dec 2016

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