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

@saxx/no-noobs-apis

v1.0.6

Published

A collection of easy-to-use APIs, including imageToPrompt API and more to come.

Readme


NO-NOOBS-APIS

@saxx/no-noobs-apis is a collection of powerful and easy-to-use APIs designed to enhance your projects with various functionalities. It includes shortenURL, imageToPrompt, tikSearch, ytdl, alldl, aiDetector, instaSearch, and pinSearch, with plans for more in the future.

npm npm npm


What's New

v1.0.3

  • alldl API:
    • Fixed 404 error handling for a smoother experience.
  • New Features:
    • Added aiDetector: Detect AI-generated content with precision.
    • Added instaSearch: Search and retrieve Instagram content.
    • Added pinSearch: Search and retrieve Pinterest content.

Features

  • imageToPrompt API: Converts images to textual prompts.
  • shortenURL API: Shortens a provided URL.
  • tikSearch API: Searches TikTok videos based on a query.
  • ytdl API: Retrieves download links for YouTube videos.
  • alldl API: Downloads videos from a wide range of sites with detailed metadata.
  • aiDetector API: Detects AI-generated text with ease.
  • instaSearch API: Fetches Instagram content by search query.
  • pinSearch API: Searches Pinterest content and retrieves results.
  • Easy-to-use API structure for seamless integration.

Installation

To install the library, use npm:

npm install @saxx/no-noobs-apis@latest

Usage

Here�s how to use @saxx/no-noobs-apis:

Importing the Library

const { shortenURL, imageToPrompt, tikSearch, ytdl, alldl, alldlSupportSite, aiDetector, instaSearch, pinSearch } = require('@saxx/no-noobs-apis');

Example Usage

Shorten URL

shortenURL("https://www.google.com")
  .then(result => console.log("Shortened URL:", result))
  .catch(error => console.error("Error shortening URL:", error));

Image to Prompt

imageToPrompt("https://i.ibb.co/dB0zKZ4/image.jpg")
  .then(result => console.log("Image Prompt:", result))
  .catch(error => console.error("Error generating prompt:", error));

TikTok Search

tikSearch("marvel 4k edit", 2)
  .then(result => console.log("TikTok Results:", result))
  .catch(error => console.error("Error searching TikTok:", error));

YouTube Download

ytdl("https://youtu.be/fVPDf9UQE3k")
  .then(result => console.log("YouTube Download URL:", result))
  .catch(error => console.error("Error downloading YouTube video:", error));

All Video Downloader

alldl("https://www.instagram.com/reel/DDuZosrS9YE/")
  .then(result => console.log("Alldl Data:", result))
  .catch(error => console.error("Error fetching video:", error));

Supported Sites for Video Downloads

alldlSupportSite()
  .then(result => console.log("Supported Sites:", result))
  .catch(error => console.error("Error fetching supported sites:", error));

AI Detector

aiDetector("How can I help you today?")
  .then(result => console.log("AI Detector Result:", result))
  .catch(error => console.error("Error detecting AI content:", error));

Instagram Search

instaSearch("nature photography")
  .then(result => console.log("Instagram Search Results:", result))
  .catch(error => console.error("Error searching Instagram:", error));

Pinterest Search

pinSearch("cat", 5)
  .then(result => console.log("Pinterest Search Results:", result))
  .catch(error => console.error("Error searching Pinterest:", error));

API Reference

shortenURL(url: string)

Shortens a URL.

  • Parameters:
    url (string): The URL to shorten.
  • Returns: Shortened URL as a string.

imageToPrompt(imageUrl: string)

Converts an image URL to a textual prompt.

  • Parameters:
    imageUrl (string): The URL of the image.
  • Returns: Textual description based on the image.

tikSearch(query: string, count: number)

Searches TikTok videos based on a query.

  • Parameters:
    query (string): Search query.
    count (number): Number of results to fetch.
  • Returns: A list of TikTok video results.

ytdl(videoUrl: string)

Fetches download links for a YouTube video.

  • Parameters:
    videoUrl (string): The YouTube video URL.
  • Returns: Download links for the video.

alldl(videoUrl: string)

Downloads a video from the given URL.

  • Parameters:
    videoUrl (string): The video URL.
  • Returns: Metadata and download URL for the video.

alldlSupportSite()

Retrieves a list of supported sites for alldl.

  • Returns: An array of supported site domains.

aiDetector(content: string)

Detects AI-generated content in a given text.

  • Parameters:
    content (string): Text to analyze.
  • Returns: Detection results with probabilities.

instaSearch(query: string)

Searches Instagram for content based on a query.

  • Parameters:
    query (string): Search query.
  • Returns: Instagram search results.

pinSearch(query: string, count: number)

Searches Pinterest for content.

  • Parameters:
    query (string): Search query.
    count (number): Number of results to fetch.
  • Returns: Pinterest search results.

Error Handling

The library provides descriptive error messages for:

  • Invalid input data.
  • Network issues.
  • API errors.

Dependencies

The project uses the following dependencies:

  • axios: For making HTTP requests.
  • cheerio: For parsing and manipulating HTML in Node.js.
  • form-data: For creating and handling multipart/form-data streams.
  • fs: For interacting with the file system.
  • path: For working with file and directory paths.

Contributing

Contributions are welcome! Submit issues or pull requests on GitHub.


License

This project is licensed under the ISC License. See the LICENSE file for details.


Author


Links