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

useinkjet

v2.0.0

Published

Generative SVG patterns. 200 parametric patterns across 12 categories. Export as SVG, CSS, data URI, React component, or Figma-ready. Halftone, crosshatch, stipple, circuit, topography, herringbone, and 194 more. Zero dependencies.

Readme

inkjet

Generative SVG patterns. 500 parametric patterns across 24 categories. Export as SVG, CSS, data URI, React, Figma-ready, or Tailwind. Zero dependencies.

npm install useinkjet

One function

import { generate } from 'useinkjet'

const { svg } = generate({ pattern: 'crosshatch', color: '#333', scale: 1.5 })

500 Patterns in 24 Categories

Dots (20): dots, halftone, stipple, confetti, polka, bubbles, rings, and more Lines (20): crosshatch, herringbone, chevron, zigzag, wavy, scallop, hatching, contour Grid (18): isometric, hex-grid, blueprint, brick, basket-weave, plaid, parquet, subway Geometric (20): hexagons, penrose, sierpinski, flower-of-life, meander, cube, stars Organic (18): wood-grain, marble, coral, scales, feathers, snowflake, terrain, clouds Texture (16): canvas, linen, denim, leather, carbon-fiber, terrazzo, film-grain, stucco Technical (18): circuit, microchip, schematic, barcode, qr-dots, gear, waveform Artistic (16): watercolor, ink-splatter, charcoal, woodcut, art-deco, bauhaus, pop-art Wave (16): sine, sawtooth, square-wave, ocean, ripple, pulse, interference Noise (16): perlin, simplex, voronoi, fractal, turbulence, plasma, dither, galaxy Cultural (12): sashiko, seigaiha, asanoha, moroccan, celtic-knot, greek-key, aztec, paisley Typography (10): hash, asterisk, brackets, slashes, ampersand, tilde Textile (22): argyle, houndstooth, gingham, buffalo-check, tweed, corduroy, cable-knit, fair-isle Fashion (20): leopard, zebra, snake, crocodile, peacock, lace, fishnet Architectural (22): gothic-arch, tracery, rose-window, crenellation, torii, dome, pagoda Islamic (17): star-8fold, star-12fold, girih, mashrabiya, zellige-star, arabesque, muqarnas Modern (25): memphis, glitch, pixel-art, low-poly, vaporwave, moire, op-art, de-stijl Decorative (25): quatrefoil, ogee, trellis, guilloche, scrollwork, medallion, fleur-de-lis Nature Extended (23): fibonacci, phyllotaxis, nautilus, fern, lightning, constellation, aurora Check (20): checkerboard, glen-plaid, shepherd, madras, tartan, harlequin, tatami Stripe (25): candy-stripe, barber-pole, shadow-stripe, satin, regimental, breton, racing Floral (35): daisy, rose, cherry-blossom, lotus, sunflower, monstera, lavender, ivy, ditsy Retro (35): 8bit-heart, vinyl-grooves, flower-power, space-invader, starburst, neon-sign Abstract (31): blob, flow-field, lissajous, spirograph, strange-attractor, geodesic

6 Export Formats

import { exportPattern } from 'useinkjet'

exportPattern({ pattern: 'halftone' }, 'svg')      // Full SVG
exportPattern({ pattern: 'halftone' }, 'css')      // CSS background-image
exportPattern({ pattern: 'halftone' }, 'datauri')  // Data URI
exportPattern({ pattern: 'halftone' }, 'react')    // React component
exportPattern({ pattern: 'halftone' }, 'figma')    // Figma JSON
exportPattern({ pattern: 'halftone' }, 'tailwind') // Tailwind config

Parameters

Every pattern accepts: color, background, scale, rotation, strokeWidth, opacity, density, seed.

Compose

import { compose } from 'useinkjet'

const svg = compose([
  { pattern: 'dots', color: '#000', opacity: 0.3 },
  { pattern: 'lines-diagonal', color: '#999', opacity: 0.15 },
])

Apply to DOM

import { applyTo } from 'useinkjet'

applyTo(document.querySelector('.hero'), {
  pattern: 'circuit',
  color: '#3b82f6',
  opacity: 0.08,
  scale: 1.5,
})

Disclaimer

Experimental software. DYOR.

License

MIT. Built by 0xDragoon.