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 🙏

© 2025 – Pkg Stats / Ryan Hefner

am-auto-cli

v1.0.4

Published

lanhuapp、iconfont、cli自动工具

Readme

自动上传图片、svg工具

安装

npm install -g am-auto-cli 

项目配置文件auto-cli.config.js

module.exports = {
    lanhuConfig:{
        url:"", //  蓝湖图片导出的url
        username:'',    //  蓝湖账号
        password:'',    //  蓝湖密码
        resourcePath:'',    //  蓝湖导出资源路径
        ext:'svg',  //  蓝湖导出的格式
    },
    iconfontConfig:{
        id:'', //  上传至iconfont项目的id
        username:'',    //  iconfont账号
        password:'',    //  iconfont密码
        resourcePath:'',    //  上传的本地资源路径,只支持svg格式资源
        scssFilePath:'',    //  更新本地种的scss文件
    }
}

简单命令使用

am-auto-cli lanhu login //  浏览器无头登录蓝湖
am-auto-cli lanhu login -l false    //  显示浏览器登录蓝湖

am-auto-cli lanhu donwload //   浏览器无头登录蓝湖下载切片(对话式)
am-auto-cli lanhu download - false  //  显示浏览器登录蓝湖下载切片(对话式)

am-auto-cli iconfont login  //  浏览器无头登录iconfont.cn
am-auto-cli iconfont login -l false //  显示浏览器登录iconfont.cn

am-auto-cli iconfont upload //  浏览器无头登录iconfont上传资源
am-auto-cli iconfont upload -l false    //  显示浏览器登录iconfont上传资源

am-auto-cli iconfont update //  浏览器无头登录iconfont获取字体样式更新scss文件
am-auto-cli iconfont update -l false    //  显示浏览器登录iconfont获取样式字体更新scss文件

功能

  • 蓝湖

    • 登录
    • 导出素材资源(支持svg/png/jpg/webp/pdf格式)
  • iconfont

    • 登录
    • 上传svg素材资源
    • 获取项目字体文件更新本地css
    • 本地预览线上字体图片与本地引用差异