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

qgulp

v0.4.1

Published

A gulp based build process for wordpress

Readme

QGulp

A gulp based build process for wordpress

Installation

  1. run npx qgulp in your project root folder. This will install npm packages and config files.
  2. rename .qgulprc-sample.js to .qgulprc.js and edit it
  3. run npm run serve to start watching and building files

Configuration

.qgulprc.js

  • edit paths for distribution, source, and watch files
  • the copy and vendorFiles objects are set as key (destination) : value (source) pairs
  • optional edit browserSync object and useBrowsersync to setup browsersync as default watcher
  • useMinOnlyOnBuild won't create extra .min files on production.
  • change isWordpressTheme to false if you are not developing a Wordpress Theme
  • edit ftpOptions and the .qgulprc-ftp.js to setup deployment via ftp
  • edit the deployDestination object to set remote paths for different environments
  • edit deployTasks to set detailed deployment tasks. Simply add a new object. eg: theme: { '/remote/path/to/theme': ['local/path/to/theme/**/*.*'] }

gulpfile.babel.js

  • should contain require('./qgulp/index')(require('gulp'));

Usage

You can run the following tasks from installed package.json. These include the core functionality for developing with qgulp.

  • npm run start starts the default gulp task which compiles the files in development mode and start the watcher
  • npm run watch starts the watcher
  • npm run dev compiles files in development mode
  • npm run dist compiles files for production
  • npm run build alias for npm run dist
  • npm run deploy deploys files via ftp to production server

gulp tasks

Otherwise use the following gulp tasks directly.

  • gulp the default task, runs dev and then watch

core gulp tasks

  • gulp clear removes processed files to start fresh
  • gulp css compiles scss files for development
  • gulp css:wp changes version in Wordpress stylesheet style.css
  • gulp js compiles js files for development
  • gulp js:vendor compiles js vendor files for production
  • gulp images processes image files for production
  • gulp copy copies files without processing to distribution folder
  • gulp copy:vendor copies files from vendor folders to source folder. Use this to fetch vendor files, for example from npm packages, to use in your source files.

watchers

  • gulp watch:livereload starts watching with livereload
  • gulp watch:browsersync starts watching with browsersync
  • gulp watch starts watcher based on config setting

version bumps and build

  • gulp bump:patch patch version update in package.json
  • gulp bump:minor minor version update in package.json
  • gulp bump:major major version update in package.json
  • gulp bump alias for gulp bump:patch
  • gulp dev compiles files in development mode
  • gulp dev --production compiles files for production
  • gulp dist alias for gulp dev --production
  • gulp build alias for gulp dev --production

deployment

  • gulp ftp deploy files to preview server
  • gulp ftp --production deploy files to production server
  • gulp ftp:XX deploys files defined in deploy config

Conventions

Distribution files are bundled in subfolders: img, css and js for their respective file types.

Changelog

0.4.0

  • added js:vendor as seperate task and packaged file
  • added production environment
  • changed some gulp task names
  • changed config

0.3.0

  • added readme
  • added version checks in config
  • changed config file names to dotfiles

0.2.0

  • added ftp tasks
  • updated configs

0.1.0

  • initial npm test with core tasks