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

arius

v0.0.8-d

Published

Arius api

Downloads

4

Readme

arius-api

npm i arius komutu ile modülümüzü indiriyoruz.

Entegre etme

const AriusAPI = require('arius');
const api = new AriusAPI('API-TOKEN');

API Token nerden alabilirim? Arius API destek sunucusuna gelerek Arius API botuna özelden a?apikey yazın sizin için api key oluşturacaktır.

Küfür Filtresi

client.on('message', message => {
    let kufur = await api.kufur();
    if (kufur.some(word => message.content.toLowerCase().startsWith(word))) {
        message.delete({ timeout: 120 })
    message.channel.send(`${message.author} küfür edemezsin.`)
    }
})

Captcha

client.on('message', message => {
    if (message.content == 'captcha') {
        let { kod, url } = await api.captcha(5); // maximum 5 minimum 2
        console.log(kod + ' ' + url) // 59EE1 http://api.suleymanbal.com.tr/captcha/59EE1.png
    }
})

Keko

client.on('message', async message => {
    if (message.content == 'keko') {
        let { yazi } = await api.keko('Merhaba');
        console.log(yazi) // MeRHaBa
    }
})

Şifre

client.on('message', async message => {
    if (message.content == 'sifre') {
        let { sifre } = await api.sifre(32);
        console.log(sifre) // w0pXkkaWmZHfWUIURTMDhhS7xBQvMlsg
    }
})

Aşk Ölçer

client.on('message', async message => {
    if (message.content == 'askolcer') {
        let { seviye, kalp, kalpDc } = await api.askOlcer();
        console.log('yüzde ' + seviye + '% kalp:' + kalp + ' kalpDc: ' + kalpDc) // yüzde 101% kalp:💖💖💖💖💖💖💖💖💖💖💖💖💖💖💖 kalpDc: :sparkling_heart: :sparkling_heart: :sparkling_heart: :sparkling_heart: :sparkling_heart: :sparkling_heart: :sparkling_heart: :sparkling_heart: :sparkling_heart: :sparkling_heart: :sparkling_heart: :sparkling_heart: :sparkling_heart: :sparkling_heart: :sparkling_heart:
    }
})

Balık Tut

client.on('message', async message => {
    if (message.content == 'balıktut') {
        let { mesaj, emoji } = await api.balikTut();
        console.log('Gelen: ' + mesaj + ' ' + emoji) // Gelen: Alabalık Tuttun :fishing_pole_and_fish:
    }
})

Espri

client.on('message', async message => {
    if (message.content == 'espri') {
        let { espri } = await api.espri();
        console.log(espri) // En çok eşek yavrusu nerde bulunur? \n SPA MERKEZİNDE
    }
})

Slot

client.on('message', message => {
    if (message.content == 'slot') {
        let { slot, durum } = await api.slot();
        console.log(slot + ' /\\ ' + durum) // 🍇 : 🍊 : 🍊 /\ Kaybettin!
    }
})

Mesaj yanıtlama Arius mesaj yanıtlama

client.on('message', message => {
    if(message.content === 'c!asd') {
        message.yanitla(`Merhaba, Ben **${client.user.username}**`).catch(err => { console.log('mesaj göndermek için yetkim yok') })
        message.eYanitla(`Merhaba, Ben **${client.user.username}** (etiket)`).catch(err => { console.log('mesaj göndermek için yetkim yok') })
    }
})