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

cryptons-api

v2.0.1

Published

A Module to use cryptons api

Downloads

10

Readme

Cryptons API

npm version Build Status Dependency Status

  • Cryptons API Node.JS Client
  • More Functions Will be added soon

What is this package?

  • A fun npm package to use Cryptons API and many more utilities!

Features

  • 🧑 Beginner friendly
  • 🎉 Easy to use
  • ✨ Simple
  • 🔘 Updates Frquently!

Installation

From NPM:

npm install cryptons-api

Configuration

You will need your Cryptons API key to use cryptons-api.

Keys can be found at: https://discord.gg/vUYvswzwMH

Usage

  • Covid Command (For Discord)
const { Covid } = require('cryptons-api')
//world
new Covid({
    message: message,
    country: 'world',
    title: title,
    description: 'Covid Cases',
    color: 'RANDOM',
    footer: 'Made By Cryptons API NPM',
    addFieldOption : true || false
})
// covid
new Covid({
    message: message,
    country: 'india',
    title: title,
    description: 'Covid Cases',
    color: 'RANDOM',
    footer: 'Made By Cryptons API NPM',
    addFieldOption : true || false
})
  • IMDB For Discord.js
const { IMDB } = require('cryptons-api')
new IMDB({
    message: message,
    key: 'IMDB_KEY',
    movie: 'Movie Name'
})
  • Token Utils
const { keyUtils } = require('cryptons-api')
const keyutil = new keyUtils({
    token: 'Cryptons api key'
})
// returns your cryptons api token
keyutil.getKey()

// checks your token
let check = keyutil.checkKey()
console.log(check)
  • Logo Game for Discord.js
const { LogoGame } = require('cryptons-api')
new LogoGame({
    token: 'Cryptons-Token',
    message: message
})
  • Insult
const { insult } = require('cryptons-api')
insult(r =>{
    console.log(r)
})
  • Random Username generator
const { randomusername } = require('cryptons-api')
randomusername(r =>{
    console.log(r)
})
  • Script
const { script }  = require('cryptons-api')
script(r =>{
    console.log(r)
})
  • nameserver
const { namserver } = require('cryptons-api')
nameserver('https://cryptons.ga' , r =>{
    console.log(r)
})
  • Minesweeper For Discord.js
const { MS } = require('cryptons-api')
const ms = new MS({
    size: 20,
    bomb: 10
})
ms.output()
  • Covid and Covid World
// Covid For a country
const { covid } = require('cryptons-api')
covid((country ,cases , recov , death , dischargerate , deathrate , closed , flaglink) =>{ 
    console.log(country  + cases + recov +  death + dischargerate + deathrate + closed + flaglink )
})
//Covid World
const { covidWorld } = require('cryptons-api')
covidWorld((cases , deaths, recov , active, close,mild, critical)=>{
    console.log(cases + deaths + recov +  active + close + mild + critical)
})
  • Discord User Info
const { discorduser } = require('cryptons-api')
discorduser(discord_id , (username , avatar , disriminator , banner , banner_color , accent_color)=>{
    console.log(username + avatar + disriminator + banner + banner_color + accent_color)
    })
  • Stats
const { stats } = require('cryptons-api')
stats((node, platform , cpu , arch , memuse) =>{
    console.log(node + platform + cpu + arch + memuse)
})
  • Random Programing language name
const { script } = require('cryptons-api')
script(r =>{
    console.log(r)
})
  • Meme
const { meme } = require('cryptons-api')
meme((img , title , upvote , downvote , comments , url)=>{
    console.log(`image: ${img} , title: ${title} , upvotes: ${upvotes} , downvotes: ${downvotes} , comments: ${comments} , url: ${url}`)
})
  • Clyde
const { clyde } = require('cryptons-api')
const a = new clyde({
    text: something_here
})
message.channel.send(a)
  • Same Usage as Clyde Captcha cti mocktext pablo pabloeveryone
  • Two Buttons
const { twobuttons } = require('cryptons-api')
const a = new twobuttons({
    btn1: something_here,
    btn2: something_here_as_well,
})

Developers 👨‍💻

Old Client

  • It will be not updated
const api = require('cryptons-api')
const crypton = new api.client({
    token:'key here (optional)'
    })
////////////////////////////////
crypton.tokencheck(res =>{console.log(res)})
////////////////////////////////
crypton.stats((node , platform , cpu , arch , memuse)=>{console.log(`node: ${node}, platform: ${platform} , arch: ${arch} , memuse: ${memuse}`)})
////////////////////////////////
crypton.meme((img , title , upvote , downvote , comments , url)=>{
    console.log(`image: ${img} , title: ${title} , upvotes: ${upvotes} , downvotes: ${downvotes} , comments: ${comments} , url: ${url}`)
})
////////////////////////////////
crypton.discorduser(discord_id , (username , avatar , disriminator , banner , banner_color , accent_color)=>{console.log(all things)})
////////////////////////////////
crypton.insult(insult =>{console.log(insult)})
////////////////////////////////
crypton.nameservers(domain , result=>{console.log(result)})
////////////////////////////////
crypton.userbanner(discord_id , res=>{console.log(res)})
////////////////////////////////
crypton.covidworld((cases , deaths, recovered , active, closedcases,mildcases, criticalcases)=>{console.log(cases + deaths + recovered + active + closedcases + mildcases + criticalcases)})
////////////////////////////////
crypton.covid((country ,cases , recov , death , dischargerate , deathrate , closed , flaglink) => {console.log(country + cases + recov + death + dischargerate + deathrate + closed + flaglink)})