{"id":22018154,"url":"https://github.com/rvflash/jquery-datas","last_synced_at":"2026-05-04T04:35:48.242Z","repository":{"id":3568986,"uuid":"4631103","full_name":"rvflash/jQuery-Datas","owner":"rvflash","description":"Extends jQuery data function to manage internal datas, HTML5 data-attributes and elements with class 'data-*' or 'datas-' for multiple values by name","archived":false,"fork":false,"pushed_at":"2012-06-12T22:25:57.000Z","size":104,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-23T09:35:15.107Z","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/rvflash.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":"2012-06-11T23:02:30.000Z","updated_at":"2014-01-30T00:35:25.000Z","dependencies_parsed_at":"2022-08-29T02:11:15.912Z","dependency_job_id":null,"html_url":"https://github.com/rvflash/jQuery-Datas","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rvflash/jQuery-Datas","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rvflash%2FjQuery-Datas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rvflash%2FjQuery-Datas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rvflash%2FjQuery-Datas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rvflash%2FjQuery-Datas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rvflash","download_url":"https://codeload.github.com/rvflash/jQuery-Datas/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rvflash%2FjQuery-Datas/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32595200,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T22:12:39.696Z","status":"online","status_checked_at":"2026-05-04T02:00:06.625Z","response_time":58,"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-30T05:10:13.822Z","updated_at":"2026-05-04T04:35:48.219Z","avatar_url":"https://github.com/rvflash.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"jQuery-Datas\n============\n\nExtends jQuery data function to manage internal datas, HTML5 data-attributes and elements with class 'data-*' or 'datas-' for multiple values by name\n\n## Examples ##\n\nFor example, you can do:\n\n    \u003cul id=\"items\"\u003e\n        \u003cli data-id=\"123\"\u003e\n            \u003ch2 class=\"data-title\"\u003eMy product 1\u003c/h2\u003e\n            \u003cul class=\"datas-prices\"\u003e\n                \u003cli\u003e45.00 €\u003c/li\u003e\n                \u003cli\u003e40.00 €\u003c/li\u003e\n            \u003c/ul\u003e\n        \u003c/li\u003e\n    \u003c/ul\u003e\n\nOf course, you can add, remove or modify datas as you would with jquery data:\n\n    $(\"#items li\").datas('catid', 565);\n\nAnd later access the dataset object:\n\n    $(\"#items li:first\").datas(); // {id: 123, catid: 565, title: \"My product 1\", prices: ['45.00 €', '40.00 €']}\n\nOr call a specific data attribut by name:\n\n    $(\"#items li:first\").datas(\"title\"); // \"My product 1\"\n\nHtml element with class like \"data-...\" will be stored as if it was tagged with an HTML5 attribute.\n\nFor store multi values with the same key as array, we will use class named \"datas-...\" and content of each child will be stored separately\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frvflash%2Fjquery-datas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frvflash%2Fjquery-datas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frvflash%2Fjquery-datas/lists"}