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

@ebdev/ngx-image-editor

v0.2.2

Published

Professional Angular image editor with free and premium feature tiers

Readme

@ebdev/ngx-image-editor

Professional Angular image editor with layers, filters, drawing, and a free forever core. Premium tools unlock with an offline signed license key.

Homepage: ngx-image-editor.ebdev-design.com

Install

npm install @ebdev/ngx-image-editor
# Optional — required only for premium PDF import
npm install pdfjs-dist

Import styles once in your app:

@import '@ebdev/ngx-image-editor/styles.css';

For AVIF export, copy the packaged WASM encoder from node_modules/@ebdev/ngx-image-editor/assets to assets/ngx-image-editor with your application's build assets configuration. If you serve it elsewhere, set avifWasmUrl in provideImageEditor.

Quick start

import { provideImageEditor } from '@ebdev/ngx-image-editor';

export const appConfig = {
  providers: [
    provideImageEditor({
      // optional — free tier works without a key
      licenseKey: 'YOUR_KEY',
      theme: 'dark',
    }),
  ],
};
import { ImageEditorComponent } from '@ebdev/ngx-image-editor';

@Component({
  imports: [ImageEditorComponent],
  template: `
    <ngx-image-editor
      theme="dark"
      style="height: 640px"
      (exported)="onExported($event)"
    />
  `,
})
export class EditorPage {
  onExported(result: unknown) {
    console.log(result);
  }
}

Free vs Premium

| Feature | Free | Premium | | --- | --- | --- | | Canvas, upload, drag & drop | ✓ | ✓ | | Image / text / shape layers | ✓ | ✓ | | Move, resize, rotate, crop | ✓ | ✓ | | Zoom / pan, undo / redo | ✓ | ✓ | | Layers panel, opacity | ✓ | ✓ | | Basic filters | ✓ | ✓ | | Guides, grid, alignment | ✓ | ✓ | | PNG / JPEG / WebP / AVIF / GIF / TIFF export | ✓ | ✓ | | Brush & eraser | | ✓ | | Masks, groups, blend modes | | ✓ | | Advanced selections | | ✓ | | Clone / healing | | ✓ | | Perspective / warp | | ✓ | | Layer styles, adjustment layers | | ✓ | | Extended filters, SVG export | | ✓ | | PDF import (pages as images) | | ✓ | | PSD / RAW / color management | | ✓ (phase 3) |

Keyboard shortcuts

| Action | Shortcut | Alternative | | --- | --- | --- | | Move / Text / Shape / Crop | V / T / U / C | | | Brush / Eraser | B / E | | | Transform | Mod+T | F | | Undo / Redo | Mod+Z / Mod+Shift+Z | | | Cut / Copy / Paste / Duplicate | Mod+X / Mod+C / Mod+V / Mod+D | | | Deselect | Mod+Shift+A | Esc | | Toggle rulers | Mod+R | R | | Delete | Delete | | | Pan (hold) | Space | | | Export / Open | Mod+S / Mod+O | |

Mod is ⌘ on macOS and Ctrl on Windows/Linux. Override via provideImageEditor({ shortcuts }).

macOS

Safari and Chrome keep ⌘T, ⌘R and ⌘⇧A for themselves, so those actions have alternatives that the page always receives (F, R, Esc). Both variants work on every platform; on macOS the tooltips show the alternative.

Modifier-clicks accept ⌘ as well as ⌥ — that covers zoom out with the Zoom tool, magic erase with the Eraser, and setting the source point for Clone and Healing. Tool tooltips are written from the placeholders {altClick} / {altDrag} and rendered per platform, so a custom ToolbarItem can use them too:

import { resolveModifierHints, isAltModifier } from 'ngx-image-editor';

resolveModifierHints('{altClick} to set source.'); // "⌥-click (or ⌘-click) to set source."
isAltModifier(pointerEvent); // true for ⌥-click, and for ⌘-click on macOS

Keyboard matching falls back to KeyboardEvent.code, so custom bindings that use alt still resolve on macOS where ⌥ rewrites the produced character (⌥B yields ).

Theming

CSS variables on .ngx-nie / .ngx-nie--dark:

  • --nie-bg, --nie-surface, --nie-text, --nie-muted
  • --nie-accent, --nie-accent-2, --nie-border, --nie-radius

License

Source-available. See the repository LICENSE. Free Features may be used in commercial apps forever. Premium Features require a purchased key from ngx-image-editor.ebdev-design.com.