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

xie-bookmark

v1.0.8

Published

a web bookmark manager by cli

Downloads

4

Readme

一个简单的网页书签管理器 a simple web bookmark manager

1.安装 install

npm install -g xie-bookmark

2.添加书签 add bookmark

# 添加一个书签,会自动获取网页的标题 add a bookmark, will get the title of the web page automatically
lan add https://www.zhihu.com
# 添加一个书签,并指定标题 add a bookmark, and specify the title
lan add https://www.zhihu.com  zhihu

3.查看书签 view bookmark

# 查看所有书签 view all bookmarks
lan
# 搜索书签 search bookmarks
lan search zhihu
# 当不存在任何匹配命令的时候也会被当作查寻指令 when there is no matching command, it will also be treated as a search command 
lan zhihu

4.重命名书签 rename bookmark

# 重命名书签 rename bookmark
lan rename 1 zhihu_new 

5.删除书签 remove bookmark

# 删除书签 remove bookmark
lan remove 1
# 删除书签,无需确认 remove bookmark, no need to confirm
lan remove 1 -f
# 删除所有书签 remove all bookmarks
lan empty
# 删除所有书签,无需确认 remove all bookmarks, no need to confirm
lan empty -f

6.统计书签数量 count the number of bookmarks

lan count

7.根据url获取书签内容 get bookmark content by url

# 查看指定url的书签,所以你也可以通过这个功能来保存一些非web的东西 view the bookmark of the specified url, so you can also use this feature to save some non-web things
lan add book_name 'my love is gone'
lan get book_name

8.导出书签 export bookmark

# 导出书签 export bookmark
lan export
# 导出书签到指定文件 export bookmark to specified file
lan export bookmark.txt

9.导入书签 import bookmark

# 导入书签 import bookmark
lan import --data <data>
# 导入书签,无需确认 import bookmark, no need to confirm
lan import --data <data> -f
# 从指定文件导入书签 import bookmark from specified file
lan import --file bookmark.txt
# 从指定的网络地址导入书签 import bookmark from specified url
lan import --url https://raw.githubusercontent.com/xieyezi/xie-bookmark/master/bookmark.txt

10.合并书签 merge bookmark

# 合并书签 merge bookmark
lan merge --data <data>
# 合并书签,无需确认 merge bookmark, no need to confirm
lan merge --data <data> -f
# 从指定文件合并书签 merge bookmark from specified file
lan merge --file bookmark.txt
# 从指定的网络地址合并书签 merge bookmark from specified url
lan merge --url https://raw.githubusercontent.com/xieyezi/xie-bookmark/master/bookmark.txt

todo list:

  1. --pass 对书签进行导出加密
  2. 导出到url