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

ioserv

v0.1.3

Published

A library for connecting to UnrealIRCd servers as a server. Useful for making things similar to network services, Syn, etc.

Downloads

2

Readme

IoServ

A framework to make IRC network services.

Usage:

bot.init(config)

Starts the bot with config.txt, or if no config.txt found it uses config parameter.

Config options:

server [String]: What server to connect

modules [Array]: What modules to load (you can load/unload modules later with bot.load and bot.unloadm)

port [Number]: What port will bot connect to server

sid [Number]: Server ID that will be used, make sure you don't use the same for other server.

passwd [String]: Password to use for authentication

desc [String]: Description used by server while connecting

sname [String]: Name your server will have, make sure you don't use it for other server or one of the servers won't connect

permissions [Object]: {host: permissions} host is the user's hostname (a string), and permissions is a number.

bname [String]: The nick that services bot will use

bhost [String]: Fake host that bot will use when it's presented to network

bot.say(msg, target)

Sends a message to a user or channel.

msg [String]: message being sent to target

target [String]: channel or user the message is being sent to

bot.kill(target, reason)

Kills a user from the network.

target [String]: user that is being killed from the network

reason [String]: Reason for the kill

bot.chghost(target, host)

Changes an user's shown hostname (real one only seen to opers that use WHOIS).

target [String]: nick of users

host [String]: new host for the user

bot.jupe(target, reason)

SQUITs and JUPEs a server, avoiding it from connecting

target [String]: target server

reason [String]: reason used for SQUIT, also new server's description.

bot.samode(target, modes)

Forcibly changes a channel modes. Useful for getting op in channels.

target [String]: channel being affected

modes [String]: modes being changed

bot.addline(target, reason, time, type)

Adds a line to a target, it can be GLine (G), IP Ban (Z), Nick ban (Q) or Spamfilter (F)

target [String]: ident@host being targeted

reason [String]: Reason for the line

time [Number]: How many secconds the line lasts (If time is 1 or undefined, ban wil last until it's removed)

type [String]: Line type, defaults to GLine

bot.delline(target, type):

Removes a line from the target.

target [String]: ident@host that has the line

type [String]: line type being removed

bot.saveConfig()

Saves variable config to config.txt

bot.rsocket(port, passwd)

Starts RCON server. Gives level 101 to clients.

port [Number]: Port that RCON will listen on

passwd [String]: RCON password

bot.nicks

Contains a object will all nicks on the network.

bot.perms(host)

Gets host's permissions level.

host [String]: Host to query for

bot.load(module)

Loads a module

module [String]: Module to be loaded

bot.execCmd(parsed)

Executes a command

parsed [Object]: Output of bot.parseLine(data)

bot.parseLine(line)

Parses a line from the uplink.

line [String]: Raw line from server

bot.socket

Contains socket used for connection, uses "socket" default module.