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

fabri-pix

v2.1.1

Published

A React image editor using Fabric.js

Downloads

6,452

Readme

FabriPix 🎨

npm version npm downloads License: MIT

FabriPix is a plug-and-play, lightweight, and fully customizable React image editor built using Fabric.js. It allows you to annotate, draw, add text, insert shapes, blur, crop and apply simple edits — all inside your React apps easily!


✨ Features

🖼️ Image Editing

  • ✂️ Crop Images — easily crop any part of the image.
  • 🔒 Blur Multiple Parts — hide or censor sensitive information.
  • 🔍 Zoom In and Zoom Out — zoom for precise edits.
  • Pan Mode — move around the canvas smoothly.
  • ↩️ Undo and Redo — quickly revert or redo any action.
  • 🕒 Edit History Tracking — view and manage all your edits step-by-step.
  • 💾 Download edited image as PNG with high quality
  • 📄 JSON save/load for annotations
  • ⚡️ Fast and responsive — powered by Fabric.js 6+

🖍️ Annotations

  • 🔢 Step Creator — add sequential numbered steps to guide users.
  • 🟥 Step Creator with Rectangle Box — highlight steps inside rectangular shapes.
  • 🧩 Shapes — draw Rectangles, Circles, Stars, and Arrows effortlessly.
  • 🎯 Advanced Arrow Tool — create flexible at both end arrows.
  • 🗨️ Callout Boxes — create callouts with text and numbers pointing anywhere.
  • 📝 Textbox — add simple or styled text anywhere on the image.
  • 😄 Emoji Support — insert fun emojis to express better.
  • 🖼️ Add Custom Images — upload and place your own icons, stamps, or logos.
  • ✏️ Pencil Draw Tool — free-hand drawing for rough annotations.
  • Line Paths — connect points smoothly using lines.
  • 🎨 Color pickers and Other Context Menu for all the annotations

📦 Installation

yarn add fabri-pix
# or
npm install fabri-pix

⚙️ Usage

import { ImageEditorWrapper } from 'fabri-pix';
import 'fabri-pix/dist/fabri-pix.css'; // Required: Import the CSS for styles

export default function App() {
  return (
      <ImageEditorWrapper
        imageUrl="https://your-image-url.com/sample.png"
      />
  );
}

🛠️ Props

| Prop | Type | Description | Required | | ---------------- | ---------------------- | ------------------------------------------------------------------------- | :------: | | imageUrl | string | URL of the image you want to load onto the editor | ✅ | | onSave | (blob, json) => void | Callback when the user saves (returns image Blob and canvas JSON) | ✅ | | onCancel | () => void | Callback when the user clicks on cancel button | ✅ | | loadFromJson | any | JSON to pre load annotations | ✅ | | exportJson | (json) => void | Callback when the user clicks on export json button (returns canvas JSON) | ✅ | | showExportJson | boolean | Whether to show the export json button | ✅ | | options | Partial<Options> | (optional) Editor fully customization options (coming soon) | ❌ |


🚀 Upcoming Features

  • ✂️ Filter and Resize tools
  • 🔄 Rotate and Flip tools
  • 🧠 AI Auto-Annotation (detecting objects in the image)
  • ⚡️ Better performance for huge images

🔗 Links


👏 Contributing

Contributions are very welcome! Please open issues, bug reports, or submit pull requests 🙌

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/my-new-feature)
  3. Commit your changes (git commit -m 'Add some feature')
  4. Push to the branch (git push origin feature/my-new-feature)
  5. Create a new Pull Request

📄 License

MIT © Vikhyat Singh