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

@a0znpm/fecli

v1.0.6

Published

Front-End Command Line Interface

Downloads

150

Readme

fecli

Front-End Command Line Interface

Welcome

Welcome to improve related functions

Functions

  • [X] project develop template
  • [X] single function template(.gitignore、eslint、.editorconfig...)

Install

npm i @a0znpm/fecli -g

Use

> fe
   Usage: fe <command> [options]

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

   Commands:
     create [options] [projectName]  create a new project powered by @a0znpm/fecli
     info                            print debugging information about your environment
     tree                            generate directory tree under current directory(more about tree-node-cli)
     inject [options]                Add single function template to project
     clean                           clean the cli cache
     server                          start node static http service by server(more about live-server)
     check-version                   check the @a0znpm/fecli version.
     config                          update config file of fecli
     install [options]               Install front-end related npm global packages

Example

   > fe create
   >
      ? Please input your project name testPro
      ? Please select your project template
        template-pc-vue3(PC、vue3、elementui)
        template-wap-vue3-vant(wap、vue3、vant)
        template-node-serve-express
      ❯ template-vue2-webpack-umd
        template-jslib-rollup
        template-jslib-gulp
        template-web-gulp(gulp、jquery、require、mustache)
      (Move up and down to reveal more choices)
      
   > fe create -c https://github.com/UserName/ProjectTemplateXXX
   > fe tree
   >
      fecli
      ├── bin
      │   └── fecli.js
      ├── doc
      │   ├── Q&A.md
      │   ├── log.md
      │   ├── rules.md
      │   └── todo.md
      ├── lib
      │   ├── rules
      │   │   ├── config
      │   │   │   └── dir-structure.json
      │   │   └── base.json
      │   ├── util
      │   │   ├── checkUtils.js
      │   │   ├── directory-tree.js
      │   │   ├── enhanceErrorMessages.js
      │   │   ├── fileUtils.js
      │   │   ├── note.js
      │   │   ├── server.js
      │   │   └── utils.js
      │   ├── cli.config.json
      │   └── sgl.config.json
      ├── test
      │   ├── directory-tree
      │   │   ├── directory-tree.js
      │   │   └── directoryTreeDesc.md
      │   ├── envinfo
      │   │   └── envinfo.js
      │   ├── recursive-readdir
      │   │   └── recursive-readdir.js
      │   ├── server
      │   │   ├── index.html
      │   │   ├── index.js
      │   │   └── test.js
      │   ├── util
      │   │   ├── fileUtils.js
      │   │   ├── note.js
      │   │   └── utils.js
      │   ├── walk
      │   │   └── walk.js
      │   ├── 1.css
      │   ├── 1.html
      │   ├── 1.js
      │   ├── 1.vue
      │   └── directoryTreeDesc.md
      ├── .gitignore
      ├── .npmignore
      ├── LICENSE
      ├── README-Inner.MD
      ├── README.MD
      ├── directoryTreeDesc.md
      ├── package-lock.json
      └── package.json
   > fe inject
   >
     .editorconfig
     eslint config(.eslintignore、.eslintrc.js)
     .gitignore
     .prettierrc
     readme-project.md
     readme-sdk.md
     vue-component.vue
     
     
   > fe inject -c https://github.com/UserName/ProjectTemplateXXX
> fe install
> ? Please select the npm package that needs to be installed globally (Press <space> to select, <a> to toggle all, <i> to invert 
   selection)
   ❯◉ nrm
    ◉ yarn
    ◉ pnpm
    ◉ @vue/cli
    ◉ nuxt
    ◉ gulp-cli
    ◉ create-react-app

Knowledge Point

TODO

  • [ ] 本地Mock服务
  • [ ] 统一本地开发环境
  • [ ] window测试+兼容

License

MIT