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

octopull

v2.0.0

Published

Your multi repo pull request buddy, octopull your git repos

Downloads

80

Readme

octopull logo

octopull

octopull /ˈɒktəpəs/ noun ~~a cephalopod mollusc with eight sucker-bearing arms, a soft sac-like body, strong beak-like jaws, and no internal shell.~~ Your multi repo pull request buddy :) octopull your git repos!

Why?

The microlibs and webcomponents era annd their multi repository nature, introduces a new complexity for chores and repository updating. After cloning, updating a travis files for 50 different repos, you'll get the point :P

octopull makes updating any set of files to any set of repositories a breeze.

Currently works only with GitHub

RDD - README driven development :P

Requirements

  • NodeJS v6.0 or newer
  • npm v3.10 or newer

Install

npm install octopull --save

Create .env file with token

Create a .env file in the root directory of your project.

GITHUB_TOKEN=your_token

Write simple script

const octopull = require('octopull')

const repos = [
  {
      owner: 'alvaropinot',
      repo: 'test-redesigned-broccoli',
      defaultBranch: 'master',
      platform: 'github',
  },
  {
      owner: 'alvaropinot',
      repo: 'test-supreme-bassoon',
      defaultBranch: 'master',
      platform: 'github',
  }
]

const options = {
  files: ['foo.yml', 'bar.yml'],
  branch: 'update-foo-and-bar', // autogenerated if blank
  message: 'a cool commit msg', // autogenerated if blank
  // OPTIONAL
  pullRequest: {
    title: 'a cool PR title', // autogenerated if blank
    body: 'a cool PR body', // autogenerated if blank
    // OPTIONAL
    // assignees: ['username1', 'username2']
    // reviewers: ['username3', 'username4']
  }
}

repos.forEach((config) => octopull.commit(config, options))

Run the script

node yourScript.js

Example PR's created by octopull

  • https://github.com/alvaropinot/test-redesigned-broccoli/pull/10
  • https://github.com/alvaropinot/test-supreme-bassoon/pull/4

Develop

Setup

git clone https://github.com/alvaropinot/octopull

cd octopull
npm install
npm run dev

Run

cd examples
node githubPullRequest.js

License

MIT - @alvaropinot Alvaro Pinot

  • CC Logo Octopus by Mark Aventura from the Noun Project
  • CC Logo Octopus Tentacles by Iconic from the Noun Project