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

@uniai-fe/util-react

v0.1.7

Published

React Utilities for UNIAI FE Projects

Readme

@uniai-fe/util-react

React 전용 텍스트/파일 유틸 모음입니다.

  • convertTextToJsx, convertArrayToJsx, convertTextToHTML 등 텍스트를 JSX로 변환하는 헬퍼를 제공합니다.
  • getChartYTicks, getXAxisTextAttr처럼 Recharts 기반 컴포넌트에서 재사용하는 차트 유틸(내부적으로 recharts@^3.3.0 타입을 참조합니다)을 포함합니다.
  • fileDownload, fileSize와 같이 브라우저 전용 파일 유틸을 함께 제공합니다.
  • @uniai-fe/util-functions와 의존성을 분리해 React 앱에서만 설치하면 되도록 구성했습니다.

설치

pnpm add @uniai-fe/util-react recharts@^3.3.0

차트 유틸을 사용하지 않는다면 recharts 설치는 생략해도 됩니다.

사용 예시

import { convertTextToJsx } from "@uniai-fe/util-react";

function Content({ text }: { text: string }) {
  return <div>{convertTextToJsx({ text, key: "article/body" })}</div>;
}

Codex 참고용 카탈로그

모듈별 책임과 시나리오 레시피는 catalog.md에 정리되어 있습니다. 새로운 텍스트/차트 요구사항이 생기면 catalog를 먼저 열어 재사용 가능한 함수가 있는지 확인하세요.