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

@qy-utils/orange-utils-kit

v0.0.7

Published

A useXXX-style utility function library for modern frontend development, featuring robust TypeScript type support. It includes two categories of utilities: Node.js server-side helpers and Browser-based functions.

Readme


# Orange Utils Kit

[![npm version](https://img.shields.io/npm/v/@qy-utils/orange-utils-kit)](https://www.npmjs.com/package/@qy-utils/orange-utils-kit)
[![License: MIT](https://img.shields.io/badge/License-MIT-green)](LICENSE)

**Orange Utils Kit** 是一个 **useXXX 风格的前端通用工具函数库**,专为现代前端开发设计。
它提供 **完善的 TypeScript 类型支持**,并包含两类实用函数:

- **浏览器函数**(默认导入)
- **Node.js 服务端函数**(可选导入)

该库帮助你编写 **干净、可维护、可复用** 的工具函数,适用于前端和后端环境。

---

## 特性

- ✅ **useXXX 风格 API**,函数调用一致、易读
- ✅ **TypeScript 优先**,类型推导友好
- ✅ **双环境支持**
  - 浏览器:默认导入
  - Node.js:通过 `@qy-utils/orange-utils-kit/node` 可选导入
- ✅ **轻量、支持 tree-shaking**
- ✅ **默认不包含外部依赖**(Vue、Pinia 等为 peerDependencies)

---

## 安装

```bash
npm install @qy-utils/orange-utils-kit
# 或者
yarn add @qy-utils/orange-utils-kit

使用示例

浏览器(默认导入)

import { useDebounce } from '@qy-utils/orange-utils-kit'

const result = useDebounce(() => {
  console.log('Hello World')
}, 300)

Node.js(可选导入)

import { useDebounce } from '@qy-utils/orange-utils-kit/node'

const result = useDebounce(() => {
  console.log('Hello from Node')
}, 300)

贡献指南

  • 请遵循 Conventional Commitsfeat, fix, chore 等)
  • 开发时运行 npm run dev
  • 测试时运行 npm run test

许可证

MIT © yxb123456cy