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

js-fast-way

v0.5.7

Published

js-fast-way

Downloads

33

Readme

js-fast-way

现目前市场上有很多方法函数库可以用,但我自己在实际项目开发中,发现这些库,或多或少都有一些不方便的地方,比如:我需要的某种方法函数没有、所提供的方法函数库不满足业务需求、产生的bug反馈后解决慢等原因,所以,我就自己封装了一个自用的方法函数库。

对于使用TypeScript开发的项目,我表示遗憾,因为 js-fast-way 并不是采用 TypeScript 开发。

API文档

为了方便自己查询和使用相关方法函数,我为此搞了这么一个文档,文档挂在 Vercel 上,理论上会存在很久的时间,方便自己使用,也方便大家使用。

开源

js-fast-way 是开源的,可以拿去二开,也可以用于商业项目中,不收取任何费用。

vue-utils-plus ?

vue-utils-plus 是 js-fast-way 的前身,是基于vue 和 vite 开发,但后来发现,实际上没用vue的东西,并且,在调用方法函数时,没有参数提示,所以,就重写了 js-fast-way,基于原生js开发,rollup 打包编译。

后续 vue-utils-plus 不再更新维护


安装

在项目中,任选一种命令行安装方式进行安装,推荐 yarnpnpm

Node.js 版本 >= 16

$ npm install -D js-fast-way
$ pnpm add -D js-fast-way
$ yarn add -D js-fast-way

使用

在需要的地方,引入所需的方法函数名即可。

import { isObjNull } from "js-fast-way"

let obj = {}
console.log(isObjNull(obj))

感谢

感谢奇乐AI助手为文档接入AI功能的赞助。

免费的gpt4o、mj绘画、AI音乐生成功能,请关注ai.qilepan.com 我们免费为所有开源项目提供AI文档助手,您可以联系[email protected]定制