npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

gd-fetch

v0.0.3

Published

A simple library to interact with Geometry Dash.

Downloads

30

Readme

gd-fetch

How to install, setup and use gd-fetch?

1 - Install: npm i gd-fetch or npm i gd-fetch@version.

Valid Versions: 0.0.1 • 0.0.2-BETA • 0.0.2 • 0.0.3-BETA • 0.0.3

2 - Require the library in your project:

const gd = require('gd-fetch');

3 - Make use of the functions available for the version of the library you use, offers.

Documentation

For old methods, goto gd-fetch

Additons:

• Fix to social (media) object of fetchUser.

• Update to diffString.

diffString - Now takes 3 parameters

• diff (read old docs)

• type (read old docs)

• dtype - Integer -1 to 6.

Providing -1 or 0 will make it just say Demon.

2 is Easy Demon, 3 is Medium Demon, 4 is Hard Demon, 5 is Insane Demon, 6 is Extreme Demon.

Providing higher or lower values than specified above will result in a rejection.

External sources and own sources

String | MDN

Object | MDN

Number | MDN

Promise | MDN

Function | MDN

Another source you may refer to, can be w3schools.

Error codes (registering accounts or common errors in general)

0 - Error response from this library itself, can be caused by unknown error or invalid form data. GENERAL

-1 - Server-sided (unknown), can be caused if the server denies the action or server returning nothing. GENERAL

-2 - Username taken, caused by username you try to use for your account is alredy in use. ACCOUNT

-4 - Invalid username, caused by username being invalid e.g too long or invalid characters such as dots, paranthesis etc. ACCOUNT

-6 - Invalid email / email alredy in use ( / Banned mail), caused my using an email alredy or not meeting certain criterias in use (or one banned from the GD servers). ACCOUNT

Developers

Rageous0

Website

Github

npm

Twitter

zCri

Github

gd-fetch links

gd-fetch

Github repo

gd-fetch docs 0.0.1

gd-fetch docs 0.0.2-BETA

gd-fetch docs 0.0.2

gd-fetch docs 0.0.3-BETA

gd-fetch docs 0.0.3

Each versions docs just includes the features that got in that specific version!

Up to date since?

The README was last updated and written to the 2nd of February (2019).

Also if you have concerns please report it as an issue on the github repo, and we'll try to figure it out!