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

novader

v2.1.5

Published

Economy, Youtube, Spotify Level System, Player, APİ, DB, Reddit

Downloads

22

Readme

NOVADER v2

INNOVATION

BUGS FIXED!
ADDED - RandomKeyCreater
///ADDED : REDDİT POST
//does not support video format
const Novader = require("novader")
const api = new Novader.API()
   let rp = await api.RedditPost("POST_URL")
   console.log(rp)

SYSTEMS

Level System

const Novader = require("novader")
const level = new Novader.Level()
level.on("LevelUp",(upeded,info) => {
 console.log(upeded ,info)
    //TRUE/FALSE { name: 'USERNAME', level: level, xp: xp }
  })

level.upLevel(message) //level upeded?
level.hasLevel(member_id) // user level is there?
level.addLevel(message,{antispam:true}) //levle system
level.get(member_id) //Level Data

level_example

APİ's

const api = new Novader.API()

//lyrics
    let lu1 = await api.Lyrics({"song":"Gangsta Paradise","author":"Coolio"})
    console.log(lu1)
    //OR                                //YOUTUBE_URL
    let lu2 = await api.Lyrics({"url":"https://www.youtube.com/watch?v=fPO76Jlnz6c"})
    console.log(lu2)

    //REDDİT COMMUNİTY
    let reddit = await api.Reddit("communty_name_or_communty_url")
    //EXAMPLE
        let r1 = await api.Reddit("https://www.reddit.com/r/BoneSaures/")
    console.log(r1)
    //OR
   let r2 = await api.Reddit("BoneSaures")
   console.log(r2)

   //REDDİT COMMUNİTY LASTPOST
   let r3 = await api.RedditLastPost("communty_name_or_communty_url")
   console.log(r3)

      //REDDİT POST
   let r4 = await api.RedditPost("POST_URL")
   console.log(r4)

Economy System

const eco = new Novader.Economy();

eco.set("member_id",10) // MONEY INCREASE
 eco.Recieve("member_id",10) // MONEY Decrease 
 eco.has("member_id") // ACCOUNT true/false ?
 eco.Account("member_id") //GET ACCOUNT İD İN MONEY
  eco.reset() // ALL DELETE

Youtube Music Player System

// client added
const player = new Novader.Player(client,{"YOUTUBE":"YOUTUBE_APİ_KEY"});

await player.play(message,"video NAME/URL") //VİDEO PLAY CODE
await player.getInfo("video NAME/URL",) /// Enter the searched to video (FİXED)
player.leave(message) //Sudden Exit from the Current Channel
player.isPlaying(message) //is Playing => True Else Falase

Required module for Music System

npm install ffmpeg-static
npm install ytdl-core@latest

Queue System

const queue = new Novader.Queue("YOUTUBE_APİ_KEY");

queue.set("123",elements.url) //video Data Create and Set
queue.has() //Queue TRUE/FALSE
queue.get("123") //Queue Get "Queue_Namme"
queue.delete("123") //Queue Delete "Queue_Namme"
queue.SkipToNext("123") //Video Skip To Nexted (Beta)

Database System

const db = new Novader.Database({"file":"./filename.json","AutoFile": true,"Jsonspaces":1});
db.all() //FİLE ALL DATA
db.set("data","value") //SET DATA
db.push("data","value") //PUSH CODE
db.push("data","value") //UNPUSH CODE
db.get("data") // GET DATA
db.has("data") // DATA TURE/FALSE ?
db.backup("FileName") //FİLE BACK UP
db.add("NUMBER_DATA",number) // Number +
db.remove("NUMBER_DATA",number) // Number -
db.deleteall() //FİLE DATA ALL DELETE
db.delete("data") //DELETE DATA

LEVEL CODE

const Novader = require("novader")
const level = new Novader.Level()
  level.on("LevelUp",(upeded,info) => {
    console.log(upeded ,info)
    //TRUE/FALSE { name: 'USERNAME', level: level, xp: xp }
    if(upeded){
      console.log(info.name+" Level Upeded! 🥳 "+info.level)
    }
  })
client.on("message",message => {
  if(message.member.user.bot){return}
if(level.hasLevel(message.author.id)){
  console.log(level.hasLevel(message.author.id))
}
  level.addLevel(message,{antispam:true})

})
 client.login("<YOUR_TOKEN>")
 ///SEARCH
 
const scs = new Novader.Search("YOUTUBE_APİ_KEY");

  await scs.getPlaylist("<Youtube-PLAYLİST-url>") // youtube playlist music url infos (RELOADED)
 await scs.SearchVideo("<Youtube-Search>") //SEARCH (FİXED)
 await scs.getVideo("<Youtube-Video-URL>") //VİDEO İNFOS (FİXED)
 await scs.getSpotify("<Spotify-url>") // spotify music url infos (NORMAL)

Search Appearances

//delete api
====> EXAMPLE
const Novader = require("novader")
const Search = new Novader.Search("You_Key");
const eco = new Novader.Economy();
const elements = {
    search:"riv riv riv",
    spotify:"https://open.spotify.com/track/5nTtCOCds6I0PHMNtqelas",
    url:"https://www.youtube.com/watch?v=GIkKGW628aQ",
    id:"GIkKGW628aQ"
}
async function Search() {
    let SearchVideo = await Search.SearchVideo(elements.search)
    console.log(SearchVideo)

    let getVideo = await SearchScript.getVideo(elements.url)
    console.log(getVideo)
  
   let SpotifySearch = await SearchScript.getVideo(elements.spotify)
      console.log(SpotifySearch)

DEVLOPER NOTES

Discord Client Bot System will be added in Novader v5 version.
OR
Chat System will be added.

URL's

Novader v2.1.2 - Lastest Part :)