{"id":24315417,"url":"https://github.com/acwilan/ngacw-dpi","last_synced_at":"2025-12-12T04:22:31.418Z","repository":{"id":57178307,"uuid":"56354385","full_name":"acwilan/ngacw-dpi","owner":"acwilan","description":"AngularJS validator for Guatemalan CUIs","archived":false,"fork":false,"pushed_at":"2018-12-26T21:34:27.000Z","size":33,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-10T10:20:33.843Z","etag":null,"topics":["angularjs","dpi"],"latest_commit_sha":null,"homepage":null,"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/acwilan.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":"2016-04-15T22:58:01.000Z","updated_at":"2018-12-26T21:34:14.000Z","dependencies_parsed_at":"2022-09-14T02:31:13.460Z","dependency_job_id":null,"html_url":"https://github.com/acwilan/ngacw-dpi","commit_stats":null,"previous_names":["acwilan/angular-dpi-validator"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/acwilan/ngacw-dpi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acwilan%2Fngacw-dpi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acwilan%2Fngacw-dpi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acwilan%2Fngacw-dpi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acwilan%2Fngacw-dpi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/acwilan","download_url":"https://codeload.github.com/acwilan/ngacw-dpi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acwilan%2Fngacw-dpi/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265971289,"owners_count":23857857,"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":["angularjs","dpi"],"created_at":"2025-01-17T11:15:16.986Z","updated_at":"2025-12-12T04:22:31.353Z","avatar_url":"https://github.com/acwilan.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DPI Validator for AngularJS\n\n## Description\n\nThis is a directive for DPI (Documento Personal de Identificación, something like a SSN in Guatemala).\n\n## Downloading\n\nYou may use it as a bower component:\n\n```\nbower install ngacw-dpi\n```\n\nOr alternatively:\n\n```\nnpm install angular-dpi-validator\nyarn add angular-dpi-validator\n```\n\nYou may as well download the [javascript file](src/ngacw-dpi.js) and use it yourself.\n\n## Usage\n\nFirst of all, you need to include the script in your HTML file.\n\n```\n\u003cscript type=\"text/javascript\" src=\"node_modules/ngacw-dpi/src/ngacw-dpi.directive.js\"\u003e\u003c/script\u003e\n```\n\nThen, you need to modify your `app.js` file to include the dependency.\n\n```\nangular.module('yourModuleName', ['acw.directives'])\n```\n\nFinally, add it as an attribute to your inputs or components that depend on `ng-model`.\n\n```\n\u003cinput type=\"text\" ng-model=\"dpi\" dpi /\u003e\n```\n\nCheers!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facwilan%2Fngacw-dpi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Facwilan%2Fngacw-dpi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facwilan%2Fngacw-dpi/lists"}