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

bonbastjs

v1.0.7

Published

A simple js scrapper to get all the bonbast exchange rates.

Downloads

4

Readme

BonbastJS

A simple js scrapper to get all the bonbast exchange rates.

Table of Contents

Installation

Package manager

Using npm:

npm install bonbastjs

Using yarn:

yarn add bonbastjs

Usage

This package only has a single function to invoke, which returns all the bonbast json data:

import bonbastjs from 'bonbastjs';

// usage
(async () => {
  const exchangeRates = await bonbastjs();
})();

Sample response:

{
  try1: '2355',
  month: 10,
  emami1: '21900000',
  afn2: '500',
  afn1: '505',
  rub2: '600',
  azadi1_22: '12700000',
  bhd2: '116350',
  azn1: '25940',
  bhd1: '116850',
  azadi1g: '4600000',
  bourse: '1904324.2',
  try2: '2335',
  cny1: '6310',
  cny2: '6290',
  cad1: '32410',
  cad2: '32310',
  jpy1: '3280',
  thb1: '1265',
  usd1: '44000',
  usd2: '43900',
  thb2: '1260',
  azn2: '25840',
  dkk1: '6290',
  amd2: '1115',
  day: 8,
  minute: '17',
  amd1: '1120',
  bitcoin: '16533.72',
  hour: '03',
  sar2: '11685',
  rub1: '605',
  azadi1g2: '4300000',
  azadi12: '20000000',
  eur1: '46760',
  eur2: '46610',
  emami12: '21550000',
  second: '04',
  omr1: '114415',
  year: 1401,
  chf2: '47285',
  chf1: '47435',
  azadi1_42: '9600000',
  jpy2: '3270',
  kwd2: '143415',
  kwd1: '143815',
  sek1: '4210',
  gbp2: '52815',
  gbp1: '53015',
  sek2: '4195',
  myr1: '9960',
  myr2: '9930',
  omr2: '114115',
  azadi1: '20700000',
  azadi1_2: '13000000',
  aud2: '29655',
  azadi1_4: '10000000',
  aud1: '29755',
  dkk2: '6270',
  inr2: '530',
  inr1: '530',
  last_modified: 'December 28, 2022 16:35',
  aed2: '11975',
  aed1: '11995',
  iqd2: '3005',
  qar1: '12100',
  qar2: '12070',
  iqd1: '3015',
  hkd2: '5625',
  hkd1: '5655',
  sar1: '11715',
  created: 'December 28, 2022 00:01',
  sgd2: '32540',
  sgd1: '32640',
  ounce: '1805.56',
  weekday: 'Thursday',
  mithqal: '8630000',
  gol18: '1992242',
  nok1: '4455',
  nok2: '4440'
}

Support

Please open an issue for support.