2.1.1 • Published 3 months ago

fluxpoint-js v2.1.1

Weekly downloads
5
License
MIT
Repository
github
Last release
3 months ago

fluxpoint-js

Fluxpoint-JS is the offical Fluxpoint JavaScript api library built for the fluxpoint api! https://fluxpoint.dev

Docs

https://fluxpointdev.github.io/fluxpoint-js/

JavaScript

const { FluxpointClient } = require("fluxpoint-js");
const client = new FluxpointClient({
  token: "token",
});

const main = async () => {
  console.log(await client.sfw.images.getNeko());
};

main().catch((e) => {
  console.log(e);
});

TypeScript

import { FluxpointClient, IResponse, IErrorResponse } from "fluxpoint-js";

const client: FluxpointClient = new FluxpointClient();

const main: Function = async () => {
  console.log(await client.sfw.gifs.getNeko());
};

main().catch((e: IErrorResponse) => {
  console.log(e);
});

CoffeeScript

{ FluxpointClient } = require "fluxpoint-js"
client = new FluxpointClient { token: "token" }

main = () ->
     console.log await client.sfw.gifs.getNeko()


main().catch (e) ->
     console.log e
1.1.1

3 months ago

2.1.1

3 months ago

2.1.0

3 months ago

2.0.3

1 year ago

2.0.2

1 year ago

2.0.1

1 year ago

2.0.0

1 year ago

1.0.16

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.5

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.2.16

2 years ago

1.1.16

2 years ago

1.0.15

2 years ago

1.0.13

2 years ago

1.3.16

2 years ago

1.0.12

2 years ago

1.0.1

5 years ago

1.0.0

5 years ago