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

foxhole-client

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

foxhole-client

A Foxhole War API client for the web and Node.js.

  • 2.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

foxhole-client.js

npm Build Status codecov XO code style

A Foxhole War API client for the web and Node.js.

It also includes complete typings for the API (see below for more info).

import Foxhole from 'foxhole-client';

const foxhole = new Foxhole();

const warState = await foxhole.war.fetchState();

console.log(warState);

Installation

npm i foxhole-client
# or
yarn add foxhole-client
# or
pnpm i foxhole-client

Usage

import Foxhole from 'foxhole-client';

const foxhole = new Foxhole();

Please refer to the generated documentation for more detailed info.

You may also want to view the API report.

API Types

If you're using TypeScript and are just interested in the API types you can access them like so:

import type { Api } from 'foxhole-client';

const warState: Api.War.State = /* ... */;

Keywords

FAQs

Package last updated on 09 Jan 2022

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