{"id":15297312,"url":"https://github.com/jhta/form-autofill-js","last_synced_at":"2025-04-13T23:16:02.654Z","repository":{"id":57240232,"uuid":"148194766","full_name":"jhta/form-autofill-js","owner":"jhta","description":"Tool for auto filling html forms","archived":false,"fork":false,"pushed_at":"2018-12-16T09:21:55.000Z","size":987,"stargazers_count":5,"open_issues_count":2,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-13T23:15:51.159Z","etag":null,"topics":["autofill","data","fake","fill","form","forms","html","js"],"latest_commit_sha":null,"homepage":"https://codesandbox.io/s/kmxmv1yx57","language":"CSS","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/jhta.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-09-10T17:42:35.000Z","updated_at":"2024-05-27T17:46:02.000Z","dependencies_parsed_at":"2022-09-05T08:21:39.420Z","dependency_job_id":null,"html_url":"https://github.com/jhta/form-autofill-js","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhta%2Fform-autofill-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhta%2Fform-autofill-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhta%2Fform-autofill-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhta%2Fform-autofill-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jhta","download_url":"https://codeload.github.com/jhta/form-autofill-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248794568,"owners_count":21162615,"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":["autofill","data","fake","fill","form","forms","html","js"],"created_at":"2024-09-30T19:16:39.065Z","updated_at":"2025-04-13T23:16:02.629Z","avatar_url":"https://github.com/jhta.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# form-autofill-js\n\n\nTool for auto filling html forms based on the fake data generator: [casual.js](https://github.com/boo1ean/casual)\n\n[DEMO 1 - with CDN](https://jsbin.com/subesef/1)\n\n[DEMO 2 - with import](https://codesandbox.io/s/kmxmv1yx57) \n\n\n![gif](https://github.com/jhta/form-autofill-js/blob/master/1.gif)\n\nThe Tool identifies the html component based on the `name` and `type` params and fill it with a random pair from the object `casual`.\n\n## How to install\n\n`npm i -S -D form-autofill-js`\n\nor \n\n`yarn add form-autofill-js --dev`\n\n### With CDN\n\n`\u003cscripthttps://unpkg.com/form-autofill-js@latest/dist/main.js`\n````html\n\u003cscript src=\"https://unpkg.com/form-autofill-js@0.1.4/dist/main.js\"\u003e\u003c/script\u003e\n  \u003cscript\u003eAutofill.tool()\u003c/script\u003e\n\u003c/body\u003e\n````\n\n## how to use\n\nFill from javascript\n```` javascript\nimport { fill } from 'form-autofill-js'\n\nfill()\n````\nYou can use a Button tool for fill with a button click event:\n\n````javascript\nimport { tool } from 'form-autofill-js'\nAutofill.tool()\n````\n\n# Add Chrome extension to Chrome\n- Clone repo \u003cbr/\u003e\n- Go on chrome://extensions/ \u003cbr/\u003e\n- Enable \u003cb\u003eDeveloper Mode\u003c/b\u003e\u003cbr/\u003e\n- Load unpacked (to the directory)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhta%2Fform-autofill-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjhta%2Fform-autofill-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhta%2Fform-autofill-js/lists"}