{"id":19029952,"url":"https://github.com/padosoft/frontend-tools","last_synced_at":"2026-06-25T11:31:04.633Z","repository":{"id":40748543,"uuid":"342217007","full_name":"padosoft/frontend-tools","owner":"padosoft","description":null,"archived":false,"fork":false,"pushed_at":"2025-08-07T09:52:59.000Z","size":997,"stargazers_count":1,"open_issues_count":14,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-03-25T07:29:15.903Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/padosoft.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":"2021-02-25T11:07:37.000Z","updated_at":"2021-11-12T00:08:41.000Z","dependencies_parsed_at":"2023-02-08T16:00:35.247Z","dependency_job_id":null,"html_url":"https://github.com/padosoft/frontend-tools","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/padosoft/frontend-tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/padosoft%2Ffrontend-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/padosoft%2Ffrontend-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/padosoft%2Ffrontend-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/padosoft%2Ffrontend-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/padosoft","download_url":"https://codeload.github.com/padosoft/frontend-tools/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/padosoft%2Ffrontend-tools/sbom","scorecard":{"id":717647,"data":{"date":"2025-08-11","repo":{"name":"github.com/padosoft/frontend-tools","commit":"d8d99da9cfd6848e207214af3756581c99c2eef3"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.3,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":0,"reason":"Found 0/18 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":0,"reason":"35 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-cph5-m8f7-6c5x","Warn: Project is vulnerable to: GHSA-wf5p-g6vw-rhxx","Warn: Project is vulnerable to: GHSA-jr5f-v2jv-69x6","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-w8qv-6jwh-64r5","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq","Warn: Project is vulnerable to: GHSA-74fj-2j2h-c42q","Warn: Project is vulnerable to: GHSA-pw2r-vq6v-hr8c","Warn: Project is vulnerable to: GHSA-jchw-25xp-jwwc","Warn: Project is vulnerable to: GHSA-cxjh-pqwp-8mfp","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-3xq5-wjfh-ppjc","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-4wf5-vphf-c2xc","Warn: Project is vulnerable to: GHSA-jgrx-mgxx-jf9v","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-hc6q-2mpp-qw7j","Warn: Project is vulnerable to: GHSA-4vvj-4cpr-p986","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7","Warn: Project is vulnerable to: GHSA-6fc8-4gx4-v693","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-22T10:12:58.085Z","repository_id":40748543,"created_at":"2025-08-22T10:12:58.085Z","updated_at":"2025-08-22T10:12:58.085Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34773841,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-25T02:00:05.521Z","response_time":101,"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-11-08T21:15:54.182Z","updated_at":"2026-06-25T11:31:04.611Z","avatar_url":"https://github.com/padosoft.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Padosoft Frontend Tools\n\nSi tratta di un pacchetto javascript di funzioni helpers.\nPer installarlo:\n```javascript\nnpm i @padosoft/frontend-tools --save\n```\n\nPer utilizzarlo sono possibili i tre approcci commonJS, AMD, o con lo script:\n\nCommonJs\n\n```javascript\nconst padosoftFrontendTools = require(\"@padosoft/frontend-tools\");\n```\n\nAMD\n\n```javascript\nimport * as padosoftFrontendTools from \"@padosoft/frontend-tools\";\n```\n\noppure le singole funzioni.\n\n```javascript\nimport { roundDecimalWith, isISODate } from \"@padosoft/frontend-tools\";\n```\n\nPer l'uso da script è consigliabile copiare il file dalla cartella node_modules in una a scelta. Una volta incluso sarà presente un oggetto globale 'padosoftFrontendTools' con il quale richiamare le funzioni.\n\n```javascript\n\u003cscript src=\"dist/padosoft-frontend-tools.js\"\u003e\u003c/script\u003e\n[...]\n\u003cscript\u003e\n    console.log(padosoftFrontendTools.roundWithDecimal(21345.980978, 4));\n\u003c/script\u003e\n```\n\n## Funzioni\n\n### ***roundWithDecimal(value, decimal)***\n\n```javascript\npadosoftFrontendTools.roundWithDecimal(value, decimal)\n```\n\nFunzione per arrotondare dei numeri con *n* decimali.\n\n**value**\n\nValore che deve essere arrotondato. `tipo number`\n\n**decimal**\n\nNumero di decimali. `tipo number`\n\n***RETURN***\n\nIl valore arrotondato. `tipo number`\n\n---\n\n### ***calcolaImportoConIva(importo, aliquota)***\n\n```javascript\npadosoftFrontendTools.calcolaImportoConIva(importo, aliquota)\n```\n\nFunzione per calcolare un importo con iva, dato l'importo e l'aliquota iva.\n\n**importo**\n\nImporto al quale aggiungere l'iva. `tipo number`\n\n**aliquota**\n\nAliquota percentuale. `tipo number`\n\n***RETURN***\n\nL'importo comprensivo di iva. `tipo number`\n\n---\n\n### ***calcoloIvaDaImponibile(value, aliquota)***\n\n```javascript\npadosoftFrontendTools.calcoloIvaDaImponibile(value, aliquota)\n```\n\nFunzione per calcolare l'imposta iva a partire dall'imponibile.\n\n**value**\n\nImporto sul quale calcolare l'iva. `tipo number`\n\n**aliquota**\n\nAliquota percentuale. `tipo number`\n\n***RETURN***\n\nL'imposta. `tipo number`\n\n---\n\n### ***checkAndCorrectImportiModImponibile (totale, imponibile, imposta)***\n\n```javascript\nadosoftFrontendTools.checkAndCorrectImportiModImponibile (totale, imponibile, imposta)\n```\n\nFunzione per verificare e eventualmente correggere il valore dell'imponibile quando, arrotondando un valore dopo il calcolo dell'iva, si possa presentare una differenza con il totale. L'eventuale correzione viene applicata all'imponibile.\n\n**totale**\n\nIl totale utilizzato per verificare l'esattezza dell'arrotondamento. `tipo number`\n\n**imponibile**\n\nImponibile. `tipo number`\n\n**imposta**\n\nValore dell'imposta per calcolare il totale. `tipo number`\n\n***RETURN***\n\nUn oggetto composto dal: totale, imponibile, imposta. `tipo Object: {totale, imponibile, imposta}`\n\n---\n### ***checkAndCorrectImportiModImposta (totale, imponibile, imposta)***\n\n```javascript\npadosoftFrontendTools.checkAndCorrectImportiModImposta (totale, imponibile, imposta)\n```\n\nFunzione per verificare e eventualmente correggere il valore dell'imposta quando, arrotondando un valore dopo il calcolo dell'iva, si possa presentare una differenza con il totale. L'eventuale correzione viene applicata alll'imposta.\n\n**totale**\n\nIl totale utilizzato per verificare l'esattezza dell'arrotondamento. `tipo number`\n\n**imponibile**\n\nImponibile. `tipo number`\n\n**imposta**\n\nValore dell'imposta per calcolare il totale. `tipo number`\n\n***RETURN***\n\nUn oggetto composto dal: totale, imponibile, imposta. `tipo Object: {totale, imponibile, imposta}`\n\n---\n\n### ***nowDbIsoDateTime()***\n\n```javascript\npadosoftFrontendTools.nowDbIsoDateTime()\n```\n\nFunzione che restituisce una stringa in formato ISO di MySql 'YYYY-mm-dd HH:ii:ss' di ora.\n\n***RETURN***\n\nUna stringa della data e ora di adesso in formato ISO di MySql 'YYYY-mm-dd HH:ii:ss'. `tipo string`\n\n---\n\n### ***nowDateTime()***\n\n```javascript\npadosoftFrontendTools.nowDateTime()\n```\n\nFunzione che restituisce un oggetto DateTime di Luxon di adesso.\n\n***RETURN***\n\nUn oggetto di tipo DateTime di Luxon di adesso. `tipo Object`\n\n---\n\n### ***dateITA2ISO(dateStr)***\n\n```javascript\npadosoftFrontendTools.dateITA2ISO(dateStr)\n```\n\nFunzione che converte una data in formato italiano in formato ISO (solo la data).\n\n**dateStr**\n\nValore della data in formato italiano. `tipo string`\n\n***RETURN***\n\nValore della data i nformato ISO. `tipo string`\n\n---\n\n### ***dateISO2ITA(dateStr)***\n\n```javascript\npadosoftFrontendTools.dateISO2ITA(dateStr)\n```\n\nFunzione che converte una data in formato ISO in formato Italiano (solo la data).\n\n**dateStr**\n\nValore della data in formato ISO. `tipo string`\n\n***RETURN***\n\nValore della data i nformato italiano. `tipo string`\n\n---\n\n### ***dateTimeDbISO2ITA(dateStr)***\n\n```javascript\npadosoftFrontendTools.dateTimeDbISO2ITA(dateStr)\n```\n\nFunzione che converte una data e tempo da formato Iso MySql in formato Italiano.\n\n**dateStr**\n\nValore della data e del tempo  in formato Iso MySql. `tipo string`\n\n***RETURN***\n\nValore della data e del tempo in formato Italiano. `tipo string`\n\n---\n\n### ***dateTimeITA2ISO(dateStr)***\n\n```javascript\npadosoftFrontendTools.dateTimeITA2ISO(dateStr)\n```\n\nFunzione che converte una data e tempo in formato italiano in formato ISO.\n\n**dateStr**\n\nValore della data e tempo in formato italiano. `tipo string`\n\n***RETURN***\n\nValore della data e tempo  in formato ISO MySql. `tipo string`\n\n---\n\n### ***dateTimeISO2ITA(dateStr)***\n\n```javascript\npadosoftFrontendTools.dateTimeISO2ITA(dateStr)\n```\n\nFunzione che converte una data e tempo in formato ISO 8610  in formato italiano.\n\n**dateStr**\n\nValore della data e tempo in formato ISO 8610. `tipo string`\n\n***RETURN***\n\nValore della data e tempo in formato italiano. `tipo string`\n\n---\n### ***isITADate(dateStr)***\n\n```javascript\npadosoftFrontendTools.isITADate(dateStr)\n```\n\nFunzione che converte una data e tempo in formato ISO 8610  in formato italiano.\n\n**dateStr**\n\nValore della data e tempo in formato ISO 8610. `tipo string`\n\n***RETURN***\n\nValore della data e tempo in formato italiano. `tipo string`\n\n---\n\n### ***isISODate(dateStr)***\n\n```javascript\npadosoftFrontendTools.isISODate(dateStr)\n```\n\nFunzione che converte una data e tempo in formato ISO 8610  in formato italiano.\n\n**dateStr**\n\nValore della data e tempo in formato ISO 8610. `tipo string`\n\n***RETURN***\n\nValore della data e tempo in formato italiano. `tipo string`\n\n---\n\n### ***initSelectAjax(id)***\n\n```javascript\npadosoftFrontendTools.initSelectAjax(id)\n```\n\n\nFunzione che inizializza un select con select2 a partire dal selettore.\n\n**id**\n\nSelettore css per recuperare gli elementi da inizializzare. Può fare riferimento anche ad oggetti multiple. `tipo string`\n\n***RETURN***\n\nvoid.\n\n---\n\n### ***initDatepicker(id)***\n\n```javascript\npadosoftFrontendTools.initDatepicker(id)\n```\n\n\nFunzione che inizializza un input text con flatpickr come date picker a partire dal selettore.\n\n**id**\n\nSelettore css per recuperare gli elementi da inizializzare. Può fare riferimento anche ad oggetti multiple. `tipo string`\n\n***RETURN***\n\nvoid.\n\n---\n\n### ***initDateTimePicker(id)***\n\n```javascript\npadosoftFrontendTools.initDateTimePicker(id)\n```\n\n\nFunzione che inizializza un input text con flatpickr come date-time picker a partire dal selettore.\n\n\n**id**\n\nSelettore css per recuperare gli elementi da inizializzare. Può fare riferimento anche ad oggetti multiple. `tipo string`\n\n***RETURN***\n\nvoid.\n\n---\n\n### ***initTimePicker(id)***\n\n```javascript\npadosoftFrontendTools.initTimePicker(id)\n```\n\n\nFunzione che inizializza un input text con flatpickr come time picker a partire dal selettore.\n\n**id**\n\nSelettore css per recuperare gli elementi da inizializzare. Può fare riferimento anche ad oggetti multiple. `tipo string`\n\n***RETURN***\n\nvoid.\n\n---\n\n### ***getDataFromSelect2Single(data, property = null, defaultValue = null)***\n```javascript\npadosoftFrontendTools.getDataFromSelect2Single(data, property = null, defaultValue = null)\n```\n\nFunzione che recupera un valore singolo dai dati da un elemento inizializzato con select2. Recupera il primo elemento perché si considera una selezione singola.\n\n**data**\n\nDati recuperati da un elemento inizializzato con select2. `tipo Qualsiasi`\n\n**property**\n\nProprietà dell'oggetto recuperato che si vuole che venga restituita. Parametro opzionale. `tipo string`\n\n**defaultValue**\n\nValore di default se non ci fossero valori da restituire. Parametro opzionale. `tipo Qualsiasi`\n\n***RETURN***\n\nValore recuperato come viene passato nelle options o proprietà selezionat o valore di default. `tipo Qualsiasi`\n\n---\n\n### ***getDataFromSelect2Multiple(data)***\n\n```javascript\npadosoftFrontendTools.getDataFromSelect2Multiple(data)\n```\n\nFunzione che recupera un array di valori multipli da un elemento inizializzato con select2. Recupera tutto perché si considera una selezione multipla.\n\n**data**\n\nDati recuperati da un elemento inizializzato con select2. `tipo Qualsiasi`\n\n***RETURN***\n\nArray di valori selezionati.\n\n---\n\n### ***getListForSelectAjax(id, text)***\n\n```javascript\npadosoftFrontendTools.getListForSelectAjax(id, text)\n```\n\nFunzione che crea l'opzione singola per un select2 che deve partire con un valore presente.\n\n**id**\n\nValore che rappresenta la value della option. `tipo string`\n\n**text**\n\nValore che rappresenta il testo della option. `tipo string`\n\n***RETURN***\n\nStringa html di una option con i valori passati. `tipo string`\n\n---\n\n### ***zeroOrValue(value)***\n\n```javascript\npadosoftFrontendTools.zeroOrValue(value)\n```\n\nFunzione che controlla se un valore è di tipo numerico. Restituisce il valore se numerico oppure zero.\n\n**value**\n\nValore dac controllare. `tipo qualsiasi`\n\n\n***RETURN***\n\nIl valore oppure zero. `tipo number`\n\n---\n\n### ***toEuroFormatted(value)***\n\n```javascript\npadosoftFrontendTools.toEuroFormatted(value)\n```\n\nFunzione che formatta un valore nella valuta euro.\n\n**value**\n\nValore dell'importo da formattare. `tipo number`\n\n\n***RETURN***\n\nIl valore formattato. `tipo string`\n\n---\n\n### ***scorporoIvaParteImposta (importo, alquota)***\n\n```javascript\npadosoftFrontendTools.scorporoIvaParteImposta (importo, alquota)\n```\n\nFunzione che scorpora l'iva da un importo, restituendo l'imposta.\n\n**importo**\n\nValore dell'importo comprensivo di iva. `tipo number`\n\n**alquota**\n\nValore dell'aliquota. `tipo number`\n\n\n***RETURN***\n\nIl valore dell'imposta. `tipo number`\n\n---\n\n### ***scorporoIvaParteImponibile (importo, alquota)***\n\n```javascript\npadosoftFrontendTools.scorporoIvaParteImponibile (importo, alquota)\n```\n\nFunzione che scorpora l'iva da un importo, restituendo l'imponibile.\n\n**importo**\n\nValore dell'importo comprensivo di iva. `tipo number`\n\n**alquota**\n\nValore dell'aliquota. `tipo number`\n\n\n***RETURN***\n\nIl valore dell'imponibile. `tipo number`\n\n---\n\n### ***scorporoIvaImponibileConCorrezione (importo, alquota)***\n\n```javascript\npadosoftFrontendTools.scorporoIvaImponibileConCorrezione (importo, alquota)\n```\n\nFunzione che scorpora l'iva da un importo e poi controlla ed eventualmente corregge l'importo.\n\n**importo**\n\nValore dell'importo comprensivo di iva. `tipo number`\n\n**alquota**\n\nValore dell'aliquota. `tipo number`\n\n\n***RETURN***\n\nUn oggetto composto dal: totale, imponibile, imposta. `tipo Object: {totale, imponibile, imposta}`\n\n---\n\n### ***axiosGet(config)***\n\n```javascript\npadosoftFrontendTools.axiosGet(config)\n```\n\nFunzione eseguire una chiamata asincrona con axios e metodo GET.\n\n**config**\n\nOggetto di configurazione della chiamata. `tipo Object`\nProprietà dell'oggetto:\n- url: stringa che rappresenta l'url per la chiamata.\n- success: funzione obbligatoria per gestire il success. (response) =\u003e {}\n- error: funzione obbligatoria per gestire l'errore. (error) =\u003e {}\n- blockUI: default true\n- unBlockUI: default false\n- logOnSuccess: default true\n- logOnError: default true\n- axiosConfig: default {}\n- \n```javascript\naxiosGet({\n    url: \"https://getbootstrap.com\",\n    success: (response) =\u003e {\n      alert(\"successo\");\n    },\n\n    error: (error) =\u003e {\n      alert(\"errore\", error);\n    },\n    blockUI: false,\n  });\n```\n\n***RETURN***\n\nvoid\n\n---\n\n### ***axiosPost(config)***\n\n```javascript\npadosoftFrontendTools.axiosPost(config)\n```\n\nFunzione eseguire una chiamata asincrona con axios e metodo POST.\n\n**config**\n\nOggetto di configurazione della chiamata. `tipo Object`\nProprietà dell'oggetto:\n- url: stringa che rappresenta l'url per la chiamata.\n- data: oggetto con i parametri da passare alla POST.\n- success: funzione obbligatoria per gestire il success. (response) =\u003e {}\n- error: funzione obbligatoria per gestire l'errore. (error) =\u003e {}\n- blockUI: default true\n- unBlockUI: default false\n- logOnSuccess: default true\n- logOnError: default true\n- axiosConfig: default {}\n- \n```javascript\naxiosPost({\n    url: \"https://getbootstrap.com\",\n    data: {\n        nome: 'Mario',\n        cognome: 'Rossi'\n    }\n    success: (response) =\u003e {\n      alert(\"successo\");\n    },\n\n    error: (error) =\u003e {\n      alert(\"errore\", error);\n    },\n    blockUI: false,\n  });\n```\n\n***RETURN***\n\nvoid\n---\n\n### ***axiosPatch(config)***\n\n```javascript\npadosoftFrontendTools.axiosPatch(config)\n```\n\nFunzione eseguire una chiamata asincrona con axios e metodo PATCH.\n\n**config**\n\nOggetto di configurazione della chiamata. `tipo Object`\nProprietà dell'oggetto:\n- url: stringa che rappresenta l'url per la chiamata.\n- data: oggetto con i parametri da passare alla PATCH.\n- success: funzione obbligatoria per gestire il success. (response) =\u003e {}\n- error: funzione obbligatoria per gestire l'errore. (error) =\u003e {}\n- blockUI: default true\n- unBlockUI: default false\n- logOnSuccess: default true\n- logOnError: default true\n- axiosConfig: default {}\n- \n```javascript\naxiosPatch({\n    url: \"https://getbootstrap.com\",\n    data: {\n        nome: 'Mario',\n        cognome: 'Rossi'\n    }\n    success: (response) =\u003e {\n      alert(\"successo\");\n    },\n\n    error: (error) =\u003e {\n      alert(\"errore\", error);\n    },\n    blockUI: false,\n  });\n```\n\n***RETURN***\n\nvoid\n---\n\n### ***axiosPut(config)***\n\n```javascript\npadosoftFrontendTools.axiosPut(config)\n```\n\nFunzione eseguire una chiamata asincrona con axios e metodo PUT.\n\n**config**\n\nOggetto di configurazione della chiamata. `tipo Object`\nProprietà dell'oggetto:\n- url: stringa che rappresenta l'url per la chiamata.\n- data: oggetto con i parametri da passare alla PUT.\n- success: funzione obbligatoria per gestire il success. (response) =\u003e {}\n- error: funzione obbligatoria per gestire l'errore. (error) =\u003e {}\n- blockUI: default true\n- unBlockUI: default false\n- logOnSuccess: default true\n- logOnError: default true\n- axiosConfig: default {}\n- \n```javascript\naxiosPut({\n    url: \"https://getbootstrap.com\",\n    data: {\n        nome: 'Mario',\n        cognome: 'Rossi'\n    }\n    success: (response) =\u003e {\n      alert(\"successo\");\n    },\n    error: (error) =\u003e {\n      alert(\"errore\", error);\n    },\n    blockUI: false,\n  });\n```\n\n***RETURN***\n\nvoid\n---\n\n### ***axiosDelete(config)***\n\n```javascript\npadosoftFrontendTools.axiosDelete(config)\n```\n\nFunzione eseguire una chiamata asincrona con axios e metodo DELETE.\n\n**config**\n\nOggetto di configurazione della chiamata. `tipo Object`\nProprietà dell'oggetto:\n- url: stringa che rappresenta l'url per la chiamata.\n- success: funzione obbligatoria per gestire il success. (response) =\u003e {}\n- error: funzione obbligatoria per gestire l'errore. (error) =\u003e {}\n- blockUI: default true\n- unBlockUI: default false\n- logOnSuccess: default true\n- logOnError: default true\n- axiosConfig: default {}\n- \n```javascript\naxiosDelete({\n    url: \"https://getbootstrap.com\",\n    success: (response) =\u003e {\n      alert(\"successo\");\n    },\n\n    error: (error) =\u003e {\n      alert(\"errore\", error);\n    },\n    blockUI: false,\n  });\n```\n\n***RETURN***\n\nvoid","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpadosoft%2Ffrontend-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpadosoft%2Ffrontend-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpadosoft%2Ffrontend-tools/lists"}