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

luoye-tools

v1.0.0

Published

一个js工具函数库

Downloads

6

Readme

luoye tools 简介

🏅luoye tools 是一个面向前端开发者的功能函数库,提供一系列实用的工具函数。

请想象一个场景,当一个产品处于一个快速迭代期,处于这个时期的开发者往往是忙于解决业务问题而没有时间去实现一些底层功能。而 luoye tools 诞生的初衷就是为了让开发者们专注于解决业务问题无需考虑底层实现

❓ 问:市面上,像 lodashunderscore 这类优秀且成熟的开源 javascript 工具库很多,那么选择luoye tools的理由是什么呢?

😊 答:luoye toolslodashunderscore 这类 js 工具库定位并不相同。luoye tools 是为了解决实际业务开发中繁琐的底层功能实现而生,是一个直面现实问题场景的功能函数库。而后者是为了拓展语言功能而诞生的一类库,两者并不处于同一个抽象层次。

安装

// 选择一个包管理器进行安装
npm install luoye-tools
// or
yarn add luoye-tools
// or
pnpm add luoye-tools

使用

// 导入
import { copyText } from "luoye-tools"
// 调用功能函数
if (await copyText("这是一条被复制到剪贴板的文本")) {
  alert("复制成功")
} else {
  alert("复制失败")
}

未来展望

luoye tools 背后是一个年轻且有活力的开源团队,我们拥抱且热爱开源,我们追求精益求精。我们坚定信念,且将会长期维护 luoye tools。如果你也认为这是一件有意义的事情,也欢迎你加入我们的团队