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

suno-prompt-scorer

v1.0.0

Published

Score Suno AI music prompts on a 100-point scale — length, tag collisions, specificity, density. Open-source scoring algorithm behind AceTagGen.com.

Downloads

120

Readme

suno-prompt-scorer

npm version license powered by acetaggen

Score Suno AI music prompts on a 100-point scale — before you burn a credit.

A zero-dependency TypeScript library that scores Suno prompts across four dimensions. The scoring algorithm is the same one powering AceTagGen's free public scorer.

Why

Most Suno prompt-scoring tools are paywalled, scraped from stale wikis, or don't respect Suno's constraints. This package is:

  • Free and open (MIT)
  • Zero dependencies — runs anywhere: browser, Node, edge, Deno
  • Suno-specific — built around the 200-char Style field limit
  • Tested on Suno v4/v4.5 — collision rules come from real generation testing

Install

npm install suno-prompt-scorer

Usage

import { scorePrompt } from "suno-prompt-scorer";

const result = scorePrompt("dark trap, melodic 808 bass, triplet hi-hat rolls, reverb-heavy");

console.log(result.total);      // 94
console.log(result.breakdown);  // Per-metric explanation

Return shape

{
  prompt: string;
  total: number;               // 0–100
  breakdown: Array<{
    label: "length" | "collisions" | "specificity" | "density";
    pct: number;               // 0–100
    status: "good" | "warn" | "bad";
    message: string;           // human-readable explanation
  }>;
  meta: {
    chars: number;
    words: number;
    version: 1;
    tool: "suno-prompt-scorer";
  };
}

What it scores

| Metric | What it checks | |---|---| | Length | Whether your prompt fits Suno's 200-character Style field (Suno silently truncates past this). | | Collisions | Contradictory tag pairs that confuse generation (e.g. lo-fi + crisp, dreamy + aggressive). | | Specificity | Whether you have actual production tags (instruments, FX) or just mood words. | | Density | Tag count — sweet spot is 4–25. Too few is vague, too many dilutes. |

Also available

  • Live tool: https://acetaggen.com/tools/prompt-scorer (same scorer, zero install)
  • Public API: GET https://acetaggen.com/api/suno-score?prompt=... (CORS-enabled)
  • Full builder: https://acetaggen.com — a 12-step questionnaire that assembles Suno-ready prompts from 3,000+ tested tags

License

MIT © Shai Zadok


Built and maintained by AceTagGen — the tag generator built for Suno AI musicians.