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

yaris

v1.1.6

Published

The Official API/Wrapper for https://yaris.rocks/beta

Downloads

19

Readme

We recommend you use discord id's for the tag section and not discord tags. because: People can change there discord tags, and it will mean you won't know who they are. So input the there discord id instead of there discod tag for the 'tag: '

[[ Official API for Yaris || Website: https://yaris.rocks/beta || Yaris Discord: https://discord.gg/qVBtSYXX72 ]]
[[ Note: I do not work for nor own yaris, I just support it so I made this module for it ]]
[[ My discord: Linen#3485 || More updates are to come soon, stay tuned.]]
const yaris = require("yaris")
yaris.setAPIKEY("API KEY HERE") // Replace with your yaris API key.
//=================================\\ USAGE

async function run(){ // this is so we can run this async instead of non-async [ so we can get the results ]
    
    // WHITELIST USER \\
    let user_added = await yaris.add_user({
        tag: "Example#0001 || 123456" /* you can put the users discord tag or discord id */ , 
        data: "Clients HWID", /* The users HWID [ for there roblox exploit ] */
        expires: "" /* leave blank so it never expires */, 
        role: "User" /* Can be anything you put */
    })
    console.log(user_added) // Output: JSON/OBJECT

    // PROJECT INFORMATION \\ 
    let whitelist_info = await yaris.getInfo()
    console.log(whitelist_info) // The projects Information, including the owner, etc

    // BLACKLIST USER \\
    let blacklist_result = await yaris.bl_user({
        data: "Clients HWID", /* The buyer or client's HWID that you want to blacklist */
        reason: "Example" /* This field is optinal */
    })
    console.log(blacklist_result) // Output: JSON/OBJECT
    
    // UNWHITELIST USER \\
    let unwhitelist_result = await yaris.remove_user({
        data: "Clients HWID", /* The buyer or client's HWID that you want to unwhitelist */
    })
    console.log(unwhitelist_result) // Output: JSON/OBJECT

    // GET USERS DATA \\
    let user_data = await yaris.getUser({
        tag: "Example#0001 || 123456" /* The buyers tag you used to whitelist them with */
    })
    console.log(user_data) // Output: JSON/OBJECT
};run();
yaris.add_user(<object> string: tag, string: data, string: expires, string: role) // Whitelist a user || Output: OBJECT/JSON
yaris.remove_user(<object> string: data) // Unwhitelist a user || Output: OBJECT/JSON
yaris.getUser(<object> string: tag) // Gets information of a user || Output: OBJECT/JSON
yaris.bl_user(<object> string: data) // Blacklist a client/buyer || Output: OBJECT/JSON
yaris.getInfo() // Gets the info on an project || Output: OBJECT/JSON

All functions are async, so you have to use await to get the result.