{"id":13600820,"url":"https://github.com/bitcoinjs/bip21","last_synced_at":"2025-04-07T17:09:42.481Z","repository":{"id":22584146,"uuid":"25925772","full_name":"bitcoinjs/bip21","owner":"bitcoinjs","description":"A BIP21 compatible URL encoding utility library","archived":false,"fork":false,"pushed_at":"2024-07-20T04:18:04.000Z","size":159,"stargazers_count":55,"open_issues_count":0,"forks_count":44,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-10-29T20:47:44.134Z","etag":null,"topics":["bip21","bitcoin","javascript"],"latest_commit_sha":null,"homepage":null,"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/bitcoinjs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-10-29T14:52:25.000Z","updated_at":"2024-07-21T13:14:58.000Z","dependencies_parsed_at":"2024-11-07T03:34:03.340Z","dependency_job_id":"6b5e28e5-e47c-4d02-9638-59479a973632","html_url":"https://github.com/bitcoinjs/bip21","commit_stats":{"total_commits":69,"total_committers":4,"mean_commits":17.25,"dds":"0.18840579710144922","last_synced_commit":"fb796720b56d4b22dff8ad543ef4153ef45a10ad"},"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitcoinjs%2Fbip21","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitcoinjs%2Fbip21/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitcoinjs%2Fbip21/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitcoinjs%2Fbip21/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bitcoinjs","download_url":"https://codeload.github.com/bitcoinjs/bip21/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247694876,"owners_count":20980733,"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":["bip21","bitcoin","javascript"],"created_at":"2024-08-01T18:00:49.369Z","updated_at":"2025-04-07T17:09:42.461Z","avatar_url":"https://github.com/bitcoinjs.png","language":"JavaScript","readme":"# bip21\n\n[![build status](https://secure.travis-ci.org/bitcoinjs/bip21.png)](http://travis-ci.org/bitcoinjs/bip21)\n[![Version](http://img.shields.io/npm/v/bip21.svg)](https://www.npmjs.org/package/bip21)\n\nA [BIP21](https://github.com/bitcoin/bips/blob/master/bip-0021.mediawiki) compatible URL encoding library.\n\n\n## Example\n\n``` javascript\nvar bip21 = require('bip21')\n\nvar decoded = bip21.decode('bitcoin:1BgGZ9tcN4rm9KBzDn7KprQz87SZ26SAMH?amount=20.3\u0026label=Foobar')\n\nconsole.log(decoded)\n// { address: '1BgGZ9tcN4rm9KBzDn7KprQz87SZ26SAMH',\n//   options: {\n//     amount: 20.3,\n//     label: 'Foobar' }\n// }\n//\n// WARNING: Remember to error check the `.address`!\n\nconsole.log(bip21.encode('1BgGZ9tcN4rm9KBzDn7KprQz87SZ26SAMH'))\n// =\u003e bitcoin:1BgGZ9tcN4rm9KBzDn7KprQz87SZ26SAMH\n\nconsole.log(bip21.encode('1BgGZ9tcN4rm9KBzDn7KprQz87SZ26SAMH', {\n\tamount: 20.3,\n\tlabel: 'Foobar'\n}))\n// =\u003e bitcoin:1BgGZ9tcN4rm9KBzDn7KprQz87SZ26SAMH?amount=20.3\u0026label=Foobar\n```\n\n\n## License [MIT](LICENSE)\n","funding_links":[],"categories":["BTC","JavaScript","List of content"],"sub_categories":["Libraries","BIPs"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitcoinjs%2Fbip21","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitcoinjs%2Fbip21","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitcoinjs%2Fbip21/lists"}