New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

pointercrate

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pointercrate

Unofficial Pointercrate API wrapper written in TypeScript

latest
Source
npmnpm
Version
0.1.0
Version published
Weekly downloads
3
-57.14%
Maintainers
1
Weekly downloads
 
Created
Source
PointercrateJS Logo
npm npm NPM
Disclaimer: This library is not entirely finished yet!

PointercrateJS

Unofficial Pointercrate API wrapper written in TypeScript

Installation

NPM

Features

PointercrateJS contains function wrappers for 84% of endpoints, separated into classes. If you want to use a newly added endpoint that was not added to this library yet, use BasePointercrate#fetchRequest or BaseAuthPointercrate#fetchAuthRequest.

Example 1: Get info on Zettabyte by Jenkins

const { Pointercrate } = require("pointercrate");
const pointercrate = new Pointercrate();

console.log(pointercrate.getDemon(22)); // { body: { data: { ... } }, headers: { ... } }
console.log(pointercrate.getDemons({ name: "Zettabyte" })); // { body: [ { ... } ], headers: { ... } }

Example 2: Create account then log in

const { BasicAuthPointercrate } = require("pointercrate");
const pointercrate = new BasicAuthPointercrate("am9uZG91Z2g0NDQ6MjVjTWYzWDZlR1VIcTdrYQ=="); // jondough444:25cMf3X6eGUHq7ka

// Generated by passwordsgenerator.net
console.log(pointercrate.createAccount({ name: "jondough444", password: "25cMf3X6eGUHq7ka" })); // { body: { data: { ... } }, headers: { ... } }
console.log(pointercrate.loginAccount()); // { body: { data: { ... }, token: "<omitted>" }, headers: { ... } }

License

This project is licensed under the MIT License.

Keywords

demon

FAQs

Package last updated on 29 Sep 2021

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