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

duncans-api-wrapper

v1.3.9

Published

Simple Api Wrapper

Downloads

50

Readme

Information

Simple API Wrapper for https://apis.duncte123.me/

Installation

Npm:

npm i duncans-api-wrapper

Declaration

JavaScript:

const { DuncateApi } = require('duncans-api-wrapper');

const api = new DuncateApi();

TypeScript (es6):

import { DuncateApi } from "duncans-api-wrapper";

const api = new DuncateApi()

Usage

Instagram:

const search = await api.instagram(username)

Use:

| Usage | Result | | - | - | |search.user.username|Username of Instagram Account| |search.user.full_name|Full Name of Instagram Account| |search.user.is_private|Wether account is private or not| |search.user.is_verified|Wether account is verified or not| |search.user.biography|Biography of Instagram Account| |search.user.followers.count|Number of followers of Instagram Account| |search.user.following.count|Number of accounts user is following| |search.user.uploads.count|Number of posts of Instagram Account| |search.user.profile_pic_url|Profile picture of Instagram Account|

Random String

const search = await api.randomstring(number)

Use:

| Usage | Result | | - | - | |search.data|Random String|

Love

const search = await api.love(name, name)

Use:

| Usage | Result | | - | - | |search.data.names|Both Names| |search.data.score|Love Score| |search.data.score_int|Number of Love Score| |search.data.message|Love message|

Npm

const search = await api.npm(number)

Use:

| Usage | Result | | - | - | |search.data|An array of random meanings of "npm"|

Meme

const search = await api.meme()

Use:

| Usage | Result | | - | - | |search.data.title|Title Of Meme| |search.data.body|Body Of Meme| |search.data.url|Url Of Meme| |search.data.image|Image Url Of Meme|

Joke

const search = await api.joke()

Use:

| Usage | Result | | - | - | |search.data.title|Title Of Joke| |search.data.body|Body Of Joke| |search.data.url|Url Of Joke|

Youtube

const search = await api.youtube(YoutubeApiKey, ChannelId)

Use:

| Usage | Result | | - | - | |search.data.subs|Number Of Subscribers| |search.data.channel|Channel| |search.data.views|Number Of Views| |search.data.videos|Number Of Videos|

Llama

IMAGE MIGHT NOT SHOW ALL DEPENDS ON THE API
const search = await api.llama()

Use:

| Usage | Result | | - | - | |search.data.file|Image of Llama|

Cat

IMAGE MIGHT NOT SHOW ALL DEPENDS ON THE API
const search = await api.cat()

Use:

| Usage | Result | | - | - | |search.data.file|Image of Cat|

Duck

IMAGE MIGHT NOT SHOW ALL DEPENDS ON THE API
const search = await api.duck()

Use:

| Usage | Result | | - | - | |search.data.file|Image of Duck|

Alpaca

IMAGE MIGHT NOT SHOW ALL DEPENDS ON THE API
const search = await api.alpaca()

Use:

| Usage | Result | | - | - | |search.data.file|Image of Alpaca|

Seal

IMAGE MIGHT NOT SHOW ALL DEPENDS ON THE API
const search = await api.seal()

Use:

| Usage | Result | | - | - | |search.data.file|Image of Seal|

Camel

IMAGE MIGHT NOT SHOW ALL DEPENDS ON THE API
const search = await api.camel()

Use:

| Usage | Result | | - | - | |search.data.file|Image of Camel|

Dog

IMAGE MIGHT NOT SHOW ALL DEPENDS ON THE API
const search = await api.dog()

Use:

| Usage | Result | | - | - | |search.data.file|Image of Dog|

Fox

IMAGE MIGHT NOT SHOW ALL DEPENDS ON THE API
const search = await api.fox()

Use:

| Usage | Result | | - | - | |search.data.file|Image of Fox|

Lizard

IMAGE MIGHT NOT SHOW ALL DEPENDS ON THE API
const search = await api.lizard()

Use:

| Usage | Result | | - | - | |search.data.file|Image of Lizard|

Bird

IMAGE MIGHT NOT SHOW ALL DEPENDS ON THE API
const search = await api.bird()

Use:

| Usage | Result | | - | - | |search.data.file|Image of Bird|

Wolf

IMAGE MIGHT NOT SHOW ALL DEPENDS ON THE API
const search = await api.wolf()

Use:

| Usage | Result | | - | - | |search.data.file|Image of Wolf|

Panda

IMAGE MIGHT NOT SHOW ALL DEPENDS ON THE API
const search = await api.panda()

Use:

| Usage | Result | | - | - | |search.data.file|Image of Panda|

Kpop

const search = await api.kpop(name)

or

const search = await api.kpop()

Use:

| Usage | Result | | - | - | |search.data.img|Image of Kpop Star| |search.data.band|Band of Kpop Star| |search.data.name|Name of Kpop Star|