Socket
Socket
Sign inDemoInstall

xfarr-api

Package Overview
Dependencies
9
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    xfarr-api

api wrapper from api.xfarr.com


Version published
Weekly downloads
2.8K
decreased by-7.92%
Maintainers
1
Install size
2.29 MB
Created
Weekly downloads
 

Readme

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

FAQs

Last updated on 15 Oct 2023

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc