{"id":21027053,"url":"https://github.com/hugomd/is-currency","last_synced_at":"2025-06-19T00:04:04.962Z","repository":{"id":57277097,"uuid":"93139638","full_name":"hugomd/is-currency","owner":"hugomd","description":"💰 Validates whether a given string is a currency, according to ISO 4217.","archived":false,"fork":false,"pushed_at":"2018-11-04T02:50:30.000Z","size":38,"stargazers_count":14,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-15T10:39:42.413Z","etag":null,"topics":["currency","magic","module","nodejs","validation"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hugomd.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-02T07:34:17.000Z","updated_at":"2023-12-19T17:40:28.000Z","dependencies_parsed_at":"2022-09-18T04:01:57.680Z","dependency_job_id":null,"html_url":"https://github.com/hugomd/is-currency","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/hugomd/is-currency","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugomd%2Fis-currency","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugomd%2Fis-currency/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugomd%2Fis-currency/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugomd%2Fis-currency/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hugomd","download_url":"https://codeload.github.com/hugomd/is-currency/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugomd%2Fis-currency/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260654627,"owners_count":23042672,"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":["currency","magic","module","nodejs","validation"],"created_at":"2024-11-19T11:47:29.564Z","updated_at":"2025-06-19T00:03:59.942Z","avatar_url":"https://github.com/hugomd.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 💰 is-currency\n[![npm](https://img.shields.io/npm/v/is-currency.svg?maxAge=2592000)](https://www.npmjs.com/package/is-currency) [![Build Status](https://travis-ci.org/hugomd/is-currency.svg?branch=master)](https://travis-ci.org/hugomd/is-currency/builds) [![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/sindresorhus/xo) \n\n\u003e Validates whether a given input is a valid currency code, according to ISO 4217.\n\n# Installation\n```javascript\nnpm install is-currency\n```\n\n# Usage\n```javascript\nconst isCurrency = require('is-currency');\n\nisCurrency('usd'); // true\nisCurrency('fake-currency'); // false\n```\n\n# Contributing\n* `git clone git@github.com:hugomd/is-currency.git`\n* `npm install`\n* Make your changes\n* Open a pull request and ask for review ✌️\n* Optional: use emoji in your commits 🔥\n\n# Related Repositories\n* [`joi-is-currency`](https://github.com/hugomd/joi-currency-code)\n* [`is-currency-code`](https://github.com/hugomd/is-currency-code)\n* [`is-currency-symbol`](https://github.com/hugomd/is-currency-symbol)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhugomd%2Fis-currency","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhugomd%2Fis-currency","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhugomd%2Fis-currency/lists"}