{"id":23201117,"url":"https://github.com/codedotjs/currbit","last_synced_at":"2026-04-29T17:05:32.027Z","repository":{"id":87437292,"uuid":"135860697","full_name":"CodeDotJS/currbit","owner":"CodeDotJS","description":":earth_asia: An API to convert any world currency into Bitcoin value. ","archived":false,"fork":false,"pushed_at":"2018-06-06T22:32:14.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-20T00:41:16.410Z","etag":null,"topics":["api","bitcoin","change","convert","currency","rate","value"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CodeDotJS.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-06-03T00:04:39.000Z","updated_at":"2023-09-08T17:41:16.000Z","dependencies_parsed_at":"2023-07-06T19:00:45.746Z","dependency_job_id":null,"html_url":"https://github.com/CodeDotJS/currbit","commit_stats":{"total_commits":7,"total_committers":1,"mean_commits":7.0,"dds":0.0,"last_synced_commit":"88d907a1eb655796967cd100f66afab2e20053fa"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeDotJS%2Fcurrbit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeDotJS%2Fcurrbit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeDotJS%2Fcurrbit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeDotJS%2Fcurrbit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodeDotJS","download_url":"https://codeload.github.com/CodeDotJS/currbit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247314665,"owners_count":20918884,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","bitcoin","change","convert","currency","rate","value"],"created_at":"2024-12-18T15:13:55.056Z","updated_at":"2026-04-29T17:05:27.005Z","avatar_url":"https://github.com/CodeDotJS.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n\tC U R R B I T\n\t\u003cbr\u003e\n\t\u003ca href=\"https://travis-ci.org/CodeDotJS/currbit\"\u003e\u003cimg src=\"https://travis-ci.org/CodeDotJS/currbit.svg?branch=master\"\u003e\u003c/a\u003e  \u003cimg src=\"https://img.shields.io/badge/code_style-XO-5ed9c7.svg\"\u003e\n\t\u003cbr\u003e\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\nAn API to convert any world currency to Bitcoin value!\n\u003c/p\u003e\n\n## Install\n\n```\n$ npm install --save currbit\n```\n\n## Usage\n\n__`Random Currencies`__\n\n```js\nconst currbit = require('currbit');\n\ncurrbit().then(res =\u003e {\n  console.log(res);\n  // 1 Pound sterling = 0.00018 Bitcoin\n});\n\ncurrbit().then(res =\u003e {\n  console.log(res);\n  // 1 Nicaraguan Cordoba = 0.0000041 Bitcoin\n});\n```\n\n__`Specific Currency Code`__\n\n```js\ncurrbit('usd').then(res =\u003e {\n  console.log(res);\n  // 1 United States Dollar = 0.00013 Bitcoin\n});\n```\n\n__`Specific currency with value`__\n\n```js\ncurrbit('100000 Iranian rial').then(res =\u003e {\n  console.log(res);\n  // 1,00,000 Iranian Rial = 0.00033 Bitcoin\n})\n```\n\n## API\n\n#### __`currbit()`__\nReturns bitcoin value of random currencies!\n\n#### __`currbit(curr)`__\nReturns bitcoin value of specific currecy!\n\n__`curr`__\n\n`Type :` `string`\n\n\n## Related\n\n\n- __[`C2B`](https://github.com/CodeDotJS/c2b)__ `:` `Easily convert any World Currency into Bitcoin`\n\n## License\n\nMIT \u0026copy; [Rishi Giri](http://rishigiri.ml)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodedotjs%2Fcurrbit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodedotjs%2Fcurrbit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodedotjs%2Fcurrbit/lists"}