{"id":25610476,"url":"https://github.com/tech-phantoms/kladi","last_synced_at":"2025-04-13T15:34:30.708Z","repository":{"id":108289353,"uuid":"290033041","full_name":"Tech-Phantoms/kladi","owner":"Tech-Phantoms","description":"Easy to use state management library for React","archived":false,"fork":false,"pushed_at":"2021-10-25T16:27:39.000Z","size":887,"stargazers_count":24,"open_issues_count":5,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-11T04:23:03.324Z","etag":null,"topics":["hacktoberfest","npm-package","react","state-management"],"latest_commit_sha":null,"homepage":"https://tech-phantoms.github.io/kladi/","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/Tech-Phantoms.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null},"funding":{"github":null,"patreon":null,"open_collective":"techphantoms","ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2020-08-24T20:29:54.000Z","updated_at":"2022-08-15T15:40:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"b9bd8246-e465-4b08-8a6d-abc759ef3e93","html_url":"https://github.com/Tech-Phantoms/kladi","commit_stats":{"total_commits":70,"total_committers":5,"mean_commits":14.0,"dds":0.5714285714285714,"last_synced_commit":"460e5708198123e4e1206ade72e233fa8b50f6a6"},"previous_names":["ninja-developers/kladi"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tech-Phantoms%2Fkladi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tech-Phantoms%2Fkladi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tech-Phantoms%2Fkladi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tech-Phantoms%2Fkladi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Tech-Phantoms","download_url":"https://codeload.github.com/Tech-Phantoms/kladi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248736696,"owners_count":21153631,"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":["hacktoberfest","npm-package","react","state-management"],"created_at":"2025-02-21T22:22:48.920Z","updated_at":"2025-04-13T15:34:30.703Z","avatar_url":"https://github.com/Tech-Phantoms.png","language":"JavaScript","funding_links":["https://opencollective.com/techphantoms"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.npmjs.com/package/kladi\"\u003e\u003cimg src=\"./logo.svg\" width=\"80%\"\u003e\u003c/a\u003e\n\n\u003ca href=\"https://www.npmjs.com/package/kladi\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/kladi.svg\" alt=\"NPM\"/\u003e\u003c/a\u003e\n\u003ca href=\"https://standardjs.com\"\u003e\u003cimg src=\"https://img.shields.io/badge/code_style-standard-brightgreen.svg\" alt=\"JavaScript Style Guide\"/\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/Ninja-Developers/kladi/blob/master/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/github/license/Ninja-Developers/kladi?logo=github\" alt=\"Github License\"\u003e\u003c/a\u003e\n![npm](https://img.shields.io/npm/dw/kladi?style=plastic)\n\u003c/p\u003e\n\n## Install\n\n```bash\nnpm install --save kladi\n```\n\n## Usage\n\n```jsx\nimport { Provider, useGlobalState } from \"kladi\";\n\nimport React from \"react\";\nimport ReactDOM from \"react-dom\";\nimport App from \"./App\";\n\nReactDOM.render(\n  \u003cProvider\u003e\n    \u003cApp /\u003e\n  \u003c/Provider\u003e,\n  document.getElementById(\"root\")\n);\n\nconst App = (props) =\u003e {\n  let [count, setCount] = useGlobalState(\"count\", 0);\n\n  return (\n    \u003cdiv\u003e\n      {count}\n      \u003cbutton\n        onClick={() =\u003e {\n          setCount(count + 1);\n        }}\n      \u003e\n        Press\n      \u003c/button\u003e\n    \u003c/div\u003e\n  );\n};\n\n```\n\n## License\n\nMIT © [Tech Phantoms](https://github.com/Tech-Phantoms/kladi/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftech-phantoms%2Fkladi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftech-phantoms%2Fkladi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftech-phantoms%2Fkladi/lists"}