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

@spektrum-ai/sdk

v0.0.5

Published

The SDK for ai coding

Downloads

457

Readme

Spektrum AI SDK

From idea to deployed app in 4 lines of code.

Spektrum is a Vibe Coding SDK that transforms natural language descriptions into fully functional, deployed web applications. Just describe what you want — Spektrum handles the rest.

const project = await spektrum.createProject("finance-dashboard")
const task = await spektrum.createTask(project.id, "Build a finance dashboard with portfolio charts")
await spektrum.codeAndDeploy(task)
const url = await spektrum.getAppUrl(project.id) // Your app is live! 🚀

See It In Action

Check out our working example repository — clone it, add your API key, and deploy your first AI-generated app in under a minute.

Installation

npm install @spektrum-ai/sdk

Requirements: Node.js 20.6.0 or higher

Quick Start

1. Get Your API Key

Sign up at the JigJoy Platform to get your API key.

2. Set Up Environment

Create a .env file:

SPEKTRUM_API_KEY=your_api_key_here

3. Build Something Amazing

import { SpektrumSDK } from "@spektrum-ai/sdk"

const spektrum = new SpektrumSDK()

// Create a project
const { project } = await spektrum.createProject("my-awesome-app")

// Describe what you want to build
const { task } = await spektrum.createTask(
	project.id,
	"E-commerce landing page",
	"Build a modern landing page with hero section, product grid, testimonials, and newsletter signup",
)

// Generate code and deploy
await spektrum.codeAndDeploy(task)

// Get your live URL
const appUrl = await spektrum.getAppUrl(project.id)
console.log(`🎉 Live at: ${appUrl}`)

Live Monitoring on JigJoy Platform

Every task you run via the SDK can be monitored in real-time on the JigJoy Platform. Watch as your application gets built step-by-step:

  • Live AI reasoning — See the AI think through your requirements
  • Real-time code generation — Watch your app being built
  • Deployment progress — Track deployment status
  • Logs & debugging — Access detailed logs when needed
  • App history — View all your deployed apps and their versions

API Reference

createProject(name)

Creates a new project.

const { project } = await spektrum.createProject("my-project")
// project.id → "proj_abc123"

createTask(projectId, title, description)

Creates a task describing what to build. Be as detailed as you want — the more context, the better the result.

const { task } = await spektrum.createTask(
	project.id,
	"Dashboard",
	"Create an analytics dashboard with charts, filters, and data export",
)

codeAndDeploy(task)

Triggers AI code generation and deployment. This is where the magic happens.

await spektrum.codeAndDeploy(task)

getAppUrl(projectId)

Returns the public URL of your deployed application.

const url = await spektrum.getAppUrl(project.id)
// "https://abc123.apps.jigjoy.ai"

leaveComment(taskId, commentText, authorId)

Add feedback or request changes to an existing task. Then call codeAndDeploy again to apply them.

const { task: updatedTask } = await spektrum.leaveComment(task.id, "Add dark mode support", "user-123")
await spektrum.codeAndDeploy(updatedTask)

SDK Methods Summary

| Method | Description | | ------------------------------------------- | -------------------------- | | createProject(name) | Creates a new project | | createTask(projectId, title, description) | Defines what to build | | codeAndDeploy(task) | Generates code and deploys | | getAppUrl(projectId) | Returns the live app URL | | leaveComment(taskId, comment, authorId) | Requests changes to a task |

Complete Example

For a full working example with step-by-step instructions, check out:

spektrum-sdk-example

Clone it, run npm install, add your API key, and you'll have a deployed finance dashboard in seconds.

License

MIT