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

tiq

v0.1.1

Published

Tag everything.

Downloads

8

Readme

tiq

Tiq is a small command-line tool that allows adding meaning to any piece of text by associating tags (typically shorter pieces of text) with it.

In practice, this is useful as a web bookmarking tool, but its use is not limited to it.

Setup

npm install -g tiq

This will make the tiq command available in your $PATH. But if you want to install locally, omit the -g option and link index.js yourself.

Usage

Here's how you add some tags to some text:

$ tiq "This too shall pass." quotes,inspiring

To use it as a bookmarking tool:

$ tiq http://duckduckgo.com/ url,search,awesome
$ tiq http://www.bing.com/ url,search,microsoft
$ tiq http://www.reddit.com/ url,timewaster,funny

Then, to recall stuff tagged with search:

$ tiq search
http://duckduckgo.com/
http://www.bing.com/

... or both search and awesome:

$ tiq search,awesome
http://duckduckgo.com/

You can change the separator with the --separator option:

$ tiq -s : search:awesome
http://duckduckgo.com/

You can also tag multiple things at once, by using the separator in the first argument too:

$ tiq http://www.theverge.com/,http://www.engadget.com/ url,tech,news

There's no difference to which argument you use as text you want to tag and which one you use for tags. That is, the following is equivalent to the above:

$ tiq url,tech,news http://www.theverge.com/,http://www.engadget.com/

You can optionally use a namespace to partition your data. For example:

$ tiq -n john url http://myprivateblog.com/

Now running tiq -n john url will return only things tagged with url under the john namespace.

Storage

Out of the box, tiq comes with support for persisting the data in a JSON file using the tiq-json plugin.

Alternatively, you can use the following storage plugins:

  • tiq-db: store data in SQLite, PostgreSQL or MySQL.

Configuration

The configuration file by default is expected in $XDG_CONFIG_HOME/tiq/config.json (where $XDG_CONFIG_HOME is $HOME/.config).

Here are the options you can set in the configuration file:

  • separator: The separator used to split text items and tags. [default: ","]
  • store.plugin: The name of the storage plugin to use. [default: "tiq-json"]
  • store.config: Additional configuration specific to the storage plugin. See each plugin's documentation for the format it expects. [default: {}]

You can override some of this configuration by specifying various options at runtime. See tiq --help for more information.

License

MIT