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

ucf-cli

v1.4.0

Published

A simple init for UCF scaffolding projects.

Downloads

20

Readme

ucf-cli

npm version NPM downloads


NPM


介绍

通过该工具可以快速下载初始化UCF微服务前端工程所有资源到本机开发,并且可以快速创建指定的页面、带路由页面等,功能强大、操作简单易上手。

image

image

安装

# 全局安装
$ npm install ucf-cli -g

使用

安装完成全局后使用下面命令:


# 指定名称 `ucf-custom`,将会在ucf-custom里面创建资源
$ ucf init ucf-custom

# 快速下载工程到本地,并且不会创建文件夹直接在当前运行根目录进行平铺,适合初始化git仓库使用
$ ucf init


# 快速创建基础页面包含大致UCF微服务工程结构
$ ucf new app

# 查看现有微服务工程名
$ ucf list

说明

  • 查看帮助 ucf -h
  • 查看版本 ucf -v
  • 下载工程 ucf init myweb
  • 创建模块 ucf new app
  • 查看模块 ucf list

版本

  • 1.4.0 ucf new app模板去掉container.js文件,将路由与container.js合并
  • 1.3.1 去除多语模板、调整为统一兼容模板
  • 1.3.0 更换远程脚手架工程托管平台,下载速度更快
  • 1.2.3 解决人机问答第三包包异常的问题,锁定版本号
  • 1.2.2 调整模板CDN设置、更新代码
  • 1.2.1 调整ucf init初始化工程必须输入名字,而不是直接平铺到根目录,也可以ucf init webapp直接指定工程名
  • 1.2.0 调整i18n多语的机制问题,Intl多语文件夹调整到ucf-common
  • 1.1.1 修复没有选择多语微应用出现了Intl文件夹
  • 1.1.0 增加微应用命令ucf new app多语选项的支持
  • 1.0.7 调整微应用显示名称为 MPA , SPA
  • 1.0.6 调整微应用显示名称为 singleApp , spaApp
  • 1.0.5 在线更新最新微应用模板(仅测试)
  • 1.0.4 模板App入口修改为IndexView
  • 1.0.3 升级模板
  • 1.0.2 增加版本在线检测,有新版本会给出提示升级
  • 1.0.1 更新模板路由页面、ucf init 表示在当前根目录下平铺工程文件,适合初始化git仓库的时候
  • 1.0.0 支持远端UCF工程初始化到本地、创建微服务模块工程、模块查看、内置两种模板
  • 0.0.x 初步测试版本发布