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

picksel

v1.0.2

Published

Asset manager for pulling down Pixabay images.

Downloads

5

Readme

Picksel

Asset manager for pulling down Pixabay images.

What's Picksel?

If you grind your teeth when you find yourself committing large stock images to your static build repo, you're in the right place. Picksel is designed to cut down or eliminate the number of images you commit to your Git/Mercurial/whatever repository by acting as kind of like a 'package manager' for pulling down images from the free stock image site Pixabay.

Installation

Picksel is an npm package. Just run the following from your command prompt (assuming you have npm and node.js installed).

npm install -g picksel

From there, navigate to your project folder and run:

picksel auth

And enter your Pixabay API key when prompted. Follow this up with:

picksel init

This will initialize your project for use with Picksel.

Usage

To add a Pixabay image as an asset dependency, use the following command:

picksel add 195893 small flowers.jpg

In the above command we specify the hash ID of the image on Pixabay, the resolution to download it at, and the name of the destination file on disk. Once you're happy with your dependencies, run:

picksel install

To do the heavy lifting of downloading your image assets and putting them in the right place.

Remember!

To download pictures in any resolution higher than 'small' you will need to have your API access elevated by a member of the team at Pixabay. You can ask for elevated API access on the Pixabay website. If this problem is raised on GitHub as an issue it'll be immediately closed. It's out of my hands.

Contributing

At the risk of being swarmed by an angry mob of Node.js developers, I'm going to admit that Picksel is written in CoffeeScript. The built JavaScript is distributed on npm. Comments, suggestions and pull requests are very welcome.

Acknowledgements

Big shout-out and much love to Pixabay for providing an awesome website and API to program against. Visit them for loads of free public domain stock photos, videos and more.

Disclaimer

PICKSEL AND ITS AUTHOR(S) ARE NOT AFFILIATED WITH PIXABAY AND ALL OTHER PIXABAY PRODUCT NAMES ARE TRADEMARKS OR REGISTERED TRADEMARKS OF BRAXMEIER & STEINBERGER GBR. ALL OTHER COMPANY AND PRODUCT NAMES ARE TRADEMARKS OR REGISTERED TRADEMARKS OF THEIR RESPECTIVE COMPANIES.