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

httpfy

v1.0.0

Published

A Incredible fast and Powerful HTTP toolkit

Downloads

33

Readme

HTTPFY curently in beta so you may see problems. Please open a Issue on GitHub and report them!

Getting Started

Basic

Prerequisites

You need NodeJs 10 or later to run this tool. You can install NodeJs :

  • On Linux
    sudo apt-get install nodejs
  • On Termux
    pkg install nodejs-lts

Installation

Global

npm

npm install -g -s httpfy

npx

npx httpfy -f <file>

Local

git clone https://github.com/devXprite/httpfy.git
cd httpfy
npm install
node index.js -h

Uninstall

npm remove httpfy -g

Usage

httpfy -f <filename containing urls>

Options

| Short | Options | Type | Description | | ------ | ------------------- | --------- | ------------------------------------------------------------- | | -v | --version | probe | output the current version | | -f | --file | string | input file containing list of URLs | | -sc | --status-code | probe | display response status-code | | -cl | --content-length | probe | display response content-length | | -ct | --content-type | probe | display response content-type | | -rt | --response-time | probe | display response time | | -lc | --line-count | probe | display response body line count | | -wc | --word-count | probe | display response body word count | | -ws | --web-serve | probe | display web server name | | -rl | --redirect-location | probe | display redirect location | | -m | --method | probe | display http request method | | -nc | --no-color | probe | disable colors in cli output | | -ttl | --title | probe | display page title | | -fl | --failed | probe | display failed request's | | -nr | --no-redirect | probe | don't follow redirects | | -mr | --max-redirect | number | maximum redirects to follow | | -t | --threads | number | maximum cocurrent requests send (default: 100) | | -i | --interval | number | interval between each thread in seconds | | -c | --cookie | string | send cookies (--cookie 'login=Yes') | | -H | --header | string | custom http headers to send (--header 'X-MyHeader: XYZ') | | -x | --request-methods | string | set request methods use 'all' to probe all HTTP methods | | -pc | --protocol | string | set request Protocol (default: "https") | | -path | --request-path | string | path or list of paths (-path admin,login) | | -param | --request-param | string | set request parameters (-param id=5) | | -ua | --user-agent | string | set custom useragent | | -time | --timeout | number | set request timeout in seconds | | -mc | --match-code | numbers[] | match response with specified status code (-mc 200,404) | | -ml | --match-length | numbers[] | match response with specified content length (-ml 800,900) | | -mlc | --match-line-count | numbers[] | match response body with specified line count (-mlc 100,102) | | -ms | --match-string | strings[] | match response with specified strings (-ms admin) | | -o | --output-file | string | save results in a single file (-o result.txt) | | -of | --output-folder | string | save response of url in multiple files (-of result) | | -h | --help | probe | display help for command |

Examples

Basic

  • httpfy -f urls.txt -sc -ttl -fl
    Basic

Try all Http Methods

  • httpfy -f urls.txt -sc -m -x all
    All

File/Path Bruteforce

  • httpfy -f urls.txt -path admin,login -sc
    Brute