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 🙏

© 2025 – Pkg Stats / Ryan Hefner

jquery-request

v0.0.11-0

Published

A micro library to make efficient AJAX calls from nodejs app

Downloads

6

Readme

jquery-request

🚫 UNMAINTAINED 🚫 (Not recommended for use)

jquery-request is an AJAX helper for nodejs apps.

You can use it with your favorite frameworks/libraries like React, Redux, Backbonejs or simply as a request in your nodejs app.

Motivation

Making requests in a nodejs app has always been a tedious task. It's easy to use jQuery AJAX for making requests but you'll end up creating a dirty web of AJAX calls across your app. As the app grows, the number of requests increase and you end up in a mess. Here's where jquery-request comes in. It helps you make all your configurations in one place and use the request API from anywhere in your app. Also, you can mould the APIs in whatever form you're comfortable with. It even makes it easy to write tests for your network calls.

Influences

jquery-request is very much influenced from [isomorphic-fetch]. To make it clear, jquery-request neither implements nor is an extension of any of the libraries stated above. It's just been influenced by the simplicity of the these libraries.

Installation

To install the stable version:

npm install --save jquery-request

How To Use

To do the basic configuration for your requests, you will use setupDefaults. Currently supported default configuration is base_url and headers, which you pass as a plain JSON object. Once done, you can start making your calls using the jquery-request API.

Please Note: The url value you pass in the request APIs, will be appended to the base_url you defined with setupDefaults. Henceforth, initialization with setupDefaults is mandatory.