{"id":15504726,"url":"https://github.com/alanbsmith/input-validator-lib","last_synced_at":"2025-09-08T00:13:10.364Z","repository":{"id":78448024,"uuid":"115287423","full_name":"alanbsmith/input-validator-lib","owner":"alanbsmith","description":"an example library for a JavaScript January article","archived":false,"fork":false,"pushed_at":"2017-12-29T07:24:59.000Z","size":140,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"add-initial-phone-validation","last_synced_at":"2025-08-18T08:42:14.749Z","etag":null,"topics":[],"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/alanbsmith.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","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":"2017-12-24T21:14:31.000Z","updated_at":"2018-02-16T14:50:42.000Z","dependencies_parsed_at":"2023-04-22T17:46:00.432Z","dependency_job_id":null,"html_url":"https://github.com/alanbsmith/input-validator-lib","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alanbsmith/input-validator-lib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alanbsmith%2Finput-validator-lib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alanbsmith%2Finput-validator-lib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alanbsmith%2Finput-validator-lib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alanbsmith%2Finput-validator-lib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alanbsmith","download_url":"https://codeload.github.com/alanbsmith/input-validator-lib/tar.gz/refs/heads/add-initial-phone-validation","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alanbsmith%2Finput-validator-lib/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274113616,"owners_count":25224446,"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","status":"online","status_checked_at":"2025-09-07T02:00:09.463Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-10-02T09:19:45.704Z","updated_at":"2025-09-08T00:13:10.339Z","avatar_url":"https://github.com/alanbsmith.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Input Validator Lib\n\n_an example library for a [JavaScript January](https://www.javascriptjanuary.com/) article_\n\n## INSTALLATION\n\n_If this were actually published to npm_, you could install this library by running:\n\n```sh\n$ npm install input-validator-lib\n```\n\n## UP \u0026 RUNNING\n\nTo install dependencies with Yarn, run:\n\n```sh\n$ yarn install\n```\n\nor to install with npm, run:\n\n```sh\n$ npm install\n```\n\n## LOCAL DEVELOPMENT\n\n### LINTING\n\nTo run the linter once:\n\n```\n$ yarn lint\n```\n\nTo run the watch task:\n\n```\n$ yarn lint:watch\n```\n\n### TESTING\n\nTo run the tests once:\n\n```\n$ Yarn test\n```\n\nTo run the watch script (for only relevant test files)\n\n```\n$ yarn test:watch\n```\n\nTo run the watch script (for all test files)\n\n```\n$ yarn test:watchAll\n```\n\nTo view the coverage report:\n\n```\n$ yarn test:coverage:report\n```\n\n### REVIEW\n\nIf you'd like to run the linters and tests at once (this is a nice check before pushing to\nGithub or deploys), you can run:\n\n```\n$ yarn review\n```\n\n### BUILD\n\n_**NOTE:** When you run `build`, Babel will create a `build` directory. This is what your users\nwill interact with when they use your library. Nothing in `lib` gets shipped with your\npublished module._\n\nRun once:\n\n```\n$ yarn build\n```\n\nRun the watch script:\n\n```\n$ yarn build:watch\n```\n\n_**NOTE:** the build script runs in the `prepublish` script just before you publish to npm._\n\n## CONTRIBUTING\n\nI am thankful for any contributions made by the community. By contributing you agree to abide by\nthe Code of Conduct in the [Contributing Guidelines](https://github.com/alanbsmith/input-validator-lib/blob/master/.github/CONTRIBUTING.md).\n\n## LICENSE\n\n[MIT](https://github.com/alanbsmith/input-validator-lib/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falanbsmith%2Finput-validator-lib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falanbsmith%2Finput-validator-lib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falanbsmith%2Finput-validator-lib/lists"}