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

taitan

v1.0.2

Published

小程序开发辅助工具

Downloads

2

Readme

安装

$ npm i -g taitan

准备工作

首先需要在开发者工具的设置 -> 安全设置中开启服务端口

然后设置开发者工具的安装路径

拿mac系统举例:

# 设置安装路径
$ taitan set weapp-tool-path /Applications/wechatwebdevtools.app

# 查看已设置的安装路径
$ taitan show weapp-tool-path
$ -> /Applications/wechatwebdevtools.app

添加项目到本地

将项目添加到本地收藏夹,后续可选择直接打开已添加的项目,无需进入到项目目录

$ taitan add project 

查看收藏夹中已添加的项目列表

$ taitan list project

添加编译模式页面到本地收藏项目

# 手动输入要添加的页面路径
$ taitan add page

# 从项目pages路由列表中选择页面路径
$ taitan add page -s

查看本地项目中已添加编译模式页面

# 查看当前项目已添加的编译模式页面
$ taitan list page 

# 查看指定项目已添加的编译模式页面
$ taitan list page -s

清除本收藏的项目/已添加的编译页面

# 清除全部项目
$ taitan clear project -a

# 清除指定项目
$ taitan clear project


#清除全部页面
$ taitan clear page -a

#清除指定页面 
$ taitan clear page

在开发者工具中打开项目

# 打开当前目录所在项目
$ taitan open

# 打开指定目录下的项目
$ taitan open -d 项目绝对路径

# 打开本地收藏的项目
$ taitan open -s

生成预览二维码

# 手动输入要预览的项目路径
$ taitan preview -d 项目绝对路径

# 选择本地收藏的项目
$ taitan preview -s

# 选择项目中app.json中的路由配置页面
$ taitan preview -p

# 选择收藏项目中保存的编译页面
$ taitan preview -ps

# 手动输入要预览的页面路径
$ taitan preview -s -i