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

exchange-rate-live

v1.1.0

Published

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

Downloads

22

Readme

License: MIT

Exchange Rates npm Library

Description

This npm library gets live values of exchange rates from one the big 4 banks in Australia (ANZ) and one of the biggest banks in Egypt (Banque Misr) , uses axios and dom-parser in the background to get the currencies and their buy and sell prices as json file. The project uses github actions to auto publish the npm library and semantic versioning and commitizen to ensure the versions are indicative and have release notes.

Installation

simply npm install exchange-rates-live or yarn add exchange-rates-live

Usage

Simple code snippet below

const exchange = require("exchange-rates-live");

exchange.egy("usd").then(res => console.log(res)).catch(err => console.log(err))
exchange.aussie().then(res => console.log(res)).catch(err => console.log(err))

to use the Australian bank rates references to Australian Dollar use aussie and for Egyptian Pound rates referenced to Egyptian Pound use egy the functions are async and return promises, if resolved it will be either a json object. You can pass the 3 alpha code of a currency 'case-insensitive' (e.g. USD, CAD,...etc ) you want to filter you results to, otherwise you will get all currencies. "This rules applies to both aussie and egy

Contributing

Contributions are welcome, please feel free to send me a message if you got any idea that will help the library grow or get enhanced.

Tests

Only manual testing and comparing to live values on the websites of the banks has been held to confirm the accuracy of the results.

Questions

You are welcome to provide any feedback and/or ask questions. Please, send any question to my e-mail [email protected] and/or visit my profile on Github

License

The project is protected under MIT, you may need to read through license conditions