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

qiusuo

v0.1.1

Published

求索 A command lien documents management system.

Downloads

8

Readme

QIUSUO 求索

根据文件类型管理文件,提交文件分类收集和根据文件名搜索文件的功能。

安装

npm install -g qiusuo

使用

--help

qs -h

使用示例

根据配置文件中的 Section (通过 --section=<section>-s <section> 指定) 执行搜索或收集任务(见配置文件)。

qs -s books s 金庸                     # search books
qs --section=notes search mathematic   # search notes
qs -s books collect                    # collect downloaded books to your target directory

Keyboard Map

QIUSUO 使用 Vim 风格的键盘映射。

| key | 功能 | | - | - | | / | 激活搜索框,按回车<enter>提交搜索 | | j | 光标移动到下一项 | | k | 光标移动到上一项 | | {n}j | 光标移动到下 n 项, 其中 ({n} 代表一个数字如 4, 16) | | {n}k | 光标移动到上 n 项, 其中 ({n} 代表一个数字如 4, 16) | | <C-j> | 光标移动到下 15 项 | | <C-k> | 光标移动到上 15 项 | | {n}<C-j> | 光标移动到下 n * 15 项, 其中 ({n} 代表一个数字如 4, 16) | | {n}<C-k> | 光标移动到上 n * 15 项, 其中 ({n} 代表一个数字如 4, 16) | | g | 光标移动到第一项 | | G | 光标移动到最后一项 | | q | 退出 |

搜索框为激活状态时,有如下按键映射。

| key | 功能 | | - | - | | <enter> | 搜索 | | <C-g> | 取消搜索 | | <C-u> | 清空搜索输入框 |

配置文件

配置文件(~/.qsconf.json)举例:

{
    "books": {
        "name": "books",
        "alias": "bk",
        "location": "/Users/kylqin/books",
        "fileExtensions": ["epub", "pdf", "mobi"],
        "collectFrom": ["/Users/kylqin/Downloads"]
    },
    "notes": {
        "name": "notes",
        "alias": "nt",
        "location": "/Users/kylqin/Documents/notes.d",
        "ignoreDirs": [".git"],
        "fileExtensions": ["md", "html", "xlsx"],
        "collectFrom": ["/Users/kylqin/Downloads"]
    }
}