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

@changgang-xiaoye/lancet-ts-core

v1.0.13

Published

一个基于 Rspack 技术栈构建的现代化 TypeScript 工具函数库,旨在提供高性能、类型安全且易于维护的常用工具函数。

Downloads

404

Readme

@changgang-xiaoye/lancet-ts-core

一个基于 Rspack 技术栈构建的现代化 TypeScript 工具函数库,旨在提供高性能、类型安全且易于维护的常用工具函数。

✨ 特性

  • 🚀 高性能 - 基于 Rspack 构建,提供极致的构建性能
  • 🔒 类型安全 - 完整的 TypeScript 类型定义
  • 📦 模块化 - 按需引入,减少打包体积
  • 🛠️ 现代化 - 使用最新的 JavaScript/TypeScript 特性
  • 📚 完善的文档 - 详细的 API 文档和使用示例

📦 安装

npm install @changgang-xiaoye/lancet-ts-core

或者使用其他包管理器:

# pnpm
pnpm add @changgang-xiaoye/lancet-ts-core

# yarn
yarn add @changgang-xiaoye/lancet-ts-core

🚀 快速开始

import { MathUtils } from "@changgang-xiaoye/lancet-ts-core";

console.log(MathUtils.abs(-10));

📚 API 文档

详细的 API 文档请访问:https://lancet-ts.pages.dev/guide/index.html

🔧 开发

安装依赖

pnpm install

构建项目

# 生产构建
pnpm run build

# 开发模式(监听文件变化)
pnpm run dev

代码检查

# 运行类型检查
pnpm run check-types

# 运行代码检查
pnpm run lint

# 格式化代码
pnpm run format

运行测试

# 运行测试
pnpm run test

# 监听模式运行测试
pnpm run test:watch

生成文档

pnpm run gen:docs

🤝 贡献

欢迎提交 Issue 和 Pull Request!

📄 许可证

MIT License

🔗 相关链接