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 🙏

© 2026 – Pkg Stats / Ryan Hefner

massping

v1.0.10

Published

Mass send http requests for test web application

Readme

Massping - Mass send requests for test web application

Node.js Package

Example

massping -c 16 -d 5-10 'http://example.com/ranking.php?channel={1-99}&ts={ms}'

Use up to 16 concurrent requests for ranking page, with an interval of 5-10 seconds for each request, and generate a random number of 1-99 and a timestamp to insert into the parameters.

Table of content

Install

Node version is at least 22

npm i -g massping

Using

massping [options] <target>

Options

-c, --concurrent <num>     Set concurrent workers (default: 16)
-d, --delay <min[-max]>    Delay between cycle in seconds (default: 1-5)
-u, --unit <min[-max]>     Requests per cycle (default: 1)
-H, --header <k:v>         Add custom request header (repeatable)
-C, --cookies <file>       Load cookies.txt or cookies.json  from file
-b, --body <file>          File to use as request text data
-B, --body-binary <file>   File to use as request binary data
-f, --form <file>          File to use as request form data
-m, --method <name>        HTTP method to use 
-r, --referer <rule>       Set referer "root", "same", "none" or any url
-q, --quality <rule>       Add quality test rule (repeatable)
-p, --proxy <url>          Proxy server to use (http/socks5)
-s, --silent               Suppress output logging
-l, --log-level            Set log level (default: notice)
    --http2                Use HTTP/2 protocol
    --tag  <style>         Config tag brackets style (default: {...})
    --max-size <num>       Limit response body size (default: 65535)
    --shutdown <num>       Shutdown if quality is below threshold
-h, --help                 Show this help
    --help-sbl             Show help for SBL
-v, --version              Show version

--form, --http2, --quality, --shutdown haven't working yet.

Target

Target url with SBL tag

SBL

Structured Build Language (SBL) is a domain-specific language used to generate data. Similar to template engines, uses interpolation tags to render data into text. What sets it apart is that its tag are not predefined variables, but rather a syntax governed by specific generation rules.

Simple Demo

  • SBL source code: /{zh,en}/{1:5}?i={100-200}
  • 1st execution: /zh/1?i=123
  • 2nd execution: /en/2?i=163
  • 3rd execution: /zh/3?i=155
  • 4th execution: /en/4?i=178
  • 5th execution: /zh/5?i=200
  • 6th execution: /en/1?i=100
  • 100th execution: /en/5?i=111

Syntaxs

All interval representations are closed intervals. There can be no spaces in syntax.

  • Random min-max
  • Sequence start:end:step
  • Random text <type>minLength-maxLength
    • type t: from A-Z, a-z and 0-9 chars
    • type u: from A-Z chars
    • type l: from a-z chars
    • type w: from A-Z and a-z chars
    • type h: from 0-9 and a-f chars
    • type H: from 0-9 and a-H chars
    • type d: from 0-9 chars
  • Cartesian power text <type>startLength:endLength
    • type be the same as the above
  • Choose
    • random mode: word1|word2|...
    • orderly mode: word1,word2,...
    • from file choose:<filename>, file content one word per line
      • 'choose' lowercase is random mode, and uppercase is orderly mode.
  • time stamp of seconds ts
  • time stamp of milliseconds ms
  • reference #id