{"id":19312157,"url":"https://github.com/bigcommerce/form-poster-js","last_synced_at":"2025-04-22T15:32:02.055Z","repository":{"id":32433571,"uuid":"87023536","full_name":"bigcommerce/form-poster-js","owner":"bigcommerce","description":"Post HTML form programmatically","archived":false,"fork":false,"pushed_at":"2024-02-26T10:01:00.000Z","size":532,"stargazers_count":5,"open_issues_count":0,"forks_count":7,"subscribers_count":60,"default_branch":"master","last_synced_at":"2024-04-30T02:43:20.388Z","etag":null,"topics":["form","javascript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/bigcommerce.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","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-04-02T23:43:29.000Z","updated_at":"2024-06-18T21:13:11.024Z","dependencies_parsed_at":"2023-01-14T21:12:06.675Z","dependency_job_id":"5072cf98-24ab-4196-88b5-94de003cb29c","html_url":"https://github.com/bigcommerce/form-poster-js","commit_stats":{"total_commits":75,"total_committers":7,"mean_commits":"10.714285714285714","dds":0.56,"last_synced_commit":"e216a55671f4fe8a52048acd95f6a8a0cdb879c3"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigcommerce%2Fform-poster-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigcommerce%2Fform-poster-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigcommerce%2Fform-poster-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigcommerce%2Fform-poster-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bigcommerce","download_url":"https://codeload.github.com/bigcommerce/form-poster-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250267460,"owners_count":21402485,"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":["form","javascript"],"created_at":"2024-11-10T00:33:16.739Z","updated_at":"2025-04-22T15:32:01.727Z","avatar_url":"https://github.com/bigcommerce.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# form-poster\n\n[![Build Status](https://travis-ci.com/bigcommerce/form-poster-js.svg?branch=master)](https://travis-ci.com/bigcommerce/form-poster-js)\n\nThis is a JavaScript library for making a POST request as if you are submitting a HTML form. The request will have `application/x-www-form-urlencoded` content-type header. This is useful in situations where you want the same behaviour as submitting a HTML form without actually having the form in DOM.\n\n## Usage\n\nYou can install this package using npm or yarn. Below is an example of how to use it.\n\n```js\nimport { createFormPoster } from 'form-poster';\n\nconst formPoster = createFormPoster();\nconst url = '/url/123';\nconst data = { field_1: 'foo', field_2: 'bar' };\n\nformPoster.postForm(url, data, () =\u003e {\n    console.log('done');\n});\n```\n\n## Development\n\nTo install dependencies:\n\n```sh\nnpm install\n```\n\nTo transpile source code:\n\n```sh\nnpm run build\n```\n\nTo bump and tag a release:\n\n```sh\nnpm run release\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbigcommerce%2Fform-poster-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbigcommerce%2Fform-poster-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbigcommerce%2Fform-poster-js/lists"}