You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

xfarr-api

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

xfarr-api

api wrapper from api.xfarr.com

3.0.1
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

xfarr-api

Full API Implementation inside NodeJS Module

More info at https://api.xfarr.com/ Get ApiKEY here https://api.xfarr.com/auth/signin

And you can upgrade your apikey to premium or VIP, you can see more details at https://api.xfarr.com/pricing

Installation

npm:

$ npm install xfarr-api

yarn:

$ yarn add xfarr-api

Simple to Use

CommonJs (CJS) syntax

const APIWrapper = require('xfarr-api');

ECMAScript Modules (ESM) syntax

import APIWrapper from 'xfarr-api';

Example

const xfar = new APIWrapper('ApiKEY');

// How to call the API
xfar.[feature].[name](parameter)
  .then(response => {
    console.log(response);
  })
  .catch(error => {
    console.error(error.message);
  });

// Example of an API call
xfar.stalking.npmjs("xfarr-api")
  .then(response => {
    console.log(response);
  })
  .catch(error => {
    console.error(error.message);
  });

Thanks To

Lui
Dika ArdiantaLui
PedoJomok

Feedback

If you have any feedback, please reach out to us at xfar.dev@gmail.com

Keywords

xfarr-api

FAQs

Package last updated on 15 Oct 2023

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