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

logger-system

v2.0.0

Published

![alt text](https://cdn.discordapp.com/attachments/944961145582784582/961681851024560229/Picsart_22-04-06_18-12-56-543.jpg) ## Install **Require Discord.js V13 Or High | Node 16 Or High.** ```sh-session npm i logger-system ``` ## Define Client For Packa

Downloads

7

Readme

alt text

Install

Require Discord.js V13 Or High | Node 16 Or High.

npm i logger-system

Define Client For Package :

  • The Bot Is Require (CHANNEL , REACTION , MESSAGE) Partials
const log = require('logger-system')
const {Client,Intents} = require('discord.js') ////13
const client = new Client({ intents: [
	Intents.FLAGS.GUILDS,
	Intents.FLAGS.GUILD_MESSAGES,
	Intents.FLAGS.GUILD_MEMBERS,
	Intents.FLAGS.GUILD_INVITES,
  Intents.FLAGS.GUILD_MESSAGE_REACTIONS,
  Intents.FLAGS.GUILD_INVITES,


], partials: [
	"MESSAGE",
	"CHANNEL",
  "REACTION"
]});

const logger = new log(client)

logger.on('ready', bot => {
    console.log(`${bot.username} is ready`)
})

client.login('token here')

Reaction Logger :

logger.on('reactionLog', (user,message) => {
    console.log(`
    Emoji Added By : 
    ${user.username}
    in :
    ${message.channel.name}
    message author : 
    ${message.user.username}

    `)
})

File Logger :

  • When Some One Delete Message If The Message Include Attachments The Bot Will Log it
logger.on('fileLog',(url,user,channel) => {
  console.log(`
${user.username} Deleted A message in ${channel.name}
Message Attachment url  : 
${url}
`)
})

Guild Join / Leave Logger :

logger.on('memberJoin', (member,inviter) => {
  console.log(`
${member.username} Joined The Guild By ${inviter.username}
`)
})
logger.on('memberLeave', (member,inviter) => {
  console.log(`
${member.username} Leaved The Guild 
`)
})

Support Server :

Click Here