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

dreamcoreify

v1.1.0

Published

Transform images into dreamcore / liminal aesthetic with configurable filters and presets

Downloads

27

Readme

Dreamcoreify

Transform any image into dreamcore / liminal aesthetic.

9 composable filters · 6 built-in presets · transition frame generation · TypeScript + ESM/CJS

中文文档

Install

npm install dreamcoreify

Requires Node.js ≥ 18.

Quick Start

import fs from 'fs';
import { dreamcoreify } from 'dreamcoreify';

const result = await dreamcoreify('./photo.jpg', { preset: 'classic' });
fs.writeFileSync('output.png', result.buffer);

Presets

| Name | Style | |------|-------| | classic | Warm yellow bloom, low contrast, uniform haze | | liminal | Cold green tint, strong vignette, fluorescent overexposure | | nostalgic | Heavy grain, faded tones, warm temperature | | void | Ultra-low saturation, dark haze, deep vignette | | ethereal | High bloom, soft blur, colored grain | | vaporwave | Neon green shadows, hot pink midtones, orange highlights |

import { getPresetNames } from 'dreamcoreify';
console.log(getPresetNames());
// ['classic', 'liminal', 'nostalgic', 'void', 'ethereal', 'vaporwave']

Custom Options

const result = await dreamcoreify('./photo.jpg', {
  preset: 'classic',
  globalIntensity: 0.8,
  bloom: { options: { intensity: 0.7, radius: 20 } },
  grain: { enabled: false },
  output: { format: 'webp', quality: 90 },
});

Fully custom (no preset):

const result = await dreamcoreify('./photo.jpg', {
  adjustments: { options: { brightness: 0.1, contrast: -0.2, saturation: -0.1, temperature: 0.15 } },
  colorGrading: { options: { shadowsTint: '#0a4a2a', midtonesTint: '#ff2090', highlightsTint: '#ffaa20', strength: 0.6 } },
  bloom: { options: { intensity: 0.5, radius: 15, threshold: 170 } },
  haze: { options: { intensity: 0.2, color: '#f5e6d3', distribution: 'gradient-top' } },
  blur: { options: { type: 'gaussian', radius: 1 } },
  chromaticAberration: { options: { offset: 4, angle: 15, radial: true } },
  overexposure: { options: { intensity: 0.3, threshold: 180 } },
  grain: { options: { intensity: 0.3, size: 1, colored: false } },
  vignette: { options: { intensity: 0.5, color: '#000000', roundness: 0.3, feather: 0.6 } },
});

Filters

| Filter | Key Parameters | |--------|---------------| | Adjustments | brightness contrast saturation temperature | | Color Grading | shadowsTint midtonesTint highlightsTint strength | | Overexposure | intensity threshold | | Bloom | intensity radius threshold | | Haze | intensity color distribution | | Blur | type(gaussian/radial/motion) radius angle | | Chromatic Aberration | offset angle radial | | Grain | intensity size colored | | Vignette | intensity color roundness feather |

Each filter supports enabled, opacity, and options.

API

dreamcoreify(input, options?) → Promise<DreamcoreifyResult>

Process an image and return encoded buffer.

  • input — file path, Buffer, or Uint8Array
  • options.preset — preset name
  • options.globalIntensity — scale all effects (0–1)
  • options.output.format'png' | 'jpg' | 'webp'
  • Returns { buffer, width, height, format }

dreamcoreifyRaw(input, options?) → Promise<ImageData>

Process and return raw RGBA pixel data for further manipulation.

dreamcoreifyTransitionFrame(input, frame, options?) → Promise<DreamcoreifyResult>

Generate a single transition frame (0 = original, transitionFrames = full effect).

for (let i = 0; i < 30; i++) {
  const frame = await dreamcoreifyTransitionFrame('./photo.jpg', i, {
    preset: 'classic',
    transitionFrames: 30,
  });
  fs.writeFileSync(`frame_${String(i).padStart(3, '0')}.png`, frame.buffer);
}

Development

npm run build     # tsup → dist/
npm run test      # vitest (30 tests)
npm run dev       # watch mode

License

MIT