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

@bigbinary/neeto-editor-frontend

v2.2.4

Published

neetoEditor is the library that drives the rich text experience in all neeto products built at BigBinary

Readme

NeetoEditorNano

The neetoEditor nano consists of:

  • neeto-editor-engine: A Ruby gem that manages the asset uploads in neetoEditor. Each uploaded asset will be associated with an organization. Besides managing assets it does a few other things too.
  • @bigbinary/neeto-editor-frontend: The library that drives the rich text experience in the neeto products built at BigBinary.

Contents

  1. Installation
  2. Usage
  3. Instructions for development
  4. Instructions for publishing
  5. Documentation

Installation

Backend

  1. Add the following line to your application's Gemfile:
source "NEETO_GEM_SERVER_URL" do
  # ..existing gems

  gem "neeto-editor-engine"
end
  1. Execute the following command:
bundle install
  1. Add the following line to config/routes.rb file to mount the engine at /neeto_editor route.
mount NeetoEditorEngine::Engine, at: "/neeto_editor"
  1. Add the following line to models/organization.rb file.
has_many :neeto_editor_assets, class_name: "NeetoEditorEngine::Asset", dependent: :destroy
  1. Execute the following command to generate the migration to generate the neeto_editor_engine_assets table.
rails g neeto_editor_engine:install:migrations
  1. Run migrations.
rails db:migrate

Frontend

yarn add @bigbinary/neeto-editor-frontend

For setting up image upload refer https://neeto-editor.neeto.com/?path=/docs/examples-customize-options-addons--addons.

Usage

Utils

  1. trim_empty_lines: This util is added to the String class. It will help you to remove leading and trailing empty lines.

    str = "<p></p><h1></h1><br><h1>Hello world</h1><h1></h1><span></span>"
    str.trim_empty_lines # <h1>Hello world</h1>
  2. sanitize: Sanitizes editor HTML for safe server-side rendering. Uses Rails::HTML::PermitScrubber with an allowlist of tags and attributes matching the editor's output. Preserves CSS variables (--custom-property and var()) and validates iframe src domains (YouTube, Vimeo, Loom, NeetoRecord, SupaDemo).

    NeetoEditorEngine.sanitize(html)

Instructions for development

Install all the dependencies by executing the following command.

yarn

Running the yarn storybook command starts a storybook application. Use this application to test out changes.

When developing frontend packages, it's crucial to test changes in a live environment using a host application. There are two ways to do this:

  1. Using yalc package manager: https://youtu.be/F4zZFnrNTq8

  2. Directly updating the node_modules of the host application.

    1. Start the host application server.

    2. Inside the package, execute the command:

      yarn build --watch --app ../neeto-site-web

      Here replace ../neeto-site-web with path to the host project. Now, any changes made to the neetoEditor codebase will be instantly reflected in the UI.

    3. Run the following command in the host application to reset to the initial state.

      yarn install --check-files

Instructions for Publishing

Consult the building and releasing packages guide for details on how to publish.

Documentation

Read the frontend docs here: https://neeto-editor.neeto.com.