{"_id":"mantra-core","_rev":"14-98457ab3c3cba695cb41f17bda86df99","name":"mantra-core","description":"Core API for Mantra","dist-tags":{"latest":"1.7.0"},"versions":{"1.0.0":{"name":"mantra-core","version":"1.0.0","description":"Core API for Mantra","repository":{"type":"git","url":"git+https://github.com/mantrajs/mantra-core.git"},"license":"MIT","options":{"mocha":"--require scripts/mocha_runner src/**/__tests__/**/*.js"},"scripts":{"prepublish":". ./scripts/prepublish.sh","lint":"eslint ./src","lintfix":"eslint ./src --fix","testonly":"mocha $npm_package_options_mocha","test":"npm run lint && npm run testonly","test-watch":"npm run testonly -- --watch --watch-extensions js"},"devDependencies":{"nodemon":"1.7.x","mocha":"2.x.x","chai":"3.x.x","eslint":"1.7.x","babel-eslint":"4.x.x","eslint-plugin-babel":"2.x.x","babel-cli":"6.x.x","babel-core":"6.x.x","babel-polyfill":"6.x.x","babel-preset-es2015":"6.x.x","babel-preset-stage-2":"6.x.x","babel-plugin-transform-runtime":"6.x.x","react":"0.14.x"},"dependencies":{"babel-runtime":"6.x.x","react-komposer":"1.x.x","react-simple-di":"1.x.x"},"gitHead":"68c930b13ac93d893acef53042e29464989dc436","bugs":{"url":"https://github.com/mantrajs/mantra-core/issues"},"homepage":"https://github.com/mantrajs/mantra-core#readme","_id":"mantra-core@1.0.0","_shasum":"53a7377c01e11f6eca20ef47612075ecf416b41c","_from":".","_npmVersion":"3.3.8","_nodeVersion":"4.2.1","_npmUser":{"name":"arunoda","email":"arunoda.susiripala@gmail.com"},"dist":{"shasum":"53a7377c01e11f6eca20ef47612075ecf416b41c","tarball":"https://registry.npmjs.org/mantra-core/-/mantra-core-1.0.0.tgz","integrity":"sha512-KgEgAWKLJbT080N60wbaS5afLYuCPq4DBvxW8ZIr/Pj7t5VRlIVuo1yDydu+0Y/A6w0oSaiHwRVXi52MZi+PWQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEfOJKftbmmDFnhOvqHnIMbR185IEeHV746dyDuM5j8OAiBE9ruvkgSnIhDYsoBEy+rusZJLyFKoYqqAKAgzH4x23g=="}]},"maintainers":[{"name":"arunoda","email":"arunoda.susiripala@gmail.com"}]},"1.1.0":{"name":"mantra-core","version":"1.1.0","description":"Core API for Mantra","repository":{"type":"git","url":"git+https://github.com/mantrajs/mantra-core.git"},"license":"MIT","options":{"mocha":"--require scripts/mocha_runner src/**/__tests__/**/*.js"},"scripts":{"prepublish":". ./scripts/prepublish.sh","lint":"eslint ./src","lintfix":"eslint ./src --fix","testonly":"mocha $npm_package_options_mocha","test":"npm run lint && npm run testonly","test-watch":"npm run testonly -- --watch --watch-extensions js"},"devDependencies":{"nodemon":"1.7.x","mocha":"2.x.x","chai":"3.x.x","eslint":"1.7.x","babel-eslint":"4.x.x","eslint-plugin-babel":"2.x.x","babel-cli":"6.x.x","babel-core":"6.x.x","babel-polyfill":"6.x.x","babel-preset-es2015":"6.x.x","babel-preset-stage-2":"6.x.x","babel-plugin-transform-runtime":"6.x.x","react":"^0.14.6"},"dependencies":{"babel-runtime":"6.x.x","react-komposer":"^1.3.0","react-simple-di":"^1.0.1"},"gitHead":"add770921808cbba0f9f9ab078339fbd7fbcb76b","bugs":{"url":"https://github.com/mantrajs/mantra-core/issues"},"homepage":"https://github.com/mantrajs/mantra-core#readme","_id":"mantra-core@1.1.0","_shasum":"cd64e8a307cf23d36bc10f9fcbde4466d47ec321","_from":".","_npmVersion":"3.3.8","_nodeVersion":"4.2.1","_npmUser":{"name":"arunoda","email":"arunoda.susiripala@gmail.com"},"dist":{"shasum":"cd64e8a307cf23d36bc10f9fcbde4466d47ec321","tarball":"https://registry.npmjs.org/mantra-core/-/mantra-core-1.1.0.tgz","integrity":"sha512-37LNYjJnWKLvMjg154oLZ08XxdTYSlZD10QzippyNJCqZGpaM5LdVeXu5sTHeUgQ2zMq38gCH9J4RrwVNOVq2w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCnczRO4VQoJNoBwFcUwMEX7wb1zrmwqfXn1FBRK3dPEAIgRY+zLr5iwB2A4UxcdHsBN5O+qcOMDebNX7O7tk6iMCA="}]},"maintainers":[{"name":"arunoda","email":"arunoda.susiripala@gmail.com"}]},"1.2.0":{"name":"mantra-core","version":"1.2.0","description":"Core API for Mantra","repository":{"type":"git","url":"git+https://github.com/mantrajs/mantra-core.git"},"license":"MIT","options":{"mocha":"--require scripts/mocha_runner src/**/__tests__/**/*.js"},"scripts":{"prepublish":". ./scripts/prepublish.sh","lint":"eslint ./src","lintfix":"eslint ./src --fix","testonly":"mocha $npm_package_options_mocha","test":"npm run lint && npm run testonly","test-watch":"npm run testonly -- --watch --watch-extensions js"},"devDependencies":{"nodemon":"1.7.x","mocha":"2.x.x","chai":"3.x.x","eslint":"1.7.x","babel-eslint":"4.x.x","eslint-plugin-babel":"2.x.x","babel-cli":"6.x.x","babel-core":"6.x.x","babel-polyfill":"6.x.x","babel-preset-es2015":"6.x.x","babel-preset-stage-2":"6.x.x","babel-plugin-transform-runtime":"6.x.x","react":"^0.14.6"},"dependencies":{"babel-runtime":"6.x.x","react-komposer":"^1.3.0","react-simple-di":"^1.0.1"},"gitHead":"9cd7dd94c994da3ffadc50c69d2f9728eea52456","bugs":{"url":"https://github.com/mantrajs/mantra-core/issues"},"homepage":"https://github.com/mantrajs/mantra-core#readme","_id":"mantra-core@1.2.0","_shasum":"2a8718acd10d40ff3d4cfa0167c75127c1658a24","_from":".","_npmVersion":"3.3.8","_nodeVersion":"4.2.1","_npmUser":{"name":"arunoda","email":"arunoda.susiripala@gmail.com"},"dist":{"shasum":"2a8718acd10d40ff3d4cfa0167c75127c1658a24","tarball":"https://registry.npmjs.org/mantra-core/-/mantra-core-1.2.0.tgz","integrity":"sha512-Ngoo/GINb7NtcPj7VHrpZiOGmuHKJchndyW/QsnEwXjv+iV8C6+6ha1yqB0m4mMSANa6prpYEskQBYH2Q4hRiA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCRyAGCnH0UjPKig32REAY7WOrOeQbCFGGOIRbMAbGsTgIgDNwU4zYPGmvSjrmerY3M/7Ic5NOqMClsB3e0hLCUsf0="}]},"maintainers":[{"name":"arunoda","email":"arunoda.susiripala@gmail.com"}]},"1.3.0":{"name":"mantra-core","version":"1.3.0","description":"Core API for Mantra","repository":{"type":"git","url":"git+https://github.com/mantrajs/mantra-core.git"},"license":"MIT","options":{"mocha":"--require scripts/mocha_runner src/**/__tests__/**/*.js"},"scripts":{"prepublish":". ./scripts/prepublish.sh","lint":"eslint ./src","lintfix":"eslint ./src --fix","testonly":"mocha $npm_package_options_mocha","test":"npm run lint && npm run testonly","test-watch":"npm run testonly -- --watch --watch-extensions js"},"devDependencies":{"nodemon":"1.7.x","mocha":"2.x.x","chai":"3.x.x","eslint":"1.7.x","babel-eslint":"4.x.x","eslint-plugin-babel":"2.x.x","babel-cli":"6.x.x","babel-core":"6.x.x","babel-polyfill":"6.x.x","babel-preset-es2015":"6.x.x","babel-preset-stage-2":"6.x.x","babel-plugin-transform-runtime":"6.x.x","react":"^0.14.6"},"dependencies":{"babel-runtime":"6.x.x","react-komposer":"^1.4.0","react-simple-di":"^1.1.0"},"gitHead":"f8a2184398e4d4e4dbbcf88d9761c7dd31c5cdbe","bugs":{"url":"https://github.com/mantrajs/mantra-core/issues"},"homepage":"https://github.com/mantrajs/mantra-core#readme","_id":"mantra-core@1.3.0","_shasum":"c6a428fb3cf29fa056f8ad8753f999411031d95c","_from":".","_npmVersion":"3.7.5","_nodeVersion":"5.7.0","_npmUser":{"name":"arunoda","email":"arunoda.susiripala@gmail.com"},"dist":{"shasum":"c6a428fb3cf29fa056f8ad8753f999411031d95c","tarball":"https://registry.npmjs.org/mantra-core/-/mantra-core-1.3.0.tgz","integrity":"sha512-iY+mIku3QemjNiEwT4Pju57+F7iyLvitfhesEN2NJvcDK1RFZSPEjO2kX2/roMP+KvlwQNxlxxwU02yq4JVSeQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDcXSpdBxe1xzWVmsfpD4zGm/NFFU7D0xx75SdjUBxd4gIhAIpPlQQM8BmpJxKJcidN42ytRdhIB4dzpYL4QC82p4zo"}]},"maintainers":[{"name":"arunoda","email":"arunoda.susiripala@gmail.com"}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/mantra-core-1.3.0.tgz_1458110277719_0.7750679955352098"}},"1.4.0":{"name":"mantra-core","version":"1.4.0","description":"Core API for Mantra","repository":{"type":"git","url":"git+https://github.com/mantrajs/mantra-core.git"},"license":"MIT","options":{"mocha":"--require scripts/mocha_runner src/**/__tests__/**/*.js"},"scripts":{"prepublish":". ./scripts/prepublish.sh","lint":"eslint ./src","lintfix":"eslint ./src --fix","testonly":"mocha $npm_package_options_mocha","test":"npm run lint && npm run testonly","test-watch":"npm run testonly -- --watch --watch-extensions js"},"devDependencies":{"nodemon":"1.7.x","mocha":"2.x.x","chai":"3.x.x","eslint":"1.7.x","babel-eslint":"4.x.x","eslint-plugin-babel":"2.x.x","babel-cli":"6.x.x","babel-core":"6.x.x","babel-polyfill":"6.x.x","babel-preset-es2015":"6.x.x","babel-preset-stage-2":"6.x.x","babel-plugin-transform-runtime":"6.x.x","react":"^0.14.6"},"dependencies":{"babel-runtime":"6.x.x","react-komposer":"^1.7.0","react-simple-di":"^1.1.0"},"gitHead":"b691764a6c99c21a3cbb7e156f40e1d06ed7a177","bugs":{"url":"https://github.com/mantrajs/mantra-core/issues"},"homepage":"https://github.com/mantrajs/mantra-core#readme","_id":"mantra-core@1.4.0","_shasum":"781a22afc94d335becda21d9d722cb5562f8cd04","_from":".","_npmVersion":"3.8.0","_nodeVersion":"4.4.0","_npmUser":{"name":"arunoda","email":"arunoda.susiripala@gmail.com"},"dist":{"shasum":"781a22afc94d335becda21d9d722cb5562f8cd04","tarball":"https://registry.npmjs.org/mantra-core/-/mantra-core-1.4.0.tgz","integrity":"sha512-DzGaO+NKBELV5z/hMjQThVf4LX+AdjDE0fiS1rLVXmaMZK9+xo8yWgm34ByBOTr02+OatdbbXCOT4gRnT8Ov7g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBD1fVPC1hN8YH2+AvC2wPMKr8t/aTMZcPb9pdn8h4JtAiEAzXENgRk+fMJxu4+8YjhRpWKECdXv5uh+oODm4Y3f3rg="}]},"maintainers":[{"name":"arunoda","email":"arunoda.susiripala@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/mantra-core-1.4.0.tgz_1459324277716_0.7512559448368847"}},"1.5.0":{"name":"mantra-core","version":"1.5.0","description":"Core API for Mantra","repository":{"type":"git","url":"git+https://github.com/mantrajs/mantra-core.git"},"license":"MIT","options":{"mocha":"--require scripts/mocha_runner src/**/__tests__/**/*.js"},"scripts":{"prepublish":". ./scripts/prepublish.sh","lint":"eslint ./src","lintfix":"eslint ./src --fix","testonly":"mocha $npm_package_options_mocha","test":"npm run lint && npm run testonly","test-watch":"npm run testonly -- --watch --watch-extensions js"},"devDependencies":{"nodemon":"1.7.x","mocha":"2.x.x","chai":"3.x.x","eslint":"1.7.x","babel-eslint":"4.x.x","eslint-plugin-babel":"2.x.x","babel-cli":"6.x.x","babel-core":"6.x.x","babel-polyfill":"6.x.x","babel-preset-es2015":"6.x.x","babel-preset-stage-2":"6.x.x","babel-plugin-transform-runtime":"6.x.x","react":"^0.14.6"},"dependencies":{"babel-runtime":"6.x.x","react-komposer":"^1.8.0","react-simple-di":"^1.2.0"},"gitHead":"3892eaf76ee7acc080e06c77539feb873dcfb86b","bugs":{"url":"https://github.com/mantrajs/mantra-core/issues"},"homepage":"https://github.com/mantrajs/mantra-core#readme","_id":"mantra-core@1.5.0","_shasum":"7e299fc506bcec60f7008a2e527c141f62ea215d","_from":".","_npmVersion":"3.8.5","_nodeVersion":"4.4.0","_npmUser":{"name":"arunoda","email":"arunoda.susiripala@gmail.com"},"dist":{"shasum":"7e299fc506bcec60f7008a2e527c141f62ea215d","tarball":"https://registry.npmjs.org/mantra-core/-/mantra-core-1.5.0.tgz","integrity":"sha512-RP7mUBjm4n9DQp4PEPMG6cX8tKXfi8kpb9JCnBjMC402oIVPyOa4Qg8wtOTYIIGaGxr/gS7Y2/3SIFCcPZKZdQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDYmpHZFJCQWJrppeX8+SN1ibT9i+mMgkoWzR0x1rBPmgIhAPVoCC4/o0pADAGPUTchcGByap8MhiCK1Ueln8Gk6RCb"}]},"maintainers":[{"name":"arunoda","email":"arunoda.susiripala@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/mantra-core-1.5.0.tgz_1460206447923_0.5991090917959809"}},"1.6.0":{"name":"mantra-core","version":"1.6.0","description":"Core API for Mantra","repository":{"type":"git","url":"git+https://github.com/mantrajs/mantra-core.git"},"license":"MIT","options":{"mocha":"--require scripts/mocha_runner src/**/__tests__/**/*.js"},"scripts":{"prepublish":". ./scripts/prepublish.sh","lint":"eslint ./src","lintfix":"eslint ./src --fix","testonly":"mocha $npm_package_options_mocha","test":"npm run lint && npm run testonly","test-watch":"npm run testonly -- --watch --watch-extensions js"},"devDependencies":{"nodemon":"1.7.x","mocha":"2.x.x","chai":"3.x.x","eslint":"1.7.x","babel-eslint":"4.x.x","eslint-plugin-babel":"2.x.x","babel-cli":"6.x.x","babel-core":"6.x.x","babel-polyfill":"6.x.x","babel-preset-es2015":"6.x.x","babel-preset-stage-2":"6.x.x","babel-plugin-transform-runtime":"6.x.x","react":"^0.14.6"},"dependencies":{"babel-runtime":"6.x.x","react-komposer":"^1.8.0","react-simple-di":"^1.2.0"},"gitHead":"f0977760f53cdbb9d3f27faa9a76a9ee55bc1420","bugs":{"url":"https://github.com/mantrajs/mantra-core/issues"},"homepage":"https://github.com/mantrajs/mantra-core#readme","_id":"mantra-core@1.6.0","_shasum":"f4a0a93ecd7b31944dbe3494b0744eea2415dba2","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.5.0","_npmUser":{"name":"arunoda","email":"arunoda.susiripala@gmail.com"},"dist":{"shasum":"f4a0a93ecd7b31944dbe3494b0744eea2415dba2","tarball":"https://registry.npmjs.org/mantra-core/-/mantra-core-1.6.0.tgz","integrity":"sha512-GpbbL77iQuV7WfMp7aW2tvSEyQU2zVA8YKaEZRdZD5JI3yBJqfDOoVSsFJA90j7bdYwHXj2LzxJETPglk88iDw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFuvrjuPp3ZOlic1zZKaVB2hNvF2CdwPF2orXUbPf5PbAiEA9raftsrUJEJX39i2xyn1TWx2jlFBsbmdt8iD+485Hb4="}]},"maintainers":[{"name":"arunoda","email":"arunoda.susiripala@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/mantra-core-1.6.0.tgz_1462092459104_0.7227483491878957"}},"1.6.1":{"name":"mantra-core","version":"1.6.1","description":"Core API for Mantra","repository":{"type":"git","url":"git+https://github.com/mantrajs/mantra-core.git"},"license":"MIT","options":{"mocha":"--require scripts/mocha_runner src/**/__tests__/**/*.js"},"scripts":{"prepublish":". ./scripts/prepublish.sh","lint":"eslint ./src","lintfix":"eslint ./src --fix","testonly":"mocha $npm_package_options_mocha","test":"npm run lint && npm run testonly","test-watch":"npm run testonly -- --watch --watch-extensions js"},"devDependencies":{"nodemon":"1.7.x","mocha":"2.x.x","chai":"3.x.x","eslint":"1.7.x","babel-eslint":"4.x.x","eslint-plugin-babel":"2.x.x","babel-cli":"6.x.x","babel-core":"6.x.x","babel-polyfill":"6.x.x","babel-preset-es2015":"6.x.x","babel-preset-stage-2":"6.x.x","babel-plugin-transform-runtime":"6.x.x","react":"^0.14.6"},"dependencies":{"babel-runtime":"6.x.x","react-komposer":"^1.8.0","react-simple-di":"^1.2.0"},"gitHead":"0c681c6e3f92c483adcbcc826a472e04aadf8574","bugs":{"url":"https://github.com/mantrajs/mantra-core/issues"},"homepage":"https://github.com/mantrajs/mantra-core#readme","_id":"mantra-core@1.6.1","_shasum":"0b42a0095a67beaf1de512739819e9ff06863cf9","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.5.0","_npmUser":{"name":"arunoda","email":"arunoda.susiripala@gmail.com"},"dist":{"shasum":"0b42a0095a67beaf1de512739819e9ff06863cf9","tarball":"https://registry.npmjs.org/mantra-core/-/mantra-core-1.6.1.tgz","integrity":"sha512-u8xXnUsUdhrr9b3oP8yeFcwdo0eDyAxLJNbuWXn8dU+5aJLVWzRkOWYAh3B9vNH6k3Dmd4yLSq6qJkV6n0LCKw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH7p/1i/lT1aLyz9w1HECvLvUs/l5k/mG5jbfL7HFOtoAiEA4VkagZx3g7ys5ufKJQ421EYclRvFRIItkG47Nqh6LnU="}]},"maintainers":[{"name":"arunoda","email":"arunoda.susiripala@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/mantra-core-1.6.1.tgz_1462094001464_0.47950812173075974"}},"1.7.0":{"name":"mantra-core","version":"1.7.0","description":"Core API for Mantra","repository":{"type":"git","url":"git+https://github.com/mantrajs/mantra-core.git"},"license":"MIT","options":{"mocha":"--require scripts/mocha_runner src/**/__tests__/**/*.js"},"scripts":{"prepublish":". ./scripts/prepublish.sh","lint":"eslint ./src","lintfix":"eslint ./src --fix","testonly":"mocha $npm_package_options_mocha","test":"npm run lint && npm run testonly","test-watch":"npm run testonly -- --watch --watch-extensions js"},"devDependencies":{"nodemon":"1.7.x","mocha":"2.x.x","chai":"3.x.x","eslint":"1.7.x","babel-eslint":"4.x.x","eslint-plugin-babel":"2.x.x","babel-cli":"6.x.x","babel-core":"6.x.x","babel-polyfill":"6.x.x","babel-preset-es2015":"6.x.x","babel-preset-stage-2":"6.x.x","babel-plugin-transform-runtime":"6.x.x","react":"^0.14.6"},"dependencies":{"babel-runtime":"6.x.x","react-komposer":"^1.9.0","react-simple-di":"^1.2.0"},"gitHead":"d46191571e22aeab85daa8f6ffb07767d93afdab","bugs":{"url":"https://github.com/mantrajs/mantra-core/issues"},"homepage":"https://github.com/mantrajs/mantra-core#readme","_id":"mantra-core@1.7.0","_shasum":"a8c83e8cee83ef6a7383131519fe8031ad546386","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.5.0","_npmUser":{"name":"arunoda","email":"arunoda.susiripala@gmail.com"},"dist":{"shasum":"a8c83e8cee83ef6a7383131519fe8031ad546386","tarball":"https://registry.npmjs.org/mantra-core/-/mantra-core-1.7.0.tgz","integrity":"sha512-2JQfEkOJ+6ydMwviPtpYIN1/5hr/YQXvGWGcFQWQwzbsQidvbP3rgGMzwFbKWrIoUG9BvEyHT6RceyNKawantw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHo/ziT72wLqPUO0fTcXdP54rb39Igsc6vyRE0+E+BREAiEA6N3ZV0Cj8kS9MnRBBnsszZk+JsIcIWNwnNTkKM811+c="}]},"maintainers":[{"name":"arunoda","email":"arunoda.susiripala@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/mantra-core-1.7.0.tgz_1466594586659_0.36666578659787774"}}},"readme":"#mantra-core\n\nCore API for Mantra.\n\n### Introduction\n\nThis repo contains the core APP api where we create an mantra app and initialize it.\n\nAlso, this package contains exported functions from both [`react-komposer`](https://github.com/kadirahq/react-komposer) and [`react-simple-di`](https://github.com/kadirahq/react-simple-di).\nThat's purely for the ease of use.\n\n### Installation\n\n```\nnpm i --save mantra-core react\n```\n\n### App API\n\n```js\nimport MyComp from './myComp';\nimport {createApp} from 'mantra-core';\n\n// Here's a simple Mantra Module\nconst module = {\n  routes(injectDeps) {\n    const InjectedComp = injectDeps(MyComp);\n    // load routes and put `InjectedComp` to the screen.\n  },\n  load(context, actions) {\n    // do any module initialization\n  },\n  actions: {\n    myNamespace: {\n      doSomething: (context, arg1) => {}\n    }\n  }\n};\n\nconst context = {\n  client: new DataClient()\n};\n\nconst app = createApp(context);\napp.loadModule(module);\n// app.loadModule(someOtherModule);\napp.init();\n```\n","maintainers":[{"name":"arunoda","email":"arunoda.susiripala@gmail.com"}],"time":{"modified":"2022-06-19T15:49:38.150Z","created":"2016-01-27T12:46:06.700Z","1.0.0":"2016-01-27T12:46:06.700Z","1.1.0":"2016-01-28T09:14:28.953Z","1.2.0":"2016-02-01T09:02:08.826Z","1.3.0":"2016-03-16T06:37:59.966Z","1.4.0":"2016-03-30T07:51:18.692Z","1.5.0":"2016-04-09T12:54:10.283Z","1.6.0":"2016-05-01T08:47:40.069Z","1.6.1":"2016-05-01T09:13:22.463Z","1.7.0":"2016-06-22T11:23:08.951Z"},"homepage":"https://github.com/mantrajs/mantra-core#readme","repository":{"type":"git","url":"git+https://github.com/mantrajs/mantra-core.git"},"bugs":{"url":"https://github.com/mantrajs/mantra-core/issues"},"license":"MIT","readmeFilename":"README.md","users":{"kytart":true}}