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 🙏

© 2024 – Pkg Stats / Ryan Hefner

@kullna/editor

v0.1.15

Published

A small but feature-rich code editor for the web

Downloads

70

Readme

@kullna/editor is a browser-based code editor component developed and maintained by The Kullna Programming Language Project.

As we were working on the Kullna IDE, we found the need for a reliable contenteditable code editing surface with features like syntax highlighting, indentation management, line highlighting, and a customizable gutter for adding breakpoints and bookmarks. For us, an essential requirement was support for Right-to-Left (RTL) languages too.

Most of the existing editors were either too heavy and didn't work with RTL, or too simple and didn't include sufficient features for our needs. We wanted a simple yet versatile editor that we could easily extend to meet our specific needs, and which didn't break foundational features like RTL support in the process. One that, if we needed to, we could maintain ourselves.

To address this gap, we're introducing @kullna/editor. A simple yet versatile code editor, designed with extensibility in mind and built-in RTL support. If you're looking for a lightweight code editor for your web application, we hope you'll find @kullna/editor useful, and we welcome your feedback and contributions.

Features

  • 🎨 Syntax Highlighting: Integrate with Highlight.JS, Prism, or design your custom solution.
  • Undo/Redo: Offers customizable undo/redo levels.
  • ✂️ Copy-Paste: Ensure consistent cross-browser cut, copy, and paste operations in an XSS-secure way.
  • 🎁 Wrapping: Wrap text, and keep line numbers and highlights in sync.
  • 🖊️ Bracket Management: Automatic close-bracket and close-quote insertion, with type-over capability.
  • ➡️ Code Indentation: Flexible code indentation using tab or shift-tab. Supports multi-line selections.
  • 🧐 Active Line Highlighting: Spotlight the active line or indicate the debugger's current execution point.
  • 🔧 Customizable Gutter: Define your gutter contents like breakpoint or bookmark labels while benefiting from our rendering strategies.
  • 🖱️ Input Processors: Intuitive APIs designed to allow you to extend the input processing logic to meet your needs.
  • 🌍 Full RTL Support: Dedicated support for right-to-left languages.

Why @kullna/editor?

  • 🎯 Just Right: Striking a balance between simplicity and flexibility.
  • 🌐 Modern APIs: No more browser compatibility headaches.
  • 📚 Flexibility: Integrate auto-complete, inline help, or other custom input event logic.
  • 🚀 Active Maintenance: Continuously developed for the Kullna IDE.
  • 💪 RTL & I18N: Comprehensive support without compromise.
  • 👥 Join Us: We're open to contributions!

Contribute

We envision a community-driven evolution for @kullna/editor. Your feedback, ideas, and contributions can shape the future of this editor, making it even more versatile and user-friendly. If our vision resonates with yours, consider contributing.

👉 Read the Contributing Page for more details.


The Kullna Editor source, artifacts, and website content are Copyright (c) 2023 The Kullna Programming Language Project.

They are free to use and open-source under the terms of the GNU Lesser General Public License.