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

nexus-easy-mvc

v1.0.2

Published

. |-- README.md // 项目的说明文档,对项目的介绍、使用方式、更新记录等进行说明 |-- bin // 存放可执行的二进制文件或脚本,可以通过命令行在此路径下运行 | `-- main.ts // 一个类型脚本的二进制主函数,类似于包含所有计算机程序指令的“主程序” |-- dist

Downloads

2

Readme

EasyMVC

. |-- README.md // 项目的说明文档,对项目的介绍、使用方式、更新记录等进行说明 |-- bin // 存放可执行的二进制文件或脚本,可以通过命令行在此路径下运行 | -- main.ts // 一个类型脚本的二进制主函数,类似于包含所有计算机程序指令的“主程序” |-- dist // 存放编译后生成的文件,通常是 JavaScript 文件或者 CSS 文件 | |-- bundle.js // 编译后合并的 JavaScript 文件 |-- lib // 存放库、模块和插件等 JavaScript 源文件 | |-- commands.ts // 命令行工具的处理逻辑 | |-- constants.ts // 存放常量数据 | |-- data.d.ts // 存放 TypeScript 的类型定义文件 | |-- nodeUtils.ts // 提供操作文件、路径、模块等常用 Node.js API 的封装 | |-- questions.ts // 存放与命令行交互的问题和答案 | |-- template.ts // 存放已经写好的模板,例如项目模板、组件模板等 | -- utils.ts // 存放常用的工具函数 |-- node_modules // 存放当前项目中使用的所有依赖包 |-- package.json // 当前项目的包信息,包含所有的依赖包、脚本命令等 |-- pnpm-lock.yaml // 存储依赖关系图及每个依赖包的具体版本信息(即 pnpm-shrinkwrap.json 文件) |-- tsconfig.json // TypeScript 的配置文件,包括编译选项、类型声明的处理方式、文件路径映射等 `-- webpack.config.js // Webpack 的配置文件,包含所有打包的相关信息,可以定制入口、出口、模块、插件等

使用说明

1.pnpm i 2.pnpm cs 1.终端输入mvc,根据交互输入对应的信息即可,注意支持的项目路径如下 (请在根目录使用,之后会使用配置时设置) 1.router:app/router.ts 2.controller:app/controller 3.service:app/service 4.model:app/model

开发调试说明

pnpm i pnpm cs(打包+软连接) 终端输入mvc

代码开发规范

1.常量全大写 2.注释 3.命名小驼峰 4.不能有any

分支名规范

前缀描述-WW-分支号,列:feat-WW-1 1.前缀描述: 1.1 新功能:feat 1.2 缺陷/bug:fix 1.3 优化:perf 1.4 样式优化:style 1.5 文档完善:doc

commit规范

git commit -m "前缀: ww-1@github名 任务描述xxxxx"

推送代码流程

https://www.yuque.com/yuqueyonghubka1if/piw85r/vbxdn16pnka5sf3l