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

git-travis

v3.1.0

Published

Git sub command to show travis status

Downloads

127

Readme

Git Travis-CI integration

Simple git subcommand to display the current build status for the project you are in.

Install

npm -g install git-travis

Usage

Change into a git repo that has builds on Travis-CI.

Then issue: git travis to display the latest build.

Options

To access github data over ssh, generate a GitHub Personal Access Token, make sure you have the following environment variable

export GITHUB_ACCESS_TOKEN=your_personal_access_token

More help: https://help.github.com/articles/creating-an-access-token-for-command-line-use/

Examples

Using my fork of YUI3

$ cd yui3
$ git travis
Fetching build status for davglass/yui3
    ✔ davglass/yui3
        Compare:  https://github.com/davglass/yui3/compare/1d1ad391f2d0...5b8b97fac95d
        ✔ 5b8b97f (3.x) Merge branch 'master' into 3.x (Dav Glass <[email protected]>) (finished)
            ✔ 446.1 node_js 0.6
            ✔ 446.2 node_js 0.8
            ✔ 446.3 node_js 0.9

Using the lodash repo

$ cd lodash
$ git travis
Fetching build status for bestiejs/lodash
    ✔ bestiejs/lodash
        Compare:  https://github.com/bestiejs/lodash/compare/33441e1b246c...28d505658407
        ✔ 28d5056 (master) Add json3.js, remove json2 and jslitmus from vendors. (John-David Dalton <[email protected]>) (finished)
            ✔ 56.1 node_js 0.6
            ✔ 56.2 node_js 0.8

It also supports your current working branch. It will try to locate the latest build from your current active branch and show that to you.

[yeti][grover (0.1.0)] ➔ git travis
Fetching build status for davglass/grover:0.1.0
    ✔ davglass/grover
        Compare:  https://github.com/davglass/grover/compare/5cbde21f2ede...13206b8df73a
        ✔ 13206b8 (0.1.0) Change for travis (Dav Glass <[email protected]>) (finished)
            ✔ 61.1 node_js 0.8
            ✔ 61.2 node_js 0.9
[yeti][grover (0.1.0)] ➔ git co master
Switched to branch 'master'
[yeti][grover (master)] ➔ git travis
Fetching build status for davglass/grover:master
    ✔ davglass/grover
        Compare:  https://github.com/davglass/grover/compare/fd8838853944...7295735b5528
        ✔ 7295735 (master) Removed deprecated 0.4 node build (Dav Glass <[email protected]>) (finished)
            ✔ 60.1 node_js 0.8
            ✔ 60.2 node_js 0.9

Notes

This was a simple script because I liked it, I'll add some configuration to it in the future.

Build Status

Build Status