{"id":19623819,"url":"https://github.com/appleple/form-storage","last_synced_at":"2025-10-05T01:58:04.045Z","repository":{"id":40944851,"uuid":"115474911","full_name":"appleple/form-storage","owner":"appleple","description":"A JavaScript library stores the form-data to the localstorage so you don't have to fill the form again.","archived":false,"fork":false,"pushed_at":"2022-12-12T20:51:12.000Z","size":625,"stargazers_count":165,"open_issues_count":23,"forks_count":12,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-09-11T22:51:27.915Z","etag":null,"topics":["es6","form-storage","npm"],"latest_commit_sha":null,"homepage":"https://appleple.github.io/form-storage/","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/appleple.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-12-27T02:58:35.000Z","updated_at":"2024-12-07T03:56:06.000Z","dependencies_parsed_at":"2022-09-11T02:02:06.067Z","dependency_job_id":null,"html_url":"https://github.com/appleple/form-storage","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/appleple/form-storage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleple%2Fform-storage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleple%2Fform-storage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleple%2Fform-storage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleple%2Fform-storage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/appleple","download_url":"https://codeload.github.com/appleple/form-storage/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleple%2Fform-storage/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278399689,"owners_count":25980332,"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-04T02:00:05.491Z","response_time":63,"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":["es6","form-storage","npm"],"created_at":"2024-11-11T11:35:37.133Z","updated_at":"2025-10-05T01:58:04.016Z","avatar_url":"https://github.com/appleple.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# form-storage\n\nA JavaScript library stores the form-data to the localstorage so you don't have to fill the form again.\n\n\u003cimg src=\"./docs/screenshot.png\" /\u003e\n\n## Installation\n\n### via npm\n\n```sh\nnpm install form-storage --save\n```\n\n### via yarn\n\n```sh\nyarn add form-storage\n```\n\n### via cdn\n\n```html\n\u003cscript src=\"https://unpkg.com/form-storage@1.2.0/build/form-storage.js\"\u003e\u003c/script\u003e\n```\n\n## Usage\n\nWhen using Browserify or Webpack.\n```js\nimport FormStorage from 'form-storage';\n```\n\nWhen you don't want to remember some fields, then you can specify the selectors like below.\n\n```js\nconst formStorage = new FormStorage('.js-form', {\n  name: 'form-basic', // you can decide local-storage name \n  ignores: [\n  '[type=\"hidden\"]',\n  '[name=\"policy\"]'\n  ]\n});\n// apply storaged data to the form.\nformStorage.apply();\n// save the form data to the storage.\nformStorage.save();\n```\n\nWhen you just want to remember 'user-name' and 'user-email'\n\n```js\nconst formStorage = new FormStorage('.js-form', {\n  name: 'form-basic',\n  includes: [\n  '[name=\"user-name\"]',\n  '[name=\"user-email\"]'\n  ]\n});\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappleple%2Fform-storage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fappleple%2Fform-storage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappleple%2Fform-storage/lists"}