{"id":16482470,"url":"https://github.com/f/delorean","last_synced_at":"2026-04-07T11:32:23.450Z","repository":{"id":19416067,"uuid":"22658327","full_name":"f/delorean","owner":"f","description":"An Agnostic, Complete Flux Architecture Framework","archived":false,"fork":false,"pushed_at":"2020-09-04T21:52:38.000Z","size":1779,"stargazers_count":750,"open_issues_count":16,"forks_count":37,"subscribers_count":24,"default_branch":"master","last_synced_at":"2026-03-05T10:59:23.905Z","etag":null,"topics":["agnostic","flux","flux-architecture"],"latest_commit_sha":null,"homepage":"","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/f.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":"2014-08-05T20:25:32.000Z","updated_at":"2026-03-05T06:32:50.000Z","dependencies_parsed_at":"2022-08-30T16:11:33.699Z","dependency_job_id":null,"html_url":"https://github.com/f/delorean","commit_stats":null,"previous_names":["deloreanjs/delorean"],"tags_count":81,"template":false,"template_full_name":null,"purl":"pkg:github/f/delorean","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f%2Fdelorean","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f%2Fdelorean/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f%2Fdelorean/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f%2Fdelorean/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/f","download_url":"https://codeload.github.com/f/delorean/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f%2Fdelorean/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31301254,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T06:13:15.241Z","status":"ssl_error","status_checked_at":"2026-04-02T06:13:14.499Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["agnostic","flux","flux-architecture"],"created_at":"2024-10-11T13:10:53.084Z","updated_at":"2026-04-07T11:32:23.432Z","avatar_url":"https://github.com/f.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DeLorean.js\n\n[![Build Status](https://travis-ci.org/deloreanjs/delorean.svg?branch=master)](https://travis-ci.org/deloreanjs/delorean)\n [![NPM version](https://badge.fury.io/js/delorean.svg)](http://badge.fury.io/js/delorean)\n ![Coverage](http://progressed.io/bar/84?title=coverage)\n\nDeLorean is a tiny Flux pattern implementation.\n\n  - **Unidirectional data flow**, it makes your app logic **simpler than MVC**,\n  - Automatically listens to data changes and keeps your data updated,\n  - Makes data more **consistent** across your whole application,\n  - It's framework agnostic, completely. There's **no view framework dependency**.\n  - Very small, just **5K** gzipped.\n  - Built-in **React.js** integration, easy to use with **Flight.js** and **Ractive.js** and probably all others.\n  - Improve your UI/data consistency using **rollbacks**.\n\n### Tutorial\n\nYou can learn Flux and DeLorean.js in minutes. [Read the tutorial](./docs/tutorial.md)\n\n## Using with Frameworks\n\n  - [Try **React.js** example on JSFiddle](http://jsfiddle.net/smadad/m2r0xo70/3/)\n  - [Try **Flight.js** example on JSFiddle](http://jsfiddle.net/smadad/hz9nahga/1/)\n  - [Try **Ractive.js** example on JSFiddle](http://jsfiddle.net/2r1k2k90/33/)\n  \n---\n\n## Install\n\nYou can install **DeLorean** with Bower:\n\n```bash\nbower install delorean\n```\n\nYou can also install by NPM to use with **Browserify** *(recommended)*\n\n```bash\nnpm install delorean\n```\n\n## Usage\n\nHipster way:\n\n```js\nvar Flux = require('delorean').Flux;\n// ...\n```\n\nOld-skool way:\n\n```html\n\u003cscript src=\"//rawgit.com/f/delorean/master/dist/delorean.min.js\"\u003e\u003c/script\u003e\n\u003cscript\u003e\nvar Flux = DeLorean.Flux;\n// ...\n\u003c/script\u003e\n```\n\n## Overview\n\n```javascript\nvar Flux = DeLorean.Flux;\n/*\n * Stores are simple data buckets which manages data.\n */\nvar Store = Flux.createStore({\n  data: null,\n  setData: function (data) {\n    this.data = data;\n    this.emit('change');\n  },\n  actions: {\n    'incoming-data': 'setData'\n  }\n});\nvar store = Store;\n\n/*\n * Dispatcher are simple action dispatchers for stores.\n * Stores handle the related action.\n */\nvar Dispatcher = Flux.createDispatcher({\n  setData: function (data) {\n    this.dispatch('incoming-data', data);\n  },\n  getStores: function () {\n    return {increment: store};\n  }\n});\n\n/*\n * Action Creators are simple controllers. They are simple functions.\n *  They talk to dispatchers. They are not required.\n */\nvar Actions = {\n  setData: function (data) {\n    Dispatcher.setData(data);\n  }\n};\n\n// The data cycle.\nstore.onChange(function () {\n  // End of data cycle.\n  document.getElementById('result').innerText = store.data;\n});\n\ndocument.getElementById('dataChanger').onclick = function () {\n  // Start data cycle:\n  Actions.setData(Math.random());\n};\n```\n[Run this example on JSFiddle](http://jsfiddle.net/smadad/tL4mctjd/1/)\n\n## Docs\n\nYou can read the [tutorial](./docs/tutorial.md) to get started\n**DeLorean.js** with your favorite framework.\n\n### Basic Concepts\n\n  - [**Store**: A postbox](./docs/stores.md)\n  - [**Dispatcher**: The postman, drops mail in the postboxes](./docs/dispatchers.md)\n  - [**View (or Component)**: Box owner, checks the box for mail](./docs/views.md)\n  - [**Action Creator**: The post office, manages postmen](./docs/actions.md)\n\nOr you can visit [documents](./docs) page.\n\n## Running the TodoMVC example\n\nThere is a simple TodoMVC example working with DeLorean.js\n\n```bash\ncd examples/todomvc\ngrunt\nopen index.html\n```\n\n## Authors\n\n  - Fatih Kadir Akin [@f](https://github.com/f)\n  - Burak Can [@burakcan](https://github.com/burakcan)\n  - Darcy Adams [@darcyadams](https://github.com/darcyadams)\n\n## Contributors\n\n  - Tom Moor [@tommoor](https://github.com/tommoor)\n  - Tim Branyen [@tbranyen](https://github.com/tbranyen)\n  - Quang Van [@quangv](https://github.com/quangv)\n  - James H. Edwards [@incrediblesound](https://github.com/incrediblesound)\n  - Fehmi Can Sağlam [@fehmicansaglam](https://github.com/fehmicansaglam)\n  - Serge van den Oever [@svdoever](https://github.com/svdoever)\n  - Markus Ast [@rkusa](https://github.com/rkusa)\n  - Peter Rumenov Denev [@peterdenev](https://github.com/peterdenev)\n\n## Contribution\n\n```bash\ngit clone git@github.com:deloreanjs/delorean.git\ncd delorean\ngit checkout -b your-feature-branch\n```\n\nAfter you make some changes and add your test cases to the `test/spec/*Spec.js`\nfiles. please run:\n\n```bash\ngrunt\ngrunt test\n```\n\nWhen it's all OK, [open a pull request](https://github.com/deloreanjs/delorean/compare/).\n\n## License\n\n[MIT License](http://f.mit-license.org)\n\n## Name\n\nThe **flux capacitor** was the core component of Doctor Emmett Brown's **DeLorean time machine**\n\n## Links about DeLorean.js\n\n - [http://dailyjs.com/2014/08/19/delorean-cash/](http://dailyjs.com/2014/08/19/delorean-cash/)\n - [https://reactjsnews.com/the-state-of-flux/](https://reactjsnews.com/the-state-of-flux/)\n - [http://facebook.github.io/react/blog/2014/10/17/community-roundup-23.html](http://facebook.github.io/react/blog/2014/10/17/community-roundup-23.html)\n - [https://scotch.io/tutorials/getting-to-know-flux-the-react-js-architecture](https://scotch.io/tutorials/getting-to-know-flux-the-react-js-architecture)\n - [http://thewebplatform.libsyn.com/flux-application-architecture-react](http://thewebplatform.libsyn.com/flux-application-architecture-react)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ff%2Fdelorean","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ff%2Fdelorean","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ff%2Fdelorean/lists"}