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

azuryapi

v1.0.4

Published

The official way of using Azury API 4 Node.JS

Downloads

5

Readme

Azury API 4 Node.JS

Azury's Official way of using it's API!

Welcome to Azury's official NPM package for using our Web API package! Everything is operated on the api servers, this NPM package serves as a middleman for giving your data to the servers and getting data back from the servers. It makes everything easier working on projects that you need this API package for!

This NPM package requires no async(hronous) usage so no awaits or asyncs anywhere while using this package This NPM package requires a stable connection and some form of technical competence

Got any problems, report them here

Install here

let { Client } = require("azuryapi");
import { Client } from "azuryapi";

or if we aren't as significant...

let { Client: azuryClient } = require("azuryapi");
import { Client as azuryClient } from "azuryapi";
npm i azuryapi@latest

Simple to use and easy to get started!

Just look!

Using Node.JS without using variables


let { Client } = require("azuryapi");
let azuryClient = new Client("YourToken") // To get one, join our server discord.gg/azury !!!

azuryClient.use("commandName", {
    propertyName: propertyValue // You will need properties to configurate different endpoints depending on how the command is structured.
} ,(result) => { // Learn more about endpoints here! https://api.azury.cc/endpoints
    console.log(result) 
}) // It's as simple as that!

Using TypeScript without using variables


import { Client } from "azuryapi";
let azuryClient = new Client("YourToken") // To get one, join our server discord.gg/azury !!!

azuryClient.use("commandName", {
    propertyName: propertyValue // You will need properties to configurate different endpoints depending on how the command is structured.
}, (result) => { // View endpoints here! https://api.azury.cc/endpoints
    console.log(result) 
}) // It's as simple as that!

Or you don't want to use functions inside the function? Just define it as a variable Using Node.JS!


let { Client } = require("azuryapi");
let azuryClient = new Client("YourToken") // To get one, join our server discord.gg/azury !!!

let command = azuryClient.use("commandName", {
    propertyName: propertyValue // You will need properties to configurate different endpoints depending on how the command is structured.
}); // It's as simple as that!

console.log(command);

Using TypeScript


import { Client } from "azuryapi";
let azuryClient = new Client("YourToken") // To get one, join our server discord.gg/azury !!!

let command = azuryClient.use("commandName", {
    propertyName: propertyValue // You will need properties to configurate different endpoints depending on how the command is structured.
}); // It's as simple as that!

console.log(command);

See that? You can just get started easily!

Heres more advanced stuff

Client settings

You can add some features to the client for more debugging or testing purposes! Check!

  • logToConsole - Boolean Log extra details to console!


let { Client } = require("azuryapi");
let azuryClient = new AzuryAPI("YourToken", {
    logToConsole: true
});

// Get extra details for debugging purposes!
  • detailedFetchLogs - Boolean Get Fetch logs from fetches while using fetch related commmands


let { Client } = require("azuryapi");
let azuryClient = new AzuryAPI("YourToken", {
    detailedFetchLogs: true
});

// Get extra details for debugging purposes!

Extra commands

Find!

Find details about a command!

Node.JS


let { Client } = require("azuryapi");
let azuryClient = new Client("YourToken") // To get one, join our server discord.gg/azury !!!

let findData = azuryClient.find("gpt3");

console.log(findData)

TypeScript


import { Client } from "azuryapi";
let azuryClient = new Client("YourToken") // To get one, join our server discord.gg/azury !!!

let findData = azuryClient.find("gpt3");

console.log(findData)

Changelogs

1.0.4

  • Added a find command (Search details of a command).
  • Bug Fixes
  • Code has been minified for better performance and size for those who aren't so fortunate with space or memory.

1.0.3

  • Custom Query support
  • Allow support of not adding function to the use function.
  • Bug Fixes

1.0.2

  • Error handing to web services added and additional error handling..