{"id":19311973,"url":"https://github.com/weblineindia/nodejs-fiscal-validation","last_synced_at":"2026-05-18T02:32:15.807Z","repository":{"id":57311953,"uuid":"273236745","full_name":"weblineindia/NodeJS-Fiscal-Validation","owner":"weblineindia","description":"A NodeJS component used for Fiscal validation and its property value.","archived":false,"fork":false,"pushed_at":"2023-12-27T08:10:46.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-17T05:01:45.355Z","etag":null,"topics":["fiscal","fiscal-validation","node","node-module","nodejs","nodejs-component","nodejs-fiscal-validation"],"latest_commit_sha":null,"homepage":"https://www.weblineindia.com/communities.html","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/weblineindia.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"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":"2020-06-18T12:50:09.000Z","updated_at":"2023-12-27T08:10:31.000Z","dependencies_parsed_at":"2024-11-25T15:01:31.194Z","dependency_job_id":null,"html_url":"https://github.com/weblineindia/NodeJS-Fiscal-Validation","commit_stats":{"total_commits":4,"total_committers":1,"mean_commits":4.0,"dds":0.0,"last_synced_commit":"67b7aab77a4a23ea69c5c46c380940efb876f4aa"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weblineindia%2FNodeJS-Fiscal-Validation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weblineindia%2FNodeJS-Fiscal-Validation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weblineindia%2FNodeJS-Fiscal-Validation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weblineindia%2FNodeJS-Fiscal-Validation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/weblineindia","download_url":"https://codeload.github.com/weblineindia/NodeJS-Fiscal-Validation/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240415216,"owners_count":19797599,"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":["fiscal","fiscal-validation","node","node-module","nodejs","nodejs-component","nodejs-fiscal-validation"],"created_at":"2024-11-10T00:31:48.014Z","updated_at":"2026-05-18T02:32:15.766Z","avatar_url":"https://github.com/weblineindia.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fiscal-validation\n\nA NodeJS component used for Fiscal validation and its property value. \n\n## Table of contents\n\n- [Getting started](#getting-started)\n- [Features](#features)\n- [Usage](#usage)\n- [Want to Contribute?](#want-to-contribute)\n- [Need Help / Support?](#need-help)\n- [Collection of Other Components](#collection-of-components)\n- [Changelog](#changelog)\n- [Credits](#credits)\n- [License](#license)\n- [Keywords](#keywords)\n\n## Getting started\n\nInstall the npm package:\n\n``` bash\nnpm install nodejs-weblineindia-fiscal-validation\n#OR\nyarn add nodejs-weblineindia-fiscal-validation\n```\n## Features\n\n- This component checks whether fiscal code is valid or not.\n- It also checks fiscal code property value if it valid or not.\n- Below Property value must be used as argument:\n    - firstname\n    - lastname\n    - dob\n    - gender\n    - placeofbirth\n\n## Usage\n\nUse `fiscalValidation` function to validate fiscal code and its property value:\n\n```js\nconst fiscal = require('nodejs-weblineindia-fiscal-validation')\nOR\nimport fiscal from 'nodejs-weblineindia-fiscal-validation'\n```\n\nValidate only Fiscal code \n```js\n//check fiscal code\nlet isfiscalvalid = false\nisfiscalvalid = fiscal.fiscalValidation('LSTFST94H15F205V') // true\nisfiscalvalid = fiscal.fiscalValidation('LSTFST94H15F205F') // false\nisfiscalvalid = fiscal.fiscalValidation('') // false\n```\n\nValidate Firstname\n```js\n//check Firstname\nlet isfirstnamevalid = false\nisfirstnamevalid = fiscal.fiscalValidation('LNMFNM92A05Z129B','firstname','fname') // true\nisfirstnamevalid = fiscal.fiscalValidation('LNMFNM92A05Z129B','firstname','name') // false\nisfirstnamevalid = fiscal.fiscalValidation('LNMFNM92A05Z129B','firstname','') // false\nisfirstnamevalid = fiscal.fiscalValidation('LNMFNM92A05Z','firstname','name') // false\nisfirstnamevalid = fiscal.fiscalValidation('LNMFNM92A05Z129B','fname','name') // false\nisfirstnamevalid = fiscal.fiscalValidation('LNMFNM92A05Z129B','','fname') // false\n```\n\nValidate Lastname\n```js\n//check Lastname\nlet islastnamevalid = false\nislastnamevalid = fiscal.fiscalValidation('LNMFNM92A05Z129B','lastname','lname') // true\nislastnamevalid = fiscal.fiscalValidation('LNMFNM92A05Z129B','lastname','fllname') // false\nislastnamevalid = fiscal.fiscalValidation('LNMFNM92A05Z129B','lastname','') // false\nislastnamevalid = fiscal.fiscalValidation('LNMFNM92A05Z','lastname','fllname') // false\nislastnamevalid = fiscal.fiscalValidation('LNMFNM92A05Z129B','lname','fllname') // false\nislastnamevalid = fiscal.fiscalValidation('LNMFNM92A05Z129B','','lname') // false\n```\n\nValidate Date of Birth\n```js\n//check Date of birth\nlet isdobvalid = false\nisdobvalid = fiscal.fiscalValidation('LNMFNM92A05Z129B','dob','1992-01-05') // true\nisdobvalid = fiscal.fiscalValidation('LNMFNM92A05Z129B','dob','1993-01-05') // false\nisdobvalid = fiscal.fiscalValidation('LNMFNM92A05Z129B','dob','') // false\nisdobvalid = fiscal.fiscalValidation('LNMFNM92A05Z','dob','1993-01-05') // false\nisdobvalid = fiscal.fiscalValidation('LNMFNM92A05Z','dateofbirth','1993-01-05') // false\nisdobvalid = fiscal.fiscalValidation('LNMFNM92A05Z129B','','1992-01-05') // false\n```\n\nValidate Gender\n```js\n//check Gender\nlet isgendervalid = false\nisgendervalid = fiscal.fiscalValidation('LNMFNM92A05Z129B','gender','M') // true\nisgendervalid = fiscal.fiscalValidation('LNMFNM92A05Z129B','gender','F') // false\nisgendervalid = fiscal.fiscalValidation('LNMFNM92A05Z129B','gender','') // false\nisgendervalid = fiscal.fiscalValidation('LNMFNM92A05Z1','gender','F') // false\nisgendervalid = fiscal.fiscalValidation('LNMFNM92A05Z129B','gen','F') // false\nisgendervalid = fiscal.fiscalValidation('LNMFNM92A05Z129B','','M') // false\n```\n\nValidate Place of birth\n```js\n//check Place of birth\nlet isplaceofbirthvalid = false\nisplaceofbirthvalid = fiscal.fiscalValidation('LNMFNM92A05Z129B','placeofbirth','ROMANIA') // true\nisplaceofbirthvalid = fiscal.fiscalValidation('LNMFNM92A05Z129B','placeofbirth','ROMA') // false\nisplaceofbirthvalid = fiscal.fiscalValidation('LNMFNM92A05Z129B','placeofbirth','') // false\nisplaceofbirthvalid = fiscal.fiscalValidation('LNMFNM92A05Z','placeofbirth','ROMANIA') // false\nisplaceofbirthvalid = fiscal.fiscalValidation('LNMFNM92A05Z1','placeofbirth','ROMA') // false\nisplaceofbirthvalid = fiscal.fiscalValidation('LNMFNM92A05Z129B','','ROMANIA') // false\n```\n\n-----\n\n## Want to Contribute?\n\n- Created something awesome, made this code better, added some functionality, or whatever (this is the hardest part).\n- [Fork it](http://help.github.com/forking/).\n- Create new branch to contribute your changes.\n- Commit all your changes to your branch.\n- Submit a [pull request](http://help.github.com/pull-requests/).\n\n-----\n\n## Need Help? \n\nWe also provide a free, basic support for all users who want to use this NodeJS Fiscal validation component in their software project. In case you want to customize this Fiscal validation component to suit your development needs, then feel free to contact our [NodeJS developers](https://www.weblineindia.com/hire-node-js-developer.html).\n\n-----\n\n## Collection of Components\n\nWe have built many other components and free resources for software development in various programming languages. Kindly click here to view our [Free Resources for Software Development](https://www.weblineindia.com/communities.html).\n\n------\n\n## Changelog\n\nDetailed changes for each release are documented in [CHANGELOG.md](./CHANGELOG.md).\n\n## Credits\n\nnodejs-weblineindia-fiscal-validation is inspired by [@marketto/codice-fiscale-utils](https://www.npmjs.com/package/@marketto/codice-fiscale-utils).\n\n## License\n\n[MIT](LICENSE)\n\n[mit]: https://github.com/miguelmota/is-valid-domain/blob/e48e90f3ecd55431bbdba950eea013c2072d2fac/LICENSE\n\n## Keywords\n\n nodejs-weblineindia-fiscal-validation, nodejs-fiscal-validation, fiscal-validation, fiscal, nodejs, node-component, nodecomponent, node\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweblineindia%2Fnodejs-fiscal-validation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweblineindia%2Fnodejs-fiscal-validation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweblineindia%2Fnodejs-fiscal-validation/lists"}