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

easy-issue

v0.0.2

Published

一个可以根据指定的markdown文件生成GitHub issue的小工具

Downloads

3

Readme

easy-issue

一个根据本地 markdown 文件(需要指定)生成 github issue,并推送到个人仓库(需要指定)的小工具。

头都要笑飞的背景

之前我打算用 GitHub issue 当博客(希望这种想法不要被打),当进入New issue时,我看到那个界面有些“不好看”,然后就想着在本地用 markdown 写博客,然后通过脚本将文件内容自动生成指定仓库的 issue。

说干就干!

等我写完这个小工具之后,再次进入New issue时,突然看到那个界面不是之前看到的那样,那个编辑器界面还挺好看的。

然后就想到那晚应该是网络不好,那个编辑器界面没刷新出来。

使用

安装

npm i easy-issues -D

安装完成之后,执行:

npx issue init

这个命令执行后,easy-issue会将issue命令添加到 package.json 的 scripts 里面,然后在根目录下创建issue.config.jseditor.md文件。当然,你也可以不需要执行这个命令,直接在根目录下创建issue.config.jseditor.md文件。

你在editor.md里面写完你的内容之后,在终端执行

npm run issue

或者

npx issue

easy-issue就会解析editor.md,生成 GitHub issue,然后上传到指定仓库。

issue.config.js

module.exports = {
  owner: '用户名',
  repo: '指定仓库',
  accessToken: 'personal access token',
  editor: 'issue内容的markdown文件名(可选,默认是根目录下的editor.md)',
};

editor 文件

格式必须如下:

---
title: 'issue名称'
labels:
  - label1
  - ...
---
你的issue内容

需要注意的是labels所指定的 issue label 必须是存在仓库里面。