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

ke-fe-cli

v0.1.52

Published

cli for beike fe

Downloads

283

Readme

特性:

  1. 一键启动项目
  2. 一键打开 vscode
  3. 内置两套前端框架webpack5+hobber、 umi+hobber
  4. 字符串md5加密、打开常用站点

安装

$ npm install ke-fe-cli -g --registry=https://registry.npmjs.org/

使用前配置:

打开 VSCode –> command+shift+p –> 输入 shell command –> 点击提示 Shell Command: Install ‘code’ command in PATH –> 运行 终端输入指令: sudo ln -fs "/Applications/Visual Studio Code.app/Contents/Resources/app/bin/code" "/usr/local/bin/"

打开终端,随便进入一个路径后,执行: code . vscode 正常打开,则说明配置生效

常用指令介绍

ks 是 ke-fe-cli 指定命令,源于高中死党昵称:马克思,简称:ks

Options:

-V, --version output the version number -h, --help output usage information


Commands:

  • set [options] [pwd] According to the path you provide, generate your private project configuration file under the current path(根据你提供的路径,生成当前路径下你私有的项目配置文件)
    • -c [param] Clear the history of the search directory(清空检索目录的历史记录)
    • -d [param] Set your default boot path based on the name you entered(设置默认启动哪个目录下项目集合)
    • -e [param] Set whether the configuration file level directory is related(设置配置文件层级目录之间是否关联)
    • -i [param] According to the parameters, get the corresponding information(根据参数,获取对应信息)
    • -r [param] Configure rules according to parameters(根据参数,进行规则配置)
    • -s [param] Whether to generate a script file for the startup command(是否生成启动命令的脚本文件)
  • run [options] [name] Open vscode while starting the project of your choice(启动你选择的项目的同时打开vscode)
    • -s [param] Only Start the project of your choice(只启动你选择的项目)
    • -v [param] Open only the vscode of the project you selected(只打开你选择的项目的vscode)
  • frame [options] [name] According to the name of the project you entered, select the corresponding frame type to generate the project(根据你输入的项目名name,选择对应的框架类型,生成项目)
    • -a [param] Transform the content of the file and generate the api file requested by the business interface(对文件内容进行转化,并生成业务接口请求的api文件)
    • -t [param] Obtain the corresponding file template according to the file type you input(根据你输入的文件类型,获取对应的文件模板)
  • util [options] [param] cli tool commands(cli集成的工具类命令)
    • -m [param] Md5 encryption of the input string(对输入的字符串进行md5加密)
    • -w [param] According to the site name you entered, open the corresponding site(根据你输入的站点名称,获取对应的站点地址)