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

common-things-api

v1.0.1

Published

Isomorphic Library that can make calls to many endpoints and api handling the logical aspect while you just decide the data to be fetched and how it should be consumed

Readme

Free Customizable Package

Common Things API is an open-source package that looks forward in providing a developer-friendly experience when making network request as it provides tons of api and pre-configuration of each api that can be consumed with just a single line of code without having you to craft out a logical network request saving time and lines of code. A product of lots of commonly used apis as listed below:

Let grow the list together by contributing.

Contributing

You’ll need to have Node 10.16.0 or later version on your local development machine (but it’s not required on the server). I recommend using the latest LTS version.

To create a new app, you have to:

Begin by

  1. Fork the repo
  2. Clone this repository to establish your own local copy. This process is straightforward and ensures you have all the necessary files and resources at your fingertips. You can find step-by-step instructions in this helpful article: Cloning a repository on GitHub.com.
  3. Run the app using the command npm i
  4. Check the src folder to get on with the codebase.

What's included

  • rollupjs - The JavaScript module bundler

Usage

You can re-use this for whatever you want or to build something cool with it.

install package:

Install from the command line:

$ npm install @certsoftt/[email protected]
or
$ npm i common-things-api

Install via package.json:

"@certsoftt/common-things-api": "1.0.0"
  • Using the Get class to fetch data. For instance, fetching posts from jsonplaceholder api
import {Get} from "common-things-api"
//or import {Get} from "@certsoftt/common-things-api"

let posts = new Get("posts").api()

this fetches posts from jsonplaceholder api. The api() accepts 1 optional argument which is your endpoint query. For instance, fetching a single post with an id of 50

let post = new Get("posts").api("?id=50")

or programmatically:

let id = value // dynamic value
let post = new Get("posts").api(`?id=${id}`)

License

Licensed under the MIT license.

Documentation

visit documentation on common-things-api