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

uba-ac-sample

v0.0.1

Published

uba ac plugin for init sample

Downloads

13

Readme

ac-tools

介绍

是一款组件库编写应用组件开发工具 开发应用组件 执行远程代码访问、基本组件开发构建、demo示例的生成。

安装

安装 node.js 开发环境.(node > 6.x && npm > 2.x)。

基于国内开源的囧境,可以使用淘宝的CNPM或用友集团内网的ynpm

ynpm

公司内网通过使用ynpm,实现快速下载包,减少下载等待时间。详情请 点击

$ npm install ynpm-tool -g          # 安装内部NPM工具

$ ynpm install ac-tools -g               # 安装 ac-tools 速度飞快在内网下

cnpm

你可以使用淘宝定制的 cnpm (gzip 压缩支持) 命令行工具代替默认的 npm:

$ npm install -g cnpm --registry=https://registry.npm.taobao.org

$ cnpm install ac-tools -g

npm

首先进行工具命令的安装,需要安装到全局环境上使用,后面项目开发中,bee-tools是可以依赖包形式NodeAPI开发使用。

$ npm install ac-tools -g

稍等片刻安装结束后,输入下面命令来确定是否安装成功:

$ ac-tools -v

  Version : 0.0.1

OK,到此成功。

使用

  1. 如何使用前端集成工具ac-tools来快速创建一个应用组件:
$ mkdir app && cd app

$ ac-tools init

Start development server.

$ npm run dev

After writing a good example.

$ ac-tools sample

After writing README.md documents.

$ ac-tools mk

api

项目根目录,使用以下命令完成对应功能。

5命令有1分钟的延时,请耐心等待。

| # | Scripts 脚本命令 | Description 功能描述 | | --- | --- | --- | | 1 | ac-tools -h | api 查询 | | 2 | ac-tools -v | 版本查询 | | 3 | ac-tools init | 下载模板项目| | 4 | ac-tools sample | 编写demo时,需要生成示例代码 | | 5 | ac-tools mk | README.md文档转化成html发布到git io上 |