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

phanos

v0.1.4

Published

Simple human like stress test tool. This tools doesn't provide any stat info, or special logging functionality. This tool just walking on yours site as true user.

Downloads

17

Readme

README

Install

$ npm install -g phanos

Requirements

For working this tool you needs of installed PhantomJs browser. PhantomJs will be uploaded automatic until installing. But If you want installed globally PhantomJs you can run: $ sudo bin/install_linux_phantomjs

Options

This tool supports three option parameter:

  1. --url(-u) - required parameter, page address for visit.
  2. --time(-t) - how long walker will be walk. Default 30 seconds.
  3. --walkers(-w) - how much walkers will be init. Default 1.
  4. --rush - if you have set this parameter then Phanos will be work in rush mode, smooth increasing number of connections to quantify of the walkers.
  5. --sitemap - Sitemap url, you provided then Phanos automatic load and parse sitemap file, will found location urls and start crawl. Supports file in local file system, and URL address. Also phanos understand Sitemapindex files. If set then URL parameter will be ignored.
  6. --as - You can set User Agent using this parameter, also Phano have predefined aliases: Google, Bing, Yandex. (in progress!)
  7. --deep - Turn on link collector. Link collector find and add to scan links on a visited page.

Examples

  • $ phanos -u=http://www.google.com/ - Single walker will walk 30 seconds.
  • $ phanos -u=http://www.google.com/ -t=3600 - Single walker will walk 1 hour (3600 seconds)
  • $ phanos -u=http://www.google.com/ -w=20 - 20 walkers will walk 30 seconds.
  • $ phanos -sitemap=http://www.google.com/sitemapindex.xml -w=10 -t=3600 - 10 walkers will walk 1 hour at found locations url in sitemapindex.
  • $ phanos -u=http://www.smth.com/ -w=10 -t=300 --deep - 10 walkers will walk 5 minutes and all found links will add to scan options dynamically.