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

@iyulab/editor-components

v0.3.3

Published

various editor components by iyulab

Downloads

961

Readme

@iyulab/editor-components

다양한 에디터 컴포넌트를 제공하는 라이브러리입니다.

설치

npm install @iyulab/editor-components
import '@iyulab/editor-components';

// 또는 개별 컴포넌트만 import
import { UCodeEditor, UTextEditor } from '@iyulab/editor-components';

React 래퍼는 /react 서브패스로 제공됩니다:

import { UCodeEditor, UTextEditor } from '@iyulab/editor-components/react';

포함된 컴포넌트

u-code-editor (UCodeEditor)

Monaco Editor 기반 코드 에디터 컴포넌트입니다.

특징: 구문 강조 · 자동완성/IntelliSense · 다크/라이트 테마 자동 추적 · 읽기 전용 모드

<u-code-editor
  label="My Code Editor"
  language="javascript"
  font-size="14"
  value="console.log('Hello World!');">
</u-code-editor>

Properties:

| Property | Type | Default | 설명 | |----------|------|---------|------| | headless | boolean | false | 헤더(라벨 영역) 숨김 | | label | string | "Editor" | 헤더 라벨 텍스트 | | theme | "light" \| "dark" | 시스템 테마 추적 | 에디터 테마 | | readOnly | boolean | false | 읽기 전용 모드 | | language | string | "json" | 구문 강조 언어 | | fontSize | number | 14 | 폰트 크기(px) | | value | string | "" | 에디터 내용 |

u-text-editor (UTextEditor)

Quill.js 기반 리치 텍스트(WYSIWYG) 에디터 컴포넌트입니다.

특징: 텍스트 포맷팅 · 목록/헤더/인용구 · 링크/이미지 · 커스텀 툴바 · 다크/라이트 테마 자동 추적

<u-text-editor
  label="My Rich Text Editor"
  height="300"
  placeholder="Start writing..."
  value="<h2>Hello World!</h2><p>This is <strong>rich text</strong>.</p>">
</u-text-editor>

Properties:

| Property | Type | Default | 설명 | |----------|------|---------|------| | headless | boolean | false | 헤더(라벨 영역) 숨김 | | label | string | "Rich Text Editor" | 헤더 라벨 텍스트 | | readOnly | boolean | false | 읽기 전용 모드 | | placeholder | string | "Start writing..." | 플레이스홀더 텍스트 | | value | string | "" | 에디터 HTML 내용 | | height | number | 300 | 에디터 높이(px) | | toolbar | string[][] | 기본 툴바 | 커스텀 툴바 설정 |

Methods:

  • getHTML() / getText() / getDelta(): HTML / 플레인 텍스트 / Quill Delta 형식으로 내용 반환
  • setHTML(html) / setDelta(delta): 내용 설정 (프로그램적 — change 미발화)
  • clear(): 모든 내용 삭제 (프로그램적 — change 미발화)
  • focus(): 에디터에 포커스

이벤트

change는 네이티브 폼 컨트롤 규약을 따라 사용자 편집에서만 발화합니다. 프로그램적 value 세팅·setHTML()/setDelta()/clear()는 발화하지 않으므로, React 등 controlled 래퍼에서 에코 루프 없이 안전하게 바인딩할 수 있습니다.

u-code-editor

  • change: 사용자 편집으로 내용이 변경될 때 발생. 현재 값은 event.target.value로 읽습니다.

u-text-editor

  • change: 사용자 편집으로 내용이 변경될 때 발생 (detail: { html, text, delta })

개발

npm test         # Vite 개발 서버 (컴포넌트 프리뷰)
npm run build    # 프로덕션 빌드 (eslint + vite)