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

lazycurl

v0.4.0

Published

Unleash the Power of cURL, Effortlessly.

Downloads

8

Readme

LazyCURL

LazyCURL provides a convenient approach for constructing HTTP queries, leveraging the powerful cURL library underneath.

NodeJS License Version

Showing the demo

Installation (NPM)

To set up LazyCURL for CLI Usage, follow these steps:

npm i -G lazycurl

Installation (github)

To set up LazyCURL for development, follow these steps:

git clone https://github.com/EsteveSegura/LazyCURL.git
cd LazyCURL 
npm install # Requires NodeJS installed

Once LazyCURL is installed for development, install it globally on your system using:

npm install -g .

Usage

After installation, you can access the command line tool using:

lazycurl

LazyCURL streamlines the process of crafting HTTP requests, providing a seamless experience for developers.

Features

LazyCURL enhances the power of cURL by offering a suite of features designed to simplify and streamline the process of crafting HTTP requests. Each feature is aimed at providing specific functionality to cater to the diverse needs of web development and testing. Below is a list of features currently supported by LazyCURL, along with their descriptions:

  • The emoji ✅ indicates that the feature is fully implemented and available for use.
  • The emoji ❌ signifies that the feature is not yet implemented or is currently in development.

Explore the range of capabilities LazyCURL brings to your command line:

  • Method (-X [Method]): Choose your HTTP method like GET or POST. It's how you tell the server what you want to do.
  • Header (-H [name:value]): Add extra information to your request with custom headers, like content type or login tokens.
  • Data (--data [data]): Send data to the server, like form inputs for POST requests.
  • Include (-i): Show server response headers in your output, useful for seeing what the server is sending back.
  • Output (--output [file]): Save the server's response to a file, great for downloading files or saving API responses.
  • UserAgent (--user-agent): Change your user agent to test how responses vary for different browsers or devices.
  • Location (--location): Automatically follow redirects, so if the server points you to a new URL, LazyCURL will follow.
  • Insecure (--insecure): Skip SSL certificate verification, handy for development with self-signed certificates.
  • Verbose (--verbose): Get detailed info about your request and response, great for debugging.
  • Cookie (--cookie [name=value]): Include cookies with your request, important for sites that track sessions with cookies.
  • User (--user [user:password]): Pass login information for sites that require a username and password.
  • Proxy (--proxy [protocol://user:password]@ProxyHost:[port]): Connect through a proxy server, useful for testing or privacy.