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

gulp-bower-deps

v0.3.3

Published

Easily describe your bower dependencies

Readme

gulp-bower-deps: defines your bower dependencies inside gulp configuration

Yet another bower gulp plugin

This plugin is a tiny wrapper around bower api designed to avoid boilerplate as much as possible:

  • no bower.json
  • no bowerrc needed
  • all bower configuration in one place, preferably not in a json file:
    • which bower package you need
    • where you place it
    • what file you use.

A problem with bower is that it does not defines clearly where files are supposed to be. Developer can specify a main file, but they rarely do, and when they do this is never the version you want to have. Some prefer pre-minified, other prefer not minified, in order to debug.

This plugin allows you to specify in gulp the list of bower package you want to depend on, and which file you want to embed into your asset pipeline.

Usage

{{{ opts = { directory: "libs", deps: { jquery: { version: "^2.0.0", files: "dist/jquery.js" }, angular: { version: "~1.2.0", files: "angular.js" } }, testdeps:{ "angular-mock": { version: "~1.2.0", files: "angular-mock.js" } }, } var bower = require("gulp-bower-deps")(opts);

bower.installtask(gulp);

... gulp.src(bower.deps).pipe(...)

... gulp.src(bower.testdeps).pipe(...) }}} The previous example is arguably much nicer in coffeescript.

  • directory: directory, where bower will install the dependencies

  • deps: dependencies specification, usually concatenated together for prod

  • testdeps: dependencies specification for tests, concatenated in another file for tests

Integration in a larger build system

This package is independent but made for guanlecoja, so you can see how it is used there. https://www.npmjs.org/package/guanlecoja

Credits

Some code based on: https://github.com/zont/gulp-bower

Changelog

0.3.2

  • Fix support for strict mode.

0.3.1

  • Fix an issue where bowerdeps only works on a second run.

0.3.0

  • Generate a bowerdeps.js, which contain the metadata for the dependencies embedded in the deps source files

0.2.0

  • Change installation method. We now fake a bower.json, instead of faking a bower install. With this method, bower does all checks correctly, and dont fail to upgrade packages Because this uses undocumented bower API, we fix the bower version in dependancies

0.1.1

  • fix bug where dep is not downloaded if files = []

0.1.0

  • initial release