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

@appberry/berryeditor

v3.0.0

Published

BerryEditor Rich Text Editor

Downloads

49

Readme

BerryEditor

BerryEditor is a React-first rich text editor built with a TypeScript editor engine and HTML as the canonical content format, designed for apps that need customizable authoring controls and predictable HTML persistence.

What This Repo Contains

BerryEditor/
  packages/berryeditor   Publishable package (`@appberry/berryeditor`) with React components, editor engine, styles, and tests.
  apps/docs              Next.js docs/playground app with App Router and Pages Router integration examples.

Prerequisites

  • Node.js >=20
  • Corepack (recommended by pnpm for project-pinned package manager versions)
  • pnpm

engines.node in package.json is advisory by default in npm unless users enable engine-strict, so verify local Node before running workspace scripts.

Environment Setup (Corepack + pnpm)

This workspace pins [email protected] via the root packageManager field. The pnpm installation docs recommend using Corepack so contributors use the expected pnpm version.

npm install --global corepack@latest
corepack enable pnpm
pnpm --version

If Corepack reports outdated signatures, update Corepack and run corepack enable pnpm again.

Quick Start (Contributors)

pnpm install
pnpm dev

pnpm dev starts the docs app used for local development and manual testing.

Development Commands

  • pnpm build builds all workspace packages and apps.
  • pnpm lint runs ESLint across the workspace.
  • pnpm typecheck runs TypeScript checks with --noEmit.
  • pnpm test runs workspace test suites (Vitest-based package tests plus app placeholders).
  • pnpm test:e2e runs Playwright editor E2E tests via the docs app.

Testing Strategy

  • Unit and integration tests are implemented with Vitest in packages/berryeditor/tests.
  • End-to-end coverage is implemented with Playwright in packages/berryeditor/tests/e2e against the docs app runtime.

Documentation and Examples

  • Package usage and API docs: packages/berryeditor/README.md
  • Local integration references in the docs app:
    • App Router example: /app-router
    • Pages Router example: /pages-router
  • Official docs used by this repo:
    • pnpm installation and Corepack usage: https://pnpm.io/installation
    • npm package.json fields (engines, packageManager): https://docs.npmjs.com/cli/v11/configuring-npm/package-json
    • Next.js client component boundary ('use client'): https://nextjs.org/docs/app/api-reference/directives/use-client
    • Next.js transpiling external/workspace packages: https://nextjs.org/docs/pages/api-reference/config/next-config-js/transpilePackages

License

Apache-2.0