{"id":19933944,"url":"https://github.com/k4m4/neo-regex","last_synced_at":"2025-07-04T06:10:03.038Z","repository":{"id":29789703,"uuid":"122782955","full_name":"k4m4/neo-regex","owner":"k4m4","description":"Regular expression for matching NEO addresses.","archived":false,"fork":false,"pushed_at":"2023-01-05T16:14:03.000Z","size":531,"stargazers_count":4,"open_issues_count":7,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-28T16:53:13.520Z","etag":null,"topics":["cryptocurrency-regex","matcher","neo","regex","regex-match"],"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/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-24T21:51:00.000Z","updated_at":"2023-01-31T16:57:25.000Z","dependencies_parsed_at":"2023-01-14T15:39:33.621Z","dependency_job_id":null,"html_url":"https://github.com/k4m4/neo-regex","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/k4m4/neo-regex","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k4m4%2Fneo-regex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k4m4%2Fneo-regex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k4m4%2Fneo-regex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k4m4%2Fneo-regex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/k4m4","download_url":"https://codeload.github.com/k4m4/neo-regex/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k4m4%2Fneo-regex/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263457206,"owners_count":23469297,"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","matcher","neo","regex","regex-match"],"created_at":"2024-11-12T23:15:23.086Z","updated_at":"2025-07-04T06:10:02.983Z","avatar_url":"https://github.com/k4m4.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# neo-regex [![Build Status](https://travis-ci.org/k4m4/neo-regex.svg?branch=master)](https://travis-ci.org/k4m4/neo-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 NEO addresses\n\n\n## Install\n\n```\n~ ❯❯❯ npm install neo-regex\n```\n\n\n## Usage\n\n```js\nconst neoRegex = require('neo-regex');\n\nneoRegex().test('nodejsrocks AQVh2pG732YvtNaxEGkQUei3YA4cvo7d2i');\n//=\u003e true\n\nneoRegex({exact: true}).test('nodejsrocks AQVh2pG732YvtNaxEGkQUei3YA4cvo7d2i foo');\n//=\u003e false\n\nneoRegex({exact: true}).test('AQVh2pG732YvtNaxEGkQUei3YA4cvo7d2i');\n//=\u003e true\n\n'nodejsrocks AQVh2pG732YvtNaxEGkQUei3YA4cvo7d2i unicorn AR4QmqYENiZAD6oXe7ftm6eDcwtHk7rVTT rainbow'.match(neoRegex());\n//=\u003e ['AQVh2pG732YvtNaxEGkQUei3YA4cvo7d2i', 'AR4QmqYENiZAD6oXe7ftm6eDcwtHk7rVTT']\n```\n\n\n## API\n\n### neoRegex([options])\n\nReturns a regex for matching NEO addresses.\n\n#### options.exact\n\nType: `boolean`\u003cbr\u003e\nDefault: `false` *(Matches any NEO address in a string)*\n\nOnly match an exact string. Useful with `RegExp#test()` to check if a string is an NEO 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- [dogecoin-regex](https://github.com/k4m4/dogecoin-regex) - Regular expression for matching Dogecoin (DOGE) addresses.\n\n\n## License\n\nMIT © [Nikolaos Kamarinakis](https://nikolaskama.me)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk4m4%2Fneo-regex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fk4m4%2Fneo-regex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk4m4%2Fneo-regex/lists"}