Description
unpkg.ai creates JavaScript ES modules on demand from a text description. You put a function description in a URL, such as formatCurrency with its parameter types and return type, and the service uses an AI model to write the module and returns it as importable code. You then import it into your project with a normal import statement. The site lists examples such as a currency formatter, a tip calculator with bill splitting, a password generator, a colour palette generator, a Minesweeper game, a rich text editor and a data dashboard, each with a Try Now button and a View Module link. Requests accept optional parameters such as the AI model and a seed for repeatable output. The site says no signup, no API key and no authentication are needed. Its code is on GitHub, and the service is aimed at dynamic plugins and top-down development.…
Highlights
- ES modules generated from a description in the URL
- No signup or API key needed
- Optional model and seed parameters
- Interactive examples with Try Now
- Built for dynamic plugins
Ratings & Reviews
No ratings yet
Be the first to rate unpkg.ai.
People also visit
System Prompts And Models Of AI Tools
FULL Augment Code, Claude Code, Cluely, CodeBuddy, Comet, Cursor, Devin AI
unpkg.ai FAQ
What is unpkg.ai?
A service that creates JavaScript modules on demand with large language models. You describe a function in a URL and import the result.
Do I need an account?
No. The site says there is no signup, no API key and no authentication.
How do I request a module?
Use GET /esm/ followed by the URL-encoded description of the function, ending in .js, then import it from that URL.
Which AI models can I use?
You can pass a model parameter, with examples such as gpt-4 and claude-3, and a seed for deterministic output.
Where is the source code?
The project is on GitHub at Strawberry-Computer/unpkg.ai.
What are the best unpkg.ai alternatives?
Popular alternatives to unpkg.ai include Empryo, PromptScript and Codinit Dev. See all unpkg.ai alternatives



