{"id":19933957,"url":"https://github.com/k4m4/dogecoin-regex","last_synced_at":"2025-05-03T12:30:25.181Z","repository":{"id":29729364,"uuid":"122612961","full_name":"k4m4/dogecoin-regex","owner":"k4m4","description":"Ð Regular expression for matching Dogecoin (DOGE) addresses.","archived":false,"fork":false,"pushed_at":"2023-01-05T16:13:41.000Z","size":526,"stargazers_count":10,"open_issues_count":7,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-26T04:04:18.855Z","etag":null,"topics":["cryptocurrency-regex","doge","dogecoin","matcher","regex","regex-match"],"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/k4m4.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}},"created_at":"2018-02-23T11:29:07.000Z","updated_at":"2024-12-02T10:40:07.000Z","dependencies_parsed_at":"2023-01-14T15:32:31.036Z","dependency_job_id":null,"html_url":"https://github.com/k4m4/dogecoin-regex","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k4m4%2Fdogecoin-regex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k4m4%2Fdogecoin-regex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k4m4%2Fdogecoin-regex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k4m4%2Fdogecoin-regex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/k4m4","download_url":"https://codeload.github.com/k4m4/dogecoin-regex/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252190432,"owners_count":21708880,"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":["cryptocurrency-regex","doge","dogecoin","matcher","regex","regex-match"],"created_at":"2024-11-12T23:15:25.776Z","updated_at":"2025-05-03T12:30:24.860Z","avatar_url":"https://github.com/k4m4.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dogecoin-regex [![Build Status](https://travis-ci.org/k4m4/dogecoin-regex.svg?branch=master)](https://travis-ci.org/k4m4/dogecoin-regex) [![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/xojs/xo)\n\n\u003e Regular expression for matching Dogecoin (DOGE) addresses.\n\n\n## Install\n\n```\n~ ❯❯❯ npm install dogecoin-regex\n```\n\n\n## Usage\n\n```js\nconst dogecoinRegex = require('dogecoin-regex');\n\ndogecoinRegex().test('nodejsrocks DANHz6EQVoWyZ9rER56DwTXHWUxfkv9k2o');\n//=\u003e true\n\ndogecoinRegex({exact: true}).test('nodejsrocks DANHz6EQVoWyZ9rER56DwTXHWUxfkv9k2o foo');\n//=\u003e false\n\ndogecoinRegex({exact: true}).test('DANHz6EQVoWyZ9rER56DwTXHWUxfkv9k2o');\n//=\u003e true\n\n'nodejsrocks DANHz6EQVoWyZ9rER56DwTXHWUxfkv9k2o unicorn DDTtqnuZ5kfRT5qh2c7sNtqrJmV3iXYdGG rainbow'.match(dogecoinRegex());\n//=\u003e ['DANHz6EQVoWyZ9rER56DwTXHWUxfkv9k2o', 'DDTtqnuZ5kfRT5qh2c7sNtqrJmV3iXYdGG']\n```\n\n\n## API\n\n### dogecoinRegex([options])\n\nReturns a regex for matching Dogecoin (DOGE) addresses.\n\n#### options.exact\n\nType: `boolean`\u003cbr\u003e\nDefault: `false` *(Matches any DOGE address in a string)*\n\nOnly match an exact string. Useful with `RegExp#test()` to check if a string is an DOGE address.\n\n\n## Related\n\n- [ethereum-regex](https://github.com/k4m4/ethereum-regex) - Regular expression for matching Ethereum (ETH) addresses.\n- [litecoin-regex](https://github.com/k4m4/litecoin-regex) - Regular expression for matching Litecoin (LTC) addresses.\n- [bitcoincash-regex](https://github.com/k4m4/bitcoincash-regex) - Regular expression for matching Bitcoin Cash (BCH) addresses.\n- [monero-regex](https://github.com/k4m4/monero-regex) - Regular expression for matching Monero (XMR) addresses.\n- [dash-regex](https://github.com/k4m4/dash-regex) - Regular expression for matching Dash addresses.\n- [ripple-regex](https://github.com/k4m4/ripple-regex) - Regular expression for matching Ripple (XRP) addresses.\n- [neo-regex](https://github.com/k4m4/neo-regex) - Regular expression for matching NEO addresses.\n\n\n## License\n\nMIT © [Nikolaos Kamarinakis](https://nikolaskama.me)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk4m4%2Fdogecoin-regex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fk4m4%2Fdogecoin-regex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk4m4%2Fdogecoin-regex/lists"}