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

tagger-bin

v1.0.5

Published

Simple utility to do something (e.g. install) packages from git repository by selecting git tag which is presented by semver rules

Downloads

9

Readme

tagger

npm

Simple utility to do something (e.g. install) packages from git repository by selecting git tag which is presented by semver rules.

Tagger works with git repositories only through ssh connection.

If you have a package that is not in npm or local repos but it has versionong, tagger may be helpful for you.

Requirements

tagger works with:

  • ~~macOS~~ // TODO
  • Linux (64-bit)
  • Windows (64-bit)

CLI

Usage: tagger (--help | --version)
       tagger [--cfg PATH] (--show-latest | --list-all) PACKAGES...
       tagger [--exec --cfg PATH] PACKAGES...

Options:
    -h, --help              Show this message.
    -v, --version           Show the version of tagger.
    -c PATH, --cfg PATH     Path to config file. If not specified config will be searching in ./.tagger.cfg.json and ~/.tagger.cfg.json"
    -l, --show-latest       Prints latest valid tag.
    -a, --list-all          Prints all valid by semver tags.
    -e, --exec              *optional. Do something with specified or latest package version.

Examples:
    tagger ui
    tagger --show-latest hlp
    tagger --exec -c ../path_to_tagger_config.json [email protected]

Config file

Config file name by default is .tagger.cfg.json. And if it is not specified, it is searched in directory where you run tagger or in your home directory (e.g. ~/.tagger.cfg.json).

Config includes fields:

repos

Type: Array<{name: string, url: string}>

List of package repositories you want to use. Each item in this list cantains name ( to identify it ) and url know how to connect. Example:

{
  "repos": [
    {
      "name": "tagger",
      "url": "ssh://[email protected]:emgyrz/tagger.git"
    }
  ],
  // ...
}

command

Type: String

Says what to do with package. In command you have several variables that will be replaced on executing

  • {NAME} - name of package presents in repo
  • {URL} - same
  • {VERSION} - version of package you were specify or latest version

Example:

{
  // ...
  "command": "yarn add {URL}#{VERSION}"
  // "command": "echo 'my latest version of package {NAME} is {VERSION}'",
  // "command": "rm -rf / :)"
}
Enjoy using!

License

This package is MIT licensed.