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

bmap-ccy

v0.1.1

Published

## Project setup ``` npm install ```

Downloads

2

Readme

hello-world

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.

二、文件目录介绍

Project
├── public 首页
├── src
│  │  ├── api           接口资源
│  │  │     ├──baseUrl    接口根连接
│  │  │     ├──url        接口url完整
│  │  │     ├──apiFn      接口请求方式
│  │  │     ├──httpApi    接口请求调用
│  │  │     └──apiConfig  接口配置文件
│  │  ├── assets        静态资源
│  │  ├── components    各个模块组件
│  │  ├── router        路由
│  │  │     ├──guard      路由拦截器
│  │  │     ├──routers    路由自定义
│  │  │     └──index.ts   路由配置文件
│  │  │     └──type.ts    路由类型定义
│  │  ├── layout        公共组件
│  │  ├── hooks         hooks
│  │  │     ├──core       内核
│  │  │     │   ├──useDebounce     防抖
│  │  │     │   └──useThrottle     节流
│  │  │     ├──event      事件
│  │  │     │   ├──useBreakpoint   断点
│  │  │     │   └──useEventListener事件监听
│  │  │     └──web        web事件
│  │  │         ├──pieChart        圆Chart
│  │  │         ├──useEcharts      使用EChart
│  │  │         ├──useInit         全站刷新 网站所需数据初始化
│  │  │         ├──useMessage      全站消息弹窗
│  │  │         └──usePage         全站分页
│  │  ├── setup         UI框架按需加载
│  │  │     └──element-plus       ElePlus框架
│  │  ├── store         状态管理
│  │  ├── views         视图
│  │  │     ├──About       关于我们页面
│  │  │     ├──Home        首页
│  │  │     ├──Login       登录页面
│  │  ├── utils         工具函数
│  │  │     ├──auth        路由判断器
│  │  │     ├──cookie      cookie工具
│  │  │     └──uti         常用方法
│  │  ├── App           入口视图
│  │  ├── main          入口文件
│  │
└── babel.config.js
└── package.json
└── tsconfig.json
└── tslint.json
└── vue.config.js
└── yarn.lock

Git 提交规范

  • feat 增加新功能
  • fix 修复问题/BUG
  • style 代码风格相关无影响运行结果的
  • perf 优化/性能提升
  • refactor 重构
  • revert 撤销修改
  • test 测试相关
  • docs 文档/注释
  • chore 依赖更新/脚手架配置修改等
  • workflow 工作流改进
  • ci 持续集成
  • mod 不确定分类的修改
  • wip 开发中
  • types 类型修改

软件架构

  • 一个基于 TS+HTML+CSS+JS+Vue3.0+ElementPlus(主)+antd2.0(副)+ECharts 框架的网约车项目

框架连接

  1. Vue3.0 官方文档
  2. ElementPlus 官方文档
  3. Antd2.0 官方文档
  4. echarts 实例echarts API文档