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 🙏

© 2026 – Pkg Stats / Ryan Hefner

travis-token-updater

v1.6.14

Published

tool for rolling tokens for multiple projects across an account

Downloads

386

Readme

travis-token-updater

tool for rolling tokens for multiple projects across an account

Codecov Node CI Workflow Status

Table of Contents

Purpose

This tool will scan your GitHub account's repositories for JavaScript projects and make it simple to update the value of the NPM_TOKEN or GH_TOKEN encrypted environment variable on Travis CI for each project.

This is especially useful for an NPM_TOKEN that is CIDR restricted to work only on valid Travis CI servers. This restriction depends on the public IP addresses of those servers, which do change occasionally. When the list changes, a new token with the proper IPs must be created and used instead of the previous token that now has an outdated list of IPs.

:warning: This package provides only the programmatic API that enables rolling the tokens on Travis CI, but is expected to be run interactively. You are expected to provide your own CLI wrapper.

Usage

npm MIT license

Installation

$ npm install travis-token-updater

Authentication

A GitHub personal access token is needed to interaction the the GitHub and Travis CI APIs.

Add a personal access token to your ~/.netrc file

machine github.com
  login <personal access token here>

Example

Dependencies:

import yargs from 'yargs';
import {update as updateTravisTokens} from 'travis-token-updater';

Register with the framework of your choise (yargs is used here)

yargs
  .scriptName('form8ion-utils')
  .usage('Usage: $0 <cmd> [args]')
  .command(
    'travis-tokens',
    'Roll token for Travis projects throughout the organization',
    () => updateTravisTokens({githubAccount: '<your github account here (optionally)>'})
  )
  .help('h')
  .alias('h', 'help')
  .argv;

Contributing

Conventional Commits Commitizen friendly semantic-release PRs Welcome Greenkeeper badge

Dependencies

$ nvm install
$ npm install

Verification

$ npm test