{"id":32545965,"url":"https://github.com/integreat-io/integreat-adapter-form","last_synced_at":"2025-10-28T18:56:36.302Z","repository":{"id":49880226,"uuid":"139810950","full_name":"integreat-io/integreat-adapter-form","owner":"integreat-io","description":"application/x-www-form-urlencoded adapter for Integreat","archived":false,"fork":false,"pushed_at":"2025-03-30T18:16:32.000Z","size":360,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-23T20:20:08.645Z","etag":null,"topics":["adapter","form","integreat","urlencoded"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/integreat-io.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-05T07:24:48.000Z","updated_at":"2025-03-30T18:16:01.000Z","dependencies_parsed_at":"2025-03-30T15:35:06.578Z","dependency_job_id":null,"html_url":"https://github.com/integreat-io/integreat-adapter-form","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/integreat-io/integreat-adapter-form","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/integreat-io%2Fintegreat-adapter-form","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/integreat-io%2Fintegreat-adapter-form/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/integreat-io%2Fintegreat-adapter-form/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/integreat-io%2Fintegreat-adapter-form/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/integreat-io","download_url":"https://codeload.github.com/integreat-io/integreat-adapter-form/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/integreat-io%2Fintegreat-adapter-form/sbom","scorecard":{"id":490264,"data":{"date":"2025-08-11","repo":{"name":"github.com/integreat-io/integreat-adapter-form","commit":"2fcdac39f42a5907ebbcf951afe2a323d98888c3"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.1,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/24 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":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"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":"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":"Pinned-Dependencies","score":2,"reason":"dependency not pinned by hash detected -- score normalized to 2","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yaml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/integreat-io/integreat-adapter-form/publish.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yaml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/integreat-io/integreat-adapter-form/publish.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/verify.yaml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/integreat-io/integreat-adapter-form/verify.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/verify.yaml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/integreat-io/integreat-adapter-form/verify.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/verify.yaml:40: update your workflow using https://app.stepsecurity.io/secureworkflow/integreat-io/integreat-adapter-form/verify.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/verify.yaml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/integreat-io/integreat-adapter-form/verify.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/version.yaml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/integreat-io/integreat-adapter-form/version.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/version.yaml:53: update your workflow using https://app.stepsecurity.io/secureworkflow/integreat-io/integreat-adapter-form/version.yaml/main?enable=pin","Info:   0 out of   8 GitHub-owned GitHubAction dependencies pinned","Info:   3 out of   3 npmCommand dependencies pinned"],"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":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: topLevel permissions set to 'read-all': .github/workflows/publish.yaml:7","Info: topLevel permissions set to 'read-all': .github/workflows/verify.yaml:9","Info: topLevel 'actions' permission set to 'read': .github/workflows/version.yaml:21","Warn: topLevel 'contents' permission set to 'write': .github/workflows/version.yaml:22","Warn: topLevel 'statuses' permission set to 'write': .github/workflows/version.yaml:24","Info: no jobLevel write permissions found"],"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":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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":"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":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/publish.yaml:10"],"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":"SAST","score":6,"reason":"SAST tool is not run on all commits -- score normalized to 6","details":["Warn: 4 commits out of 6 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":8,"reason":"2 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-xffm-g5w8-qvg7","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw"],"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-19T18:56:50.145Z","repository_id":49880226,"created_at":"2025-08-19T18:56:50.145Z","updated_at":"2025-08-19T18:56:50.145Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281495102,"owners_count":26511350,"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-10-28T02:00:06.022Z","response_time":60,"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":["adapter","form","integreat","urlencoded"],"created_at":"2025-10-28T18:56:29.855Z","updated_at":"2025-10-28T18:56:36.294Z","avatar_url":"https://github.com/integreat-io.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# application/x-www-form-urlencoded adapter for Integreat\n\nAdapter that lets\n[Integreat](https://github.com/integreat-io/integreat) send and receive content\nin application/x-www-form-urlencoded encoding.\n\n[![npm Version](https://img.shields.io/npm/v/integreat-adapter-form.svg)](https://www.npmjs.com/package/integreat-adapter-form)\n[![Maintainability](https://qlty.sh/badges/345edc80-9da7-4c26-8400-7b5c3c7655d6/maintainability.svg)](https://qlty.sh/gh/integreat-io/projects/integreat-adapter-form)\n\n## Getting started\n\n### Prerequisits\n\nRequires node v18 and Integreat v1.0.\n\n### Installing and using\n\nInstall from npm:\n\n```\nnpm install integreat-adapter-form\n```\n\nExample of use:\n\n```javascript\nimport Integreat from 'integreat'\nimport httpTransporter from 'integreat-transporter-http'\nimport formAdapter from 'integreat-adapter-form'\nimport defs from './config.js'\n\nconst great = Integreat.create(defs, {\n  transporters: { http: httpTransporter },\n  adapters: { form: formAdapter },\n})\n\n// ... and then dispatch actions as usual\n```\n\nExample service configuration:\n\n```javascript\n{\n  id: 'store',\n  transporter: 'http',\n  adapters: ['form'],\n  options: {\n    includeHeaders: true\n  },\n  endpoints: [\n    { options: { uri: 'https://api.com/formDataEndpoint' } }\n  ]\n}\n```\n\nData in payload and response will be application/x-www-form-urlencoded encoded\n[as described in the W3C Forms specification](https://www.w3.org/TR/html401/interact/forms.html#didx-applicationx-www-form-urlencoded)\nwhen sending _to_ a service, and decoded back to JS data coming _from_ a\nservice.\n\nArrays are serialized to several keys postfixed with brackets `'[]'`. When\nnormalizing keys postfixed with brackets, the brackets are removed and the value\nof all keys with the same name, are joined into one array in the order they\nappear.\n\nAvailable options:\n\n- `setStructureInKeys`: When this is `true`, we'll serialize key and values so\n  that the structure of value is set in the key, with the leaf values as\n  values. `{ data: [{ id: 'ent1 }] }` will for instance be serialized to the\n  key `data[0][id]` and the value `'ent1'`. Default behavior (or when\n  `setStructureInKeys` is `false`) is to use the first level as key (`data` in\n  this case, and JSON stringify the rest as value.\n\n### Form transformer\n\nThe package also includes a transformer, that works exactly like the adapter,\nexcept it is intended for use in mutation pipelines with\n`{ $transform: 'form' }`. You may use it like this:\n\nExample of use:\n\n```javascript\nimport integreat from 'integreat'\nimport httpTransporter from 'integreat-transporter-http'\nimport formTransformer from 'integreat-adapter-form/transformer.js'\nimport defs from './config.js'\n\nconst great = Integreat.create(defs, {\n  transporters: { http: httpTransporter },\n  transformers: { form: formTransformer },\n})\n\n// In a mutation pipeline:\n\nconst mutation = ['response.data', { $transform: 'form' }]\n```\n\n### Running the tests\n\nThe tests can be run with `npm test`.\n\n## Contributing\n\nPlease read\n[CONTRIBUTING](https://github.com/integreat-io/integreat-adapter-form/blob/master/CONTRIBUTING.md)\nfor details on our code of conduct, and the process for submitting pull\nrequests.\n\n## License\n\nThis project is licensed under the ISC License - see the\n[LICENSE](https://github.com/integreat-io/integreat-adapter-form/blob/master/LICENSE)\nfile for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintegreat-io%2Fintegreat-adapter-form","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fintegreat-io%2Fintegreat-adapter-form","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintegreat-io%2Fintegreat-adapter-form/lists"}