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

@genart-dev/plugin-styles

v0.2.0

Published

Art styles, movements, and recipes plugin for genart.dev

Downloads

321

Readme

@genart-dev/plugin-styles

Art styles and recipes design layer plugin for genart.dev — search art movements, get style recommendations, extract palettes, and apply recipe-based layer stacks to sketches via MCP tools. Powered by @genart-dev/styles.

Part of genart.dev — a generative art platform with an MCP server, desktop app, and IDE extensions.

Install

npm install @genart-dev/plugin-styles

Usage

import stylesPlugin from "@genart-dev/plugin-styles";
import { createDefaultRegistry } from "@genart-dev/core";

const registry = createDefaultRegistry();
registry.registerPlugin(stylesPlugin);

// Or access individual exports
import {
  referenceLayerType,
  styleMcpTools,
} from "@genart-dev/plugin-styles";

Layer Types (1)

Style Reference (styles:reference)

A non-rendering guide layer that displays the palette and metadata of the applied style recipe. Used by the agent to track which recipe is active on a sketch.

| Property | Type | Default | Description | |----------|------|---------|-------------| | styleId | string | "" | Movement/artist/media ID | | styleKind | string | "movement" | "movement", "artist", or "media" | | recipeId | string | "" | Applied recipe ID | | showPalette | boolean | true | Show color swatches on canvas | | showGuidance | boolean | false | Show agent guidance text |

MCP Tools (8)

All tools are available when the plugin is registered with the core registry.

search_styles

Search art movements, artist profiles, and media types by keyword, era, region, or tags.

{ "query": "japanese", "kind": "movement", "limit": 5 }

get_style

Get full details for a specific art movement, artist, or media type by ID.

{ "kind": "movement", "id": "impressionism" }

list_recipes

List available style recipes, optionally filtered by movement/artist/media, tags, or renderer.

{ "kind": "movement", "styleId": "impressionism" }

get_recipe

Get full details for a specific style recipe including layers, palette, and agent guidance.

{ "id": "impressionism-landscape" }

suggest_style

Given a natural language description of desired aesthetic, suggest matching art styles and recipes.

{ "prompt": "dark moody Japanese ink landscape" }

get_style_palette

Get the color palette(s) for a style movement or specific recipe.

{ "recipeId": "van-gogh-starry-night" }

get_style_timeline

Get a chronological timeline of art movements, optionally filtered by year range.

{ "from": 1850, "to": 1950 }

apply_style

Apply a style recipe by adding a styles:reference guide layer to the current sketch with palette and guidance.

{ "recipeId": "impressionism-landscape" }

Dependencies

License

MIT