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

md-doc-block

v1.0.3

Published

代码块文档管理

Downloads

17

Readme

文档地址

这是一个代码块文档管理工具

主要用于整理代码代码块

试想下前端布局方式很多都是相同的

如果每次在都重写很费劲

但是如果你把这些代码块收集起来用一个文档工具去管理是不是会很方便

安装方式

node 版本需大于v10.13.0

执行命令

npm i md-doc-block -g

初始化

doc init
? 请输入文档系统title: 文档系统 {name}
? 请输入文档目录: docs
? 请输入代码目录: code
? 请输入资源文件目录: assets
? 是否为多文档模式? No
✓ init success
  启动项目  doc dev

启动项目

doc dev

  服务运行成功:
  - 地址:   http://0.0.0.0:8000
  - 内网地址: http://192.168.0.103:8000

打包项目

 doc build

 =============
 🐤打包成功
=============

帮助

doc -h
Usage: webpc <command>

Commands:

  init     初始化项目
  build    打包应用程序
  dev      启动服务器进行开发
  -h       显示帮助
  -v       显示版本

详细内容 https://github.com/yubin-code

效果图片

img img img img img

注意事项

1.所有的功能性标签符号上方都不能是直接纯文本必须添加一个空格 例如:example 代码块上班都需要添加空格不如直接原样解析出来

其他

由于别的事情着急发版功能并不完善有问题可以github上直接提问