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

inkppt

v0.0.3

Published

--- shiki: langs: - javascript - css - html - vue - markdown - typescript - jsx - tsx - bash - console themes: - github-dark - github-light ---

Downloads

5

Readme


shiki: langs: - javascript - css - html - vue - markdown - typescript - jsx - tsx - bash - console themes: - github-dark - github-light

inkppt 墨水 PPT

这是一个基于 ink 开发的命令行工具, 他能够将 markdown 文件像 PPT 一样在终端渲染

hello


欢迎使用 [inkppt 墨水 PPT]

这是一个基于 ink 开发的命令行工具


Usage 使用方法

# 如果没有指定文件, 默认是 process.cwd()
# 如果是文件夹, 默认读取 /readme|home|index/i.md
# 如果没有上述文件,那么就读取 fs.readdirSync() 获取到的第一个md 文件
npx inkppt [path/of/file.md]

使用 --- 作为分页标记,包含以下功能

  • [x] 代码高亮
  • [x] 键盘导航
  • [x] 可执行代码片段(js/ts/jsx/tsx)
  • [x] 支持 Markdown metadata 配置

技术栈

表格也是支持的

| 仓库 | 功能 | | -------------------------------------------- | ------------------ | | marked | 解析 markdown 文件 | | chalk | 终端输出着色 | | shiki | 代码高亮 | | tsx | 执行代码片段 |


图片/视频暂时还不支持奥

就这玩意儿也能跑过我?


可执行代码片段, ctrl + E

console.log("hello");
setTimeout(() => {
  console.log("say hi");
}, 200);
setTimeout(() => {
  throw new Error("SHOW ERROR");
}, 300);

快捷键

  • 回到首页 g g
  • 到最后一页 G
  • 数字键 直接跳转到对应页面
  • 后一页 space | right | down | enter | n | j | l | Page Down
  • 前一页 left | up | p | h | k | N | Page Up

Thanks