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

node-doodles

v0.0.38

Published

This is a small module with which you can harness the REST API for google images known as doodles, can get images specifying the year and month of the doodle you want.

Downloads

25

Readme

Alt text Alt text

Overview

This is a small module with which you can harness the REST API for google images known as doodles, can get images specifying the year and month of the doodle you want.

This program has no malicious intent, with which it may be problematic to google servers.

If you find this module helpful please donate here with the mount of you want, it helps to maintain the project and enhands all.

Getting Started

Run following commands:

  • Install node-doodles via npm

npm install node-doodles -g

  • Or cloning the git repository

git clone https://github.com/Maxtermax/node-doodles.git

Usage

Run the main directive in the command prompt

doodles

if you get this error:

Please provides a year

is ok, mean the module was installed fine, when you execute that command node-doodles start to question two simples things for make a request to API-REST from google and get the doodles, the firt thing is the year of the doodle image wanna get and the second thing is he month.

to say that to node-doodles you must pásaselo as parameters as follows:

doodles -y 2014 -m 12

or   

doodles --year 2014 --month 12

now exist one folder in you system calls doodles this folder is in the place where you executed the previous command. in case google doesn't have doodle for one date node-doodle tell it and the program will be end.

too can get doodles from a range a time with:

doodles -Y 2014..2015 -M 1..2

note this way is make reference to the date with Y and M for year and month in uppercase

How it works

Node-doodles make one ´GET´ request to google API-REST and then search the images called doodles,and then with help node.js the program make a folder called doodles and finally download all images required.

Conclusion

for future versions more advanced commands are expected to make smarter obtaining doodles that existed over a range of time and things like that searches.

This program is open source, whoever look at the source code could do it and help it if he so wills.

Acknowledgements to julian david duque for their contributions and tips for node-doodles.

If you find this module helpful please donate here with the mount of you want, it helps to maintain the project and enhands all.