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

wepy-com-cli

v1.0.1

Published

wepy组件导入工具

Downloads

4

Readme

wepy-com-cli

wepy组件导入工具

安装

npm install -g wepy-com-cli

使用

查看目前支持的列表

wepycom ls

添加组件

dir-name可以缺省,缺省时文件夹名字为下载的repo名

wepycom add name dir-name

也可以使用自己的github仓库作为下载源,推荐使用组织进行管理,比较干净整洁

wepycom add owner/name dir-name

其他源,如gitlabbitbucket可以参照:https://github.com/flipxfx/download-git-repo

配置文件

默认组件下载源:wepy-com-templates 默认组件下载目录:当前执行目录的src/components

你可以在执行目录创建一个wepy-com-config.json文件,来进行自定义

{
  "user": "wepy-com-templates",
  "dir": "src/components"
}

开发

wepy组件开发只要遵循wepy的开发规范即可,上传到git仓库的应该是*.wpy这样的源文件 当然,你可以添加README.mdreadme.md文件作为使用文档,使用wepy-com-cli下载组件会自动删除这两个md文件

欢迎大家给 wepy-com-templates 这个仓库提交常用的wepy组件