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

kinda-cli

v0.0.12

Published

kinda脚手架

Downloads

4

Readme

kinda脚手架

考虑到前端工作多数情况下重复的概率比较高,为了减少重复配置开发链路,并且归拢技术栈,特地做了这个脚手架,眼见的将来会进行持续的开发和维护,欢迎star。同时如果你有相应的思路的话,可以pull下来进行修改然后提交pr,当然,也可以通过邮件联系我。

注意,本工具使用的是esm,所以必须保证node版本>18。

规划

  • [x] 支持cli创建模版项目
  • [x] 支持cli本地开发服务器
  • [x] 支持热更新
  • [x] 支持cli构建打包
  • [ ] 支持kinda.config.js配置文件
  • [x] 支持webpack
  • [ ] 支持vite
  • [ ] 支持组件模版
  • [ ] 支持web模版
  • [ ] 支持小程序模版(优先级较低,请减少期望)

使用

下载kinda脚手架

npm i -g kinda-cli

新建项目

kinda create <app-name> [options]

options

  • -f
  • -force

如果本地已经有同名文件夹了,是否覆盖本地创建。(此步不可撤销

  • -s
  • -structure

选择底层框架,暂时只提供webpack方式。

本地跑项目

kinda server [options]
  • -p
  • -port

选择本地服务器端口。

打包

kinda build [options]
  • -w
  • -watch

是否监听文件变化,开启的话,文件一旦发生变化则重新打包。 注意,这不是热更新(HMR),是重新打包!

获取帮助

善用这个命令能够极大的帮助你使用本工具。

kinda -h

开发者

git clone https://github.com/Alndaly/kinda-cli
cd create-kinda
yarn