{"id":15837095,"url":"https://github.com/afeiship/next-redux-lite","last_synced_at":"2026-04-13T21:01:54.788Z","repository":{"id":57122822,"uuid":"167952863","full_name":"afeiship/next-redux-lite","owner":"afeiship","description":"Lightweight version of the redux library.","archived":false,"fork":false,"pushed_at":"2021-11-24T08:57:31.000Z","size":57,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-29T01:48:44.747Z","etag":null,"topics":["lite","mini","next","react","redux","tiny"],"latest_commit_sha":null,"homepage":"","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/afeiship.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-01-28T11:43:38.000Z","updated_at":"2021-11-24T08:57:34.000Z","dependencies_parsed_at":"2022-08-24T14:59:32.426Z","dependency_job_id":null,"html_url":"https://github.com/afeiship/next-redux-lite","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/afeiship/next-redux-lite","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fnext-redux-lite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fnext-redux-lite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fnext-redux-lite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fnext-redux-lite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/afeiship","download_url":"https://codeload.github.com/afeiship/next-redux-lite/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fnext-redux-lite/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31770726,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T20:17:16.280Z","status":"ssl_error","status_checked_at":"2026-04-13T20:17:08.216Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["lite","mini","next","react","redux","tiny"],"created_at":"2024-10-05T15:20:54.163Z","updated_at":"2026-04-13T21:01:54.756Z","avatar_url":"https://github.com/afeiship.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# next-redux-lite\n\u003e Lightweight version of the redux library.\n\n[![version][version-image]][version-url]\n[![license][license-image]][license-url]\n[![size][size-image]][size-url]\n[![download][download-image]][download-url]\n\n## installation\n```bash\nnpm install -S @jswork/next-redux-lite\n```\n\n## apis\n| api       | args                             | description                |\n| --------- | -------------------------------- | -------------------------- |\n| INIT_TYPE | -                                | @@redux/INIT_0.g5t24hclwrt |\n| create    | reducers, initialState, enhancer | Create store.              |\n| apply     | middleware1,middleware2...       | Apply middlewares.         |\n| getState  | -                                | redux.getState             |\n| subscribe | listener                         | redux.subscribe            |\n| dispatch  | action                           | redux.dispatch             |\n\n## usage\n```js\nimport NxReduxLite from '@jswork/next-redux-lite';\n\n// create a redux store:\nconst store = NxReduxLite.create(reducers, {\n  test: 123\n});\n\n// subscribe the store:\nstore.subscribe(()=\u003e{\n  console.log('get!')\n});\n\n// dispath:\nstore.dispatch({\n  type:'INC',\n  data: 1\n});\n\n// get latest state:\nstore.getState();\n```\n\n## license\nCode released under [the MIT license](https://github.com/afeiship/next-redux-lite/blob/master/LICENSE.txt).\n\n[version-image]: https://img.shields.io/npm/v/@jswork/next-redux-lite\n[version-url]: https://npmjs.org/package/@jswork/next-redux-lite\n\n[license-image]: https://img.shields.io/npm/l/@jswork/next-redux-lite\n[license-url]: https://github.com/afeiship/next-redux-lite/blob/master/LICENSE.txt\n\n[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-redux-lite\n[size-url]: https://github.com/afeiship/next-redux-lite/blob/master/dist/next-redux-lite.min.js\n\n[download-image]: https://img.shields.io/npm/dm/@jswork/next-redux-lite\n[download-url]: https://www.npmjs.com/package/@jswork/next-redux-lite\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafeiship%2Fnext-redux-lite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fafeiship%2Fnext-redux-lite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafeiship%2Fnext-redux-lite/lists"}