{"_id":"reactor-core","_rev":"28-9bfcf7b9bd650b5d73d1e811883a7b70","name":"reactor-core","description":"A small library to help create isomorphic apps in React","dist-tags":{"latest":"0.4.1"},"versions":{"0.0.1":{"name":"reactor-core","version":"0.0.1","description":"A small library for creating isomorphic apps in React","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"A small library for creating isomorphic apps in React"},"keywords":["React","Isomorphic","SPA"],"author":{"name":"Nate Wienert"},"license":"MIT","dependencies":{"fibers":"~1.0.1","react-async":"~0.6.0","cortexjs":"~0.4.5","superagent":"~0.17.0","envify":"~1.2.1","react":"~0.9.0","url-pattern":"~0.5.0"},"_id":"reactor-core@0.0.1","dist":{"shasum":"6908ad290ca49b577fcc95753d37d195711ac34b","tarball":"https://registry.npmjs.org/reactor-core/-/reactor-core-0.0.1.tgz","integrity":"sha512-93gdXojSY8tCj9Or7UwWugeUIo7/OcMJ3vqH0DkK1ixIbiBG85uCPPc6ZdXf3zy+oAk5cTGOav1e2nxCeOFLdQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCO84mlLIFJHp2yKEB2jcNjeQ+MkwVWKLVEp/nvS8ZllAIhAMT5e3li3hl0XcEnWx5KW6Aj6qD1LGcbtpuGWcu5i0hs"}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"nwienert","email":"natewienert@gmail.com"},"maintainers":[{"name":"nwienert","email":"natewienert@gmail.com"}]},"0.0.2":{"name":"reactor-core","version":"0.0.2","description":"A small library for creating isomorphic apps in React","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"A small library for creating isomorphic apps in React"},"keywords":["React","Isomorphic","SPA"],"author":{"name":"Nate Wienert"},"license":"MIT","dependencies":{"fibers":"~1.0.1","react-async":"~0.6.0","cortexjs":"~0.4.5","superagent":"~0.17.0","envify":"~1.2.1","react":"~0.9.0","url-pattern":"~0.5.0","reactor-pushstate":"~0.0.1","reactor-router":"~0.0.1"},"_id":"reactor-core@0.0.2","dist":{"shasum":"644e340695f823e120ee69391dd6633a29d1c332","tarball":"https://registry.npmjs.org/reactor-core/-/reactor-core-0.0.2.tgz","integrity":"sha512-OVHn3fYzwbffySKhLJcYIiycdZ9o/U6k3bbGPQyrzHNLHTDxjvVFa92ZFhODxLYIePm2PfkBogw3URgmq4xxvQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCBLOTmS3dXUZBMDYcahdUPFlWuE9ZItHjtfFT/043AWQIgO+KDbCihkeroE/W1IsHp0rxE5KHCsl7b1mpCjtIH1sI="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"nwienert","email":"natewienert@gmail.com"},"maintainers":[{"name":"nwienert","email":"natewienert@gmail.com"}]},"0.0.3":{"name":"reactor-core","version":"0.0.3","description":"A small library for creating isomorphic apps in React","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"A small library for creating isomorphic apps in React"},"keywords":["React","Isomorphic","SPA"],"author":{"name":"Nate Wienert"},"license":"MIT","dependencies":{"fibers":"~1.0.1","react-async":"~0.6.0","superagent":"~0.17.0","envify":"~1.2.1","react":"~0.9.0","url-pattern":"~0.5.0","reactor-pushstate":"~0.0.1","reactor-router":"~0.0.1"},"_id":"reactor-core@0.0.3","dist":{"shasum":"f20d97c40b28576b4d0334c3435004da3ec4aecd","tarball":"https://registry.npmjs.org/reactor-core/-/reactor-core-0.0.3.tgz","integrity":"sha512-76SdtFMAK09s7rjNx+rpjEbupUQeh8p6JZSWf4WxnV+fS+P9Ae5NCgOLcm0TdmocoRUeKFGjMB/Jeca0IREApA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAxnLQUd63enfGI+DobikiJzpbaEFIq/jQ6w7XkCjmR1AiEApk5CcD768S0JU5dVIJ/jczQi3IINFw+2ljxr0PL3IVo="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"nwienert","email":"natewienert@gmail.com"},"maintainers":[{"name":"nwienert","email":"natewienert@gmail.com"}]},"0.0.4":{"name":"reactor-core","version":"0.0.4","description":"A small library for creating isomorphic apps in React","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git@github.com:natew/reactor-core.git"},"keywords":["React","Isomorphic","SPA"],"author":{"name":"Nate Wienert"},"license":"MIT","dependencies":{"fibers":"~1.0.1","react-async":"~0.6.0","superagent":"~0.17.0","envify":"~1.2.1","react":"~0.9.0","url-pattern":"~0.5.0","reactor-pushstate":"~0.0.1","reactor-router":"~0.0.1","react-raf-batching":"~0.9.0"},"bugs":{"url":"https://github.com/natew/reactor-core/issues"},"homepage":"https://github.com/natew/reactor-core","_id":"reactor-core@0.0.4","dist":{"shasum":"5a242aaf8ea57418efd7b7ae6ab3c91df0acac38","tarball":"https://registry.npmjs.org/reactor-core/-/reactor-core-0.0.4.tgz","integrity":"sha512-G9SOdfXcZCKLkuUCKFTMqBt6SFrHmH9A1hMWgOtEapzlL0kEdrL7ee4qZvrNQoQLgXWK1ozAe1Onznb+GCFifw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFe0ZefLuytfnymWqA7soleLK1XNFKiPLgpNkYsxoUD9AiApie+wQVY5qPp57EIT4DI7MYUwRrHCThqSxAT/l7SjaQ=="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"nwienert","email":"natewienert@gmail.com"},"maintainers":[{"name":"nwienert","email":"natewienert@gmail.com"}]},"0.1.0":{"name":"reactor-core","version":"0.1.0","description":"A small library to help create isomorphic apps in React","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git@github.com:natew/reactor-core.git"},"keywords":["React","Isomorphic","SPA"],"author":{"name":"Nate Wienert"},"license":"MIT","dependencies":{"fibers":"~1.0.1","react-async":"~0.6.0","superagent":"~0.17.0","envify":"~1.2.1","react":"~0.9.0","url-pattern":"~0.5.0","reactor-pushstate":"~0.0.1","reactor-router":"~0.0.1","react-raf-batching":"~0.9.0"},"bugs":{"url":"https://github.com/natew/reactor-core/issues"},"homepage":"https://github.com/natew/reactor-core","_id":"reactor-core@0.1.0","dist":{"shasum":"7e051ad7276bae34a47d8d7bb530e0a7b481c7ce","tarball":"https://registry.npmjs.org/reactor-core/-/reactor-core-0.1.0.tgz","integrity":"sha512-C5a/dd25F5/W0CFYCRCCw4lzPxGXp3f6b8S7DlB1oayMaP+SveOe/6pHBvEwTytxd74l7UdfIq4u0qbAkXDdcg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCKPC79bYLR3Miq9I8dVeofiuF0GmhiNki9wWo1CwMS/QIgME67FlpygE6akPcbT6jKBkOv1cI7mY2qFxOx9g2XY1M="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"nwienert","email":"natewienert@gmail.com"},"maintainers":[{"name":"nwienert","email":"natewienert@gmail.com"}]},"0.1.1":{"name":"reactor-core","version":"0.1.1","description":"A small library to help create isomorphic apps in React","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git@github.com:natew/reactor-core.git"},"keywords":["React","Isomorphic","SPA"],"author":{"name":"Nate Wienert"},"license":"MIT","dependencies":{"fibers":"~1.0.1","react-async":"~0.6.0","superagent":"~0.17.0","envify":"~1.2.1","react":"~0.9.0","url-pattern":"~0.5.0","reactor-pushstate":"~0.0.1","reactor-router":"~0.0.1","react-raf-batching":"~0.9.0"},"bugs":{"url":"https://github.com/natew/reactor-core/issues"},"homepage":"https://github.com/natew/reactor-core","_id":"reactor-core@0.1.1","dist":{"shasum":"b134933d56d96540533b09471056ff5b3274f117","tarball":"https://registry.npmjs.org/reactor-core/-/reactor-core-0.1.1.tgz","integrity":"sha512-fcHI772mxtWv0j71UwDya7JIHhEmbNeAFjqoB3RyRW0/HVDi4YZzYtK5sTw88xj/djPBsjECUpCcWH2R/Hu2Sg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHpYfyydoOgx3YwgJLOoRJFQkfrNYAy98ES87vUcCG+dAiEAskwf1EiTsNhyjOgD6BWZs2o1/GIAnB5ORpmFK9sDidA="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"nwienert","email":"natewienert@gmail.com"},"maintainers":[{"name":"nwienert","email":"natewienert@gmail.com"}]},"0.2.0":{"name":"reactor-core","version":"0.2.0","description":"A small library to help create isomorphic apps in React","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git@github.com:natew/reactor-core.git"},"keywords":["React","Isomorphic","SPA"],"author":{"name":"Nate Wienert"},"license":"MIT","dependencies":{"fibers":"~1.0.1","react-async":"~0.6.0","superagent":"~0.17.0","envify":"~1.2.1","react":"~0.9.0","url-pattern":"~0.5.0","reactor-pushstate":"~0.0.1","reactor-router":"~0.1.0","react-raf-batching":"~0.9.0","cortexjs":"~0.4.5"},"bugs":{"url":"https://github.com/natew/reactor-core/issues"},"homepage":"https://github.com/natew/reactor-core","_id":"reactor-core@0.2.0","dist":{"shasum":"db47b329ac9f36bbae329db9df3ea6b601e48202","tarball":"https://registry.npmjs.org/reactor-core/-/reactor-core-0.2.0.tgz","integrity":"sha512-EyNT2xE/Pa8jcrDnTEGB39uKr2rVpx4G96xT+RlKniN1M8GiVJsvlYwthCYNUHyf23nCr+P2jnwACKGqSvP47g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDnpzDdtXFAicpDVd/tl5GLP68KtoQQA63Dk3XNb0VhCwIhAIkCXcZORWv1dxx1On+cJ6Ds99voTcnZe6K6NzfSjlBp"}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"nwienert","email":"natewienert@gmail.com"},"maintainers":[{"name":"nwienert","email":"natewienert@gmail.com"}]},"0.3.0":{"name":"reactor-core","version":"0.3.0","description":"A small library to help create isomorphic apps in React","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git@github.com:natew/reactor-core.git"},"keywords":["React","Isomorphic","SPA"],"author":{"name":"Nate Wienert"},"license":"MIT","dependencies":{"fibers":"~1.0.1","superagent":"~0.18","envify":"~1.2","url-pattern":"~0.6","reactor-pushstate":"~0.0.1","reactor-router":"~0.1.0"},"peerDependencies":{"react-async":"~0.9","react":"~0.10"},"bugs":{"url":"https://github.com/natew/reactor-core/issues"},"homepage":"https://github.com/natew/reactor-core","_id":"reactor-core@0.3.0","dist":{"shasum":"d6470abc9f0cb3264f35ab79c54b63366f59cd60","tarball":"https://registry.npmjs.org/reactor-core/-/reactor-core-0.3.0.tgz","integrity":"sha512-XC4XS0/Mj6Q1RGvPawRc1tJ8Jcx7vsRZNZsSptiWfFtbWgLDRLxzI+sLJ/gm1SGXe5nklcl1RP+I8/AL5e3pkQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHn9/GEdqG5XoDciJurPGXOrUPQI97UeaUTF46Yj608dAiBeQC8p43hxvwtlfje7vEAf+JO7LwOg4df+yk/Cav2qhA=="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"nwienert","email":"natewienert@gmail.com"},"maintainers":[{"name":"nwienert","email":"natewienert@gmail.com"}]},"0.4.0":{"name":"reactor-core","version":"0.4.0","description":"A small library to help create isomorphic apps in React","main":"index.js","scripts":{"test":"mocha -t 5000 -b -R spec spec.js"},"repository":{"type":"git","url":"git@github.com:natew/reactor-core.git"},"keywords":["React","Isomorphic","SPA"],"author":{"name":"Nate Wienert"},"license":"MIT","dependencies":{"envify":"~1.2","url-pattern":"~0.6","reactor-pushstate":"~0.0.1","reactor-router":"~0.2.0","fibers":"~1.0.1"},"peerDependencies":{"react-async":"~1.0.1","react":"0.10.0 - 0.11.x","fibers":"~1.0.1"},"devDependencies":{"mocha":"~1.17.1"},"bugs":{"url":"https://github.com/natew/reactor-core/issues"},"homepage":"https://github.com/natew/reactor-core","_id":"reactor-core@0.4.0","dist":{"shasum":"d0a29b7d75a262bbc5123640dfb6eb2182396ba5","tarball":"https://registry.npmjs.org/reactor-core/-/reactor-core-0.4.0.tgz","integrity":"sha512-tGRjvUE4oFxamBUm2nenOcG0nhSdzB8yVzzmdL/2z0DjUsWkKEDz8LWsAQZ6rztrJvElKxddM1WiQm8wDIJfSw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAPRwc53mUnp9vLTDwxW9XlZZn0PBIG+BmOk4+N4uDY7AiAccTb8HFn9dr61600zhRz0+FJ/DNS8VReU8C+3Lqmyyw=="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"nwienert","email":"natewienert@gmail.com"},"maintainers":[{"name":"nwienert","email":"natewienert@gmail.com"}]},"0.4.1":{"name":"reactor-core","version":"0.4.1","description":"A small library to help create isomorphic apps in React","main":"index.js","scripts":{"test":"mocha -t 5000 -b -R spec spec.js"},"repository":{"type":"git","url":"git@github.com:natew/reactor-core.git"},"keywords":["React","Isomorphic","SPA"],"author":{"name":"Nate Wienert"},"license":"MIT","dependencies":{"envify":"~1.2","url-pattern":"~0.6","reactor-pushstate":"~0.0.1","reactor-router":"~0.2.0","fibers":"~1.0.1"},"peerDependencies":{"react-async":"~1.0.1","react":"0.10.0 - 0.11.x","fibers":"~1.0.1"},"devDependencies":{"mocha":"~1.17.1"},"bugs":{"url":"https://github.com/natew/reactor-core/issues"},"homepage":"https://github.com/natew/reactor-core","_id":"reactor-core@0.4.1","dist":{"shasum":"59f9b055d18615713bb1a0a53493336ace87a5ef","tarball":"https://registry.npmjs.org/reactor-core/-/reactor-core-0.4.1.tgz","integrity":"sha512-vSEBB1I9kP/O9mJUjo5ioxvT+qPgtKOb10vFOgBX5EXF+IE8ccPhf9N5r3UyrsrbI4SbvAth+MeIlQ4P6YcvWg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC70/6oAe2VpDi58ilmI/xjW+dl6XU0rkPQck5isJGFVgIhAImrhYEvjMIrNk68F2XyuRtuPA5GETCH6zalQyg6Hhk9"}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"nwienert","email":"natewienert@gmail.com"},"maintainers":[{"name":"nwienert","email":"natewienert@gmail.com"}]}},"readme":"This is a small but fairly opinionated module that should let you get up and running with a React app quickly.\n\nIt uses the following modules to achieve this:\n- Routing: [reactor-router](https://github.com/natew/reactor-router)\n- HTML5 pushState: [reactor-pushState](https://github.com/natew/reactor-pushState)\n- Async data fetching: [react-async](https://github.com/andreypopp/react-async)\n\nCheck out a demo of it in use [in this repo](https://github.com/natew/reactor-demo).\n\n### Example\n\n    var React      = require('react');\n    var Reactor    = require('reactor-core').inject(React);\n    var Layout     = require('./layouts/myHTMLLayout');\n\n    var App = Reactor.createClass({\n\n      routes: {\n        '/': require('./pages/Home')\n      },\n\n      render: function(Page) {\n        return this.transferPropsTo(\n          <Layout onClick={this.navigate} title={this.state.title}>\n            <Page data={this.state.pageData} className=\"page\" />\n          </Layout>\n        );\n      }\n\n    });\n\n    Reactor.browserStart(App);\n    module.exports = App;\n\n### Middleware\n\nReactor comes with a simple middleware to help you render your app. You can use it like so:\n\n    var express = require('express');\n    var Server = express();\n    var App = require('./app'); // top level react component\n\n    Server.use(reactorMiddleware(App, {\n      wrapper: function(markup) { return '<!doctype>' + markup },\n      props: { // props to pass to your top level component\n        baseUrl: 'http://example.com'\n      }\n    }))\n    .listen(3000);\n\n\n### Warning\n\nThis is all very early stages, things will change.\n\n### License\n\nThe MIT License (MIT)\n\nCopyright (c) 2014 Nate Wienert\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.","maintainers":[{"name":"nwienert","email":"natewienert@gmail.com"}],"time":{"modified":"2022-06-26T09:10:12.028Z","created":"2014-03-12T09:07:36.043Z","0.0.1":"2014-03-12T09:07:36.043Z","0.0.2":"2014-03-12T09:18:08.371Z","0.0.3":"2014-03-12T09:47:45.824Z","0.0.4":"2014-03-12T18:35:16.636Z","0.1.0":"2014-03-13T17:39:34.188Z","0.1.1":"2014-03-13T17:42:52.146Z","0.2.0":"2014-03-14T09:43:55.100Z","0.3.0":"2014-05-16T17:32:35.010Z","0.4.0":"2014-08-19T14:11:18.333Z","0.4.1":"2014-08-19T17:46:45.562Z"},"keywords":["React","Isomorphic","SPA"],"repository":{"type":"git","url":"git@github.com:natew/reactor-core.git"},"author":{"name":"Nate Wienert"},"license":"MIT","readmeFilename":"README.md","users":{},"homepage":"https://github.com/natew/reactor-core","bugs":{"url":"https://github.com/natew/reactor-core/issues"}}