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

bili-mp-move

v0.0.1

Published

bilibili小程序搬家工具

Downloads

19

Readme

bili-mp-move 使用文档

bili-mp-move 是一个命令行工具,用于将抖音小程序或微信小程序转换为 bilibili 小程序格式。通过提供输入和输出目录,可以执行相应的转换。

安装

确保你已经安装了 Node.js (v18+)。

npm install -g bili-mp-move

使用命令

该工具支持两个主要命令:

  1. ftt:用于将抖音小程序转换为 bilibili 小程序。
  2. fwx:用于将微信小程序转换为 bilibili 小程序。

每个命令都需要指定输入路径(源代码目录)和输出路径(转换后的代码存放目录)。

命令格式

bili-mp-move <command> -i <inputPath> -o <outputPath>
  • command:可选的命令是 fttfwx
    • ftt:抖音小程序转 bilibili 小程序。
    • fwx:微信小程序转 bilibili 小程序。
  • -i--input:原小程序目录路径。
  • -o--output:转换后文件的输出路径。

参数说明

  • -i, --input:原小程序代码的目录。
  • -o, --output:转换后文件的保存目录。

注意事项

  • 该工具会在每次运行时删除并重建目标输出目录,请确保输出目录路径的内容在运行前已备份。
  • 确保命令运行时,源代码目录中包含完整的抖音或微信小程序结构。

常见问题

  1. 如何指定不同的小程序类型?

    使用 ftt 命令来转换抖音小程序,使用 fwx 命令来转换微信小程序。

  2. 输出目录会自动创建吗?

    是的,如果输出目录不存在,工具会自动创建。

  3. 命令出错时如何调试?

    检查输入路径是否正确,确保指定的源小程序目录存在。如果有进一步的问题,可以通过终端查看详细的错误日志。