{"id":19933943,"url":"https://github.com/k4m4/litecoin-regex","last_synced_at":"2025-05-03T12:30:22.726Z","repository":{"id":29729626,"uuid":"122613835","full_name":"k4m4/litecoin-regex","owner":"k4m4","description":"Ł Regular expression for matching Litecoin (LTC) addresses.","archived":false,"fork":false,"pushed_at":"2023-01-05T16:13:45.000Z","size":525,"stargazers_count":7,"open_issues_count":8,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-26T22:34:40.688Z","etag":null,"topics":["cryptocurrency-regex","litecoin","ltc","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:38:25.000Z","updated_at":"2024-09-17T09:27:29.000Z","dependencies_parsed_at":"2023-01-14T15:32:35.815Z","dependency_job_id":null,"html_url":"https://github.com/k4m4/litecoin-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%2Flitecoin-regex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k4m4%2Flitecoin-regex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k4m4%2Flitecoin-regex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k4m4%2Flitecoin-regex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/k4m4","download_url":"https://codeload.github.com/k4m4/litecoin-regex/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252190425,"owners_count":21708878,"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","litecoin","ltc","matcher","regex","regex-match"],"created_at":"2024-11-12T23:15:23.059Z","updated_at":"2025-05-03T12:30:22.408Z","avatar_url":"https://github.com/k4m4.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# litecoin-regex [![Build Status](https://travis-ci.org/k4m4/litecoin-regex.svg?branch=master)](https://travis-ci.org/k4m4/litecoin-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 Litecoin (LTC) addresses\n\n\n## Install\n\n```\n~ ❯❯❯ npm install litecoin-regex\n```\n\n\n## Usage\n\n```js\nconst litecoinRegex = require('litecoin-regex');\n\nlitecoinRegex().test('nodejsrocks LQL9pVH1LsMfKwt82Y2wGhNGkrjF8vwUst');\n//=\u003e true\n\nlitecoinRegex({exact: true}).test('nodejsrocks LQL9pVH1LsMfKwt82Y2wGhNGkrjF8vwUst foo');\n//=\u003e false\n\nlitecoinRegex({exact: true}).test('LQL9pVH1LsMfKwt82Y2wGhNGkrjF8vwUst');\n//=\u003e true\n\n'nodejsrocks LQL9pVH1LsMfKwt82Y2wGhNGkrjF8vwUst unicorn LPpHectVSbk7YHa5X89Cm3FoFBfzkJBJc9 rainbow'.match(litecoinRegex());\n//=\u003e ['LQL9pVH1LsMfKwt82Y2wGhNGkrjF8vwUst', 'LPpHectVSbk7YHa5X89Cm3FoFBfzkJBJc9']\n```\n\n\n## API\n\n### litecoinRegex([options])\n\nReturns a regex for matching Litecoin (LTC) addresses.\n\n#### options.exact\n\nType: `boolean`\u003cbr\u003e\nDefault: `false` *(Matches any LTC address in a string)*\n\nOnly match an exact string. Useful with `RegExp#test()` to check if a string is an LTC address.\n\n\n## Related\n\n- [ethereum-regex](https://github.com/k4m4/ethereum-regex) - Regular expression for matching Ethereum (ETH) 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- [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%2Flitecoin-regex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fk4m4%2Flitecoin-regex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk4m4%2Flitecoin-regex/lists"}