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

hubot-dolar-blue

v1.0.2

Published

Displays dolar blue values for the argentinian market from different sources, including dolarblue.net.

Downloads

7

Readme

hubot-dolar-blue

A hubot who knows about the argentinian dolar blue market. It will give you up to date rates based on several sources, including dolarblue.net, right inside your chat.

Commands

  • jarvis db or jarvis dolarblue: Will output a string with rates obtained using dolar-blue package.
  • jarvis dbn: Will get the latest dolar blue rates published by dolarblue.net.
  • jarvis dbn.all: Will get the latest rates published by dolarblue.net (includes currencies and values other than dolar blue).

Note: You should edit src/index.js and change "jarvis" to whatever you like. This is the bot's name. Commands can be executed without the need to prepend the name of the bot when sending direct messages to it (db, dbn, etc.).

Install

Goto your hubot root directory and run:

npm install hubot-dolar-blue --save

Update your external-scripts.json file adding hubot-dolar-blue to the array.

Also, you'll need to have imagemagick installed on your system.

apt-get install imagemagick

To run dbn you'll need to edit src/index.js and change the following vars:

  • imagesPath: path with write permissions where images will be downloaded.
  • croppedImageUrl: URL where you serve your cropped image (it's a crop from the original rates image provided by dolarblue.net).

Note: Only two images are saved and rewritten each time, so no worries about disk space.