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

fulleditor

v2.0.0

Published

A lightweight, framework-free WYSIWYG editor for the browser.

Readme

FullEditor by 99foundr

A lightweight, framework-free WYSIWYG editor that can be embedded in different websites.

Features

  • Small footprint and no dependencies
  • Rich text commands: bold, italic, underline, strike
  • Headings, blockquotes, lists, and code blocks
  • Link insertion with URL normalization
  • Image insertion from file picker and clipboard paste
  • Custom async image upload handler
  • Keyboard shortcuts: Ctrl/Cmd + B, I, U, K
  • Public API: getHTML, setHTML, getText, clear, focus, destroy

Funding

Support my opensource work by donating. https://github.com/sponsors/icodervj

How To Use Fulleditor in your website

Option 1: Copy Files Into Your Project

  1. Copy editor.js and editor.css into your website.
  2. Include them in your page.
  3. Initialize the editor.
<link rel="stylesheet" href="editor.css">
<script src="editor.js"></script>

<div id="editor"></div>
<script>
    const editor = new Fulleditor('#editor', {
        placeholder: 'Write something...'
    });
</script>

Option 2: Use GitHub CDN (jsDelivr)

Use latest files from the default branch (no version in URL):

<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/icodervj/fulleditor/editor.css">
<script src="https://cdn.jsdelivr.net/gh/icodervj/fulleditor/editor.js"></script>

<div id="editor"></div>
<script>
    const editor = new Fulleditor('#editor');
</script>

For smaller payloads, use the minified bundle:

https://cdn.jsdelivr.net/gh/icodervj/fulleditor/dist/editor.min.js
https://cdn.jsdelivr.net/gh/icodervj/fulleditor/dist/editor.min.css

Image Upload

By default, selected images are embedded as Base64 data URLs.

For production, provide imageUpload(file) that uploads to your backend or cloud storage and returns a final image URL.

const editor = new Fulleditor('#editor', {
    imageUpload: async (file) => {
        const formData = new FormData();
        formData.append('image', file);

        const response = await fetch('/api/upload-image', {
            method: 'POST',
            body: formData
        });

        const data = await response.json();
        return data.url;
    }
});

Configuration

Supported options:

  • toolbar: Array of toolbar action keys
  • placeholder: Placeholder string
  • initialValue: Initial HTML content
  • allowedImageTypes: Allowed MIME types
  • maxImageSizeMB: Upload size limit
  • imageUpload: Async function for image upload
  • onChange: Callback with html and plain text

Default toolbar actions:

bold, italic, underline, strike, h2, blockquote, ul, ol, link, image, code, undo, redo

API

editor.getHTML();
editor.getText();
editor.setHTML('<p>Hello</p>');
editor.clear();
editor.focus();
editor.destroy();

Local Demo

Open index.html in a browser.

npm Package

Install:

npm install fulleditor

Use from CDN via npm package (latest, no version in URL):

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fulleditor/dist/editor.min.css">
<script src="https://cdn.jsdelivr.net/npm/fulleditor/dist/editor.min.js"></script>

Build minified bundle locally:

npm install
npm run build

Build output:

dist/editor.min.js
dist/editor.min.css

License

MIT