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

fast-front-base

v1.0.6

Published

fast front base package

Readme

fast front base

fast框架前端基础包, 不依赖于三方框架, 作为各类前端库的基础包

详细内容

fast 前端基础包, 包括以下内容

  1. http访问
  2. 存储
  3. 加解密
  4. 随机数(nanoid, uuid, 雪花算法等)
  5. 字符串增强处理
  6. 基于dayjs的日期处理
  7. 基于pinia的状态管理
  8. 基于vue-router的路由处理

基础环境

  1. npm 20.16.0
  2. vue 3.5+, typescript5+
  3. 插件 lodash, axios, crypto-js, dayjs, vue-router, pinia

环境变量

需要配置以下环境变量

| 变量名 | 类型 | 必须 | 描述 | |:-------------|:-------:|:--:|:----------------------------| | DEBUG | boolean | 否 | 是否DEBUG模式 | | API_URL | string | 是 | API接口地址 | | API_TIMEOUT | int | 否 | API超时时间, 0不限制超时时间 | | API_VERSION | string | 否 | API接口版本号 | | STORAGE_KEY | string | 否 | 本地存储的密钥, 16位, 可以为空, 空的时候不加密 | | STORAGE_SALT | string | 否 | 本地存储的加密的盐 | | LOGIN_URL | string | 否 | API超时时间, 0不限制超时时间 | | TOP_URL | string | 否 | API接口版本号 |

配置镜像

方式1: 全局设置

step1, 全局设置registry

npm config set registry=https://packages.aliyun.com/xxxxx/npm/npm-registry/

step2, login

npm login

step3, 发布

方式2:命令配置

step1, login

npm login --registry=https://packages.aliyun.com/xxxxx/npm/npm-registry/

step2, 发布

npm打包命令

开发环境启动

npm run dev

发布打包

npm run build

版本升级

大版本升级1.0.0 -> 2.0.0

npm version major

中版本升级1.0.0 -> 1.1.0

npm version minor

小版本升级1.0.0 -> 1.0.1

npm version patch