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

@gaonengwww/tiny-plugin-link

v1.0.2

Published

提供本地软链接工程,提升组件开发、调试效率

Readme

tiny-plugin-link

描述

帮助开发同事本地调试插件,本地通过软链接的方式,调用本地开发的插件。避免组件开发人员,必须将组件 publish后 本地才可以体验调试的尴尬场景,提升组件开发成员开发、调试效率。

使用说明 - 已调试 lazyload 为例

为了方便理解,现以本地开发调试 lazyload 组件为例。

  1. 第一步:首先将 lazyload 软链到 .tiny/LocalCDNPath 目录去。 执行tiny link 或者 tiny link init init
    此时在个人的用户目录下会存在一份目标组件的软链接:
    initlink

  2. 第二步:在.tiny/LocalCDNPath 目录查找 @opentiny/xxxx 组件,找到的话,将页面依赖的@opentiny/xxxx 删除,将.tiny/LocalCDNPath 下的组件软链到页面项目中去。
    执行tiny link -m @opentiny/xxx 本例中xxx表示lazyload
    insert
    此时,在测试工程中,就会将目标组件软链接过来,如:
    insertlink

使用场景

各组件开发的 owner 本地调试自己开发的组件,不需要每次发布在可以调试本地工程。

用法

在命令行里面使用

$ tiny link                      初始化本地插件的link环境
$ tiny link init                 同tiny link,初始化本地link环境
$ tiny link help                 显示link插件的相关明林
$ tiny link link -m @opentiny/xxx   将@opentiny/xxx插件link到当前的路径下