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

tdk

v0.0.16

Published

零配置的前端组件化解决方案,提供 API 文档生成、在线演示、自动化测试等功能

Downloads

48

Readme

TDK

TDK(TealUI Development Kit) 是一个零配置的前端组件化解决方案,主要用于以下四个场景:

  • 提取 API 文档:扫描现有源码注释,并自动提取 API 文档;
  • 制作技术文档:将 Markdown 文档一键转换成包含导航、搜索的漂亮网站;
  • 生成框架官网:一键为你的框架或组件库生成官网,包含漂亮首页、在线示例、教程和 API 手册;
  • 搭建 UI 组件库:提供开发一套组件库所需的全套工具,比如实时构建、在线演示、组件自动化测试。

快速上手

1. 安装

推荐全局安装 TDK,这样不需要在每个项目重新安装:

npm i tdk -g

2. 本地预览文档

无需配置,直接进入到你的项目根目录(或建一个空文件夹),然后执行:

tdk start --open .

执行后会自动在浏览器打开生成的文档首页。

服务器会持续监听项目内的文件,并在文件被修改后实时显示最新的文档内容。

3. 发布文档

使用以下命令将文档全部导出到 dist,然后将内部所有文件上传到你的静态资源服务器即可供他人访问:

tdk build

了解更多

查看更多文档