{"_id":"@arve.knudsen/choo-routehandler","_rev":"13-854f2d72bd1dbdb024680754abeaa547","name":"@arve.knudsen/choo-routehandler","description":"Simple Choo routing framework, WIP!","dist-tags":{"latest":"0.1.6"},"versions":{"0.0.1":{"name":"@arve.knudsen/choo-routehandler","version":"0.0.1","description":"Simple Choo routing framework, WIP!","main":"index.js","keywords":["choo","routing"],"scripts":{"test":"npm run lint","lint":"eslint ./app"},"repository":{"type":"git","url":"git+https://github.com/aknuds1/choo-routehandler.git"},"author":{"name":"Arve Knudsen"},"license":"MIT","bugs":{"url":"https://github.com/aknuds1/choo-routehandler/issues"},"homepage":"https://github.com/aknuds1/choo-routehandler#readme","dependencies":{"@arve.knudsen/js-logger":"^1.3.1","bluebird":"^3.4.6","on-load":"^3.2.0","ramda":"^0.23","underscore.string.fp":"^1.0.4"},"devDependencies":{"babel-cli":"^6.4.0","babel-core":"^6.4.0","babel-polyfill":"^6.16.0","babel-preset-latest":"^6.14.0","babel-preset-node5":"^12.0.0","browserify":"^14.0","es2020":"^1.1.9","eslint":"^3.5","gulp":"^3.9.1","gulp-babel":"^6.1.2","gulp-flatten":"^0.3.1","gulp-pug":"^3.2.0","gulp-rename":"^1.2.2","gulp-sourcemaps":"^2.2"},"gitHead":"68634d8470f8992ec24440a32a3e33fcf81a5a5e","_id":"@arve.knudsen/choo-routehandler@0.0.1","_shasum":"e9d35eec162a6f52748d07e62361a95c89085344","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.5.0","_npmUser":{"name":"arve.knudsen","email":"arve.knudsen@gmail.com"},"dist":{"shasum":"e9d35eec162a6f52748d07e62361a95c89085344","tarball":"https://registry.npmjs.org/@arve.knudsen/choo-routehandler/-/choo-routehandler-0.0.1.tgz","integrity":"sha512-Vp87WO85KjVQgB4hmovw3JwkpkJLca09If2MMvsQm8W/LeARrFCudoqpQPIQdWwe+k0zaAUvM8l6dBmn0I1Eow==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDjgdfYMfICYUKI6v3674hNo6Oq4/uTUzkemRTqaCH4SgIhAJIaUCIQxlxeqq6AbKhz11nyDvTsDJgVCyFALdSyyE0b"}]},"maintainers":[{"name":"arve.knudsen","email":"arve.knudsen@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/choo-routehandler-0.0.1.tgz_1487759103452_0.17371152970008552"}},"0.0.2":{"name":"@arve.knudsen/choo-routehandler","version":"0.0.2","description":"Simple Choo routing framework, WIP!","main":"index.js","keywords":["choo","routing"],"scripts":{"test":"npm run lint","lint":"eslint ./app"},"repository":{"type":"git","url":"git+https://github.com/aknuds1/choo-routehandler.git"},"author":{"name":"Arve Knudsen"},"license":"MIT","bugs":{"url":"https://github.com/aknuds1/choo-routehandler/issues"},"homepage":"https://github.com/aknuds1/choo-routehandler#readme","dependencies":{"@arve.knudsen/js-logger":"^1.3.1","bluebird":"^3.4.6","on-load":"^3.2.0","ramda":"^0.23","underscore.string.fp":"^1.0.4"},"devDependencies":{"babel-cli":"^6.4.0","babel-core":"^6.4.0","babel-polyfill":"^6.16.0","babel-preset-latest":"^6.14.0","babel-preset-node5":"^12.0.0","browserify":"^14.0","es2020":"^1.1.9","eslint":"^3.5","gulp":"^3.9.1","gulp-babel":"^6.1.2","gulp-flatten":"^0.3.1","gulp-pug":"^3.2.0","gulp-rename":"^1.2.2","gulp-sourcemaps":"^2.2"},"gitHead":"cc59496421363b3c1cf4f32b67df434a12fe8f79","_id":"@arve.knudsen/choo-routehandler@0.0.2","_shasum":"fa552b39d60117647565d90bce59118aa5973722","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.5.0","_npmUser":{"name":"arve.knudsen","email":"arve.knudsen@gmail.com"},"dist":{"shasum":"fa552b39d60117647565d90bce59118aa5973722","tarball":"https://registry.npmjs.org/@arve.knudsen/choo-routehandler/-/choo-routehandler-0.0.2.tgz","integrity":"sha512-WRSHUl2+2hgGy6LvCVztM3VpdbHMkwBvZW7soep7mZA9P+aMuFxIdhm0O43x+F5/iHvhj1NlqqeG09gL8qHbMA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCKS6OEhfVzXVlVR8xElX7JzIuF0xrKeuJQMtxKTmDjogIhAIEqv1D83Wjg2vH8byFJ19qUCgiPIgc4Qr9kdJdptAA4"}]},"maintainers":[{"name":"arve.knudsen","email":"arve.knudsen@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/choo-routehandler-0.0.2.tgz_1487762875974_0.03505424619652331"}},"0.0.3":{"name":"@arve.knudsen/choo-routehandler","version":"0.0.3","description":"Simple Choo routing framework, WIP!","main":"index.js","keywords":["choo","routing"],"scripts":{"test":"npm run lint","lint":"eslint ./app"},"repository":{"type":"git","url":"git+https://github.com/aknuds1/choo-routehandler.git"},"author":{"name":"Arve Knudsen"},"license":"MIT","bugs":{"url":"https://github.com/aknuds1/choo-routehandler/issues"},"homepage":"https://github.com/aknuds1/choo-routehandler#readme","dependencies":{"@arve.knudsen/js-logger":"^1.3.1","bluebird":"^3.4.6","on-load":"^3.2.0","ramda":"^0.23","underscore.string.fp":"^1.0.4"},"devDependencies":{"babel-cli":"^6.4.0","babel-core":"^6.4.0","babel-polyfill":"^6.16.0","babel-preset-latest":"^6.14.0","babel-preset-node5":"^12.0.0","browserify":"^14.0","es2020":"^1.1.9","eslint":"^3.5","gulp":"^3.9.1","gulp-babel":"^6.1.2","gulp-flatten":"^0.3.1","gulp-pug":"^3.2.0","gulp-rename":"^1.2.2","gulp-sourcemaps":"^2.2"},"gitHead":"457a78a3233c2388d584cb7f8c8558540f74c857","_id":"@arve.knudsen/choo-routehandler@0.0.3","_shasum":"eeb89d1f1ee54450fb27d3ca740e994094646b73","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.5.0","_npmUser":{"name":"arve.knudsen","email":"arve.knudsen@gmail.com"},"dist":{"shasum":"eeb89d1f1ee54450fb27d3ca740e994094646b73","tarball":"https://registry.npmjs.org/@arve.knudsen/choo-routehandler/-/choo-routehandler-0.0.3.tgz","integrity":"sha512-B6+bZjrbbrElX4Ev6tPGLbozVtcbpF3xejveA7mYkvlHzrGTPsizUtkWgkJSX7IxJZBB7Qfge0IzujpL3wS4OA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDBnfOnmgtouxYVfw9FTJD3inDX2xYarOJXG87IChN/dwIhAKOgLHejQ8oX5e7KjdV2jmVu3zVGGC67SmTNz/NRp5uk"}]},"maintainers":[{"name":"arve.knudsen","email":"arve.knudsen@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/choo-routehandler-0.0.3.tgz_1487764084997_0.30999931413680315"}},"0.0.4":{"name":"@arve.knudsen/choo-routehandler","version":"0.0.4","description":"Simple Choo routing framework, WIP!","main":"index.js","keywords":["choo","routing"],"scripts":{"test":"npm run lint","lint":"eslint ./app"},"repository":{"type":"git","url":"git+https://github.com/aknuds1/choo-routehandler.git"},"author":{"name":"Arve Knudsen"},"license":"MIT","bugs":{"url":"https://github.com/aknuds1/choo-routehandler/issues"},"homepage":"https://github.com/aknuds1/choo-routehandler#readme","dependencies":{"@arve.knudsen/js-logger":"^1.3.1","bluebird":"^3.4.6","on-load":"^3.2.0","ramda":"^0.23","underscore.string.fp":"^1.0.4"},"devDependencies":{"babel-cli":"^6.4.0","babel-core":"^6.4.0","babel-polyfill":"^6.16.0","babel-preset-latest":"^6.14.0","babel-preset-node5":"^12.0.0","browserify":"^14.0","es2020":"^1.1.9","eslint":"^3.5","gulp":"^3.9.1","gulp-babel":"^6.1.2","gulp-flatten":"^0.3.1","gulp-pug":"^3.2.0","gulp-rename":"^1.2.2","gulp-sourcemaps":"^2.2"},"gitHead":"f37dcf6da702785cb25765c4aa2fd23b2151ba20","_id":"@arve.knudsen/choo-routehandler@0.0.4","_shasum":"04038bd76e33610bf9363f8f6cc5a8b7ac648721","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.5.0","_npmUser":{"name":"arve.knudsen","email":"arve.knudsen@gmail.com"},"dist":{"shasum":"04038bd76e33610bf9363f8f6cc5a8b7ac648721","tarball":"https://registry.npmjs.org/@arve.knudsen/choo-routehandler/-/choo-routehandler-0.0.4.tgz","integrity":"sha512-uwb+EgBUCnCHu4WBunMlBMADXGEY9x+OU/VgNgHP7YHSzDcQs7VgHPpB4G6d4ODVugM96quNrtjGxn2rpGM/4w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDSPvmx4e1GxjPram1CWLhm+0a/ZJ32sU0CEIn95KSGNQIgeiLwHTs0CfE4p7d+WOP4Dp75dclXVhlUdpCkMogqscI="}]},"maintainers":[{"name":"arve.knudsen","email":"arve.knudsen@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/choo-routehandler-0.0.4.tgz_1487779323182_0.7794566322118044"}},"0.0.5":{"name":"@arve.knudsen/choo-routehandler","version":"0.0.5","description":"Simple Choo routing framework, WIP!","main":"index.js","keywords":["choo","routing"],"scripts":{"test":"npm run lint","lint":"eslint ./app"},"repository":{"type":"git","url":"git+https://github.com/aknuds1/choo-routehandler.git"},"author":{"name":"Arve Knudsen"},"license":"MIT","bugs":{"url":"https://github.com/aknuds1/choo-routehandler/issues"},"homepage":"https://github.com/aknuds1/choo-routehandler#readme","dependencies":{"@arve.knudsen/js-logger":"^1.3.1","bluebird":"^3.4.6","on-load":"^3.2.0","ramda":"^0.23","underscore.string.fp":"^1.0.4"},"devDependencies":{"babel-cli":"^6.4.0","babel-core":"^6.4.0","babel-polyfill":"^6.16.0","babel-preset-latest":"^6.14.0","babel-preset-node5":"^12.0.0","browserify":"^14.0","es2020":"^1.1.9","eslint":"^3.5","gulp":"^3.9.1","gulp-babel":"^6.1.2","gulp-flatten":"^0.3.1","gulp-pug":"^3.2.0","gulp-rename":"^1.2.2","gulp-sourcemaps":"^2.2"},"gitHead":"a786e5de19185476b7d3347003becbcfbb6eaa7a","_id":"@arve.knudsen/choo-routehandler@0.0.5","_shasum":"1a45551ea99b646042b1d272a4fc5454606a91f2","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.5.0","_npmUser":{"name":"arve.knudsen","email":"arve.knudsen@gmail.com"},"dist":{"shasum":"1a45551ea99b646042b1d272a4fc5454606a91f2","tarball":"https://registry.npmjs.org/@arve.knudsen/choo-routehandler/-/choo-routehandler-0.0.5.tgz","integrity":"sha512-wZSHYJSHtUFVFFhN8PuW86GqfWZfc+0gxGdUo17SFEhRTGTbKUMsk6e/G00wdbPV/vAuqbuQlUfXl3LjiZVtvA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAP90Zvz3n6m47prcNdZakJyS/GGnBeata1SJHXr8bitAiAp3QwtrznPxYyxtvu0LbR1U5pqcbhZSZTPL4rXGCFfeQ=="}]},"maintainers":[{"name":"arve.knudsen","email":"arve.knudsen@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/choo-routehandler-0.0.5.tgz_1488204654681_0.1670466789510101"}},"0.1.0":{"name":"@arve.knudsen/choo-routehandler","version":"0.1.0","description":"Simple Choo routing framework, WIP!","main":"index.js","keywords":["choo","routing"],"scripts":{"test":"npm run lint","lint":"eslint ./app"},"repository":{"type":"git","url":"git+https://github.com/aknuds1/choo-routehandler.git"},"author":{"name":"Arve Knudsen"},"license":"MIT","bugs":{"url":"https://github.com/aknuds1/choo-routehandler/issues"},"homepage":"https://github.com/aknuds1/choo-routehandler#readme","dependencies":{"@arve.knudsen/js-logger":"^1.3.1","bluebird":"^3.4.6","on-load":"^3.2.0","ramda":"^0.23","underscore.string.fp":"^1.0.4"},"devDependencies":{"babel-cli":"^6.4.0","babel-core":"^6.4.0","babel-polyfill":"^6.16.0","babel-preset-latest":"^6.14.0","babel-preset-node5":"^12.0.0","browserify":"^14.0","es2020":"^1.1.9","eslint":"^3.5","gulp":"^3.9.1","gulp-babel":"^6.1.2","gulp-flatten":"^0.3.1","gulp-pug":"^3.2.0","gulp-rename":"^1.2.2","gulp-sourcemaps":"^2.2"},"gitHead":"a5da3bf08db13544bd5d31d566eea4201ccfae6f","_id":"@arve.knudsen/choo-routehandler@0.1.0","_shasum":"aea652d6d9e0c44c5cc3c0ec17eca9e2ad000dc9","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.7.0","_npmUser":{"name":"arve.knudsen","email":"arve.knudsen@gmail.com"},"dist":{"shasum":"aea652d6d9e0c44c5cc3c0ec17eca9e2ad000dc9","tarball":"https://registry.npmjs.org/@arve.knudsen/choo-routehandler/-/choo-routehandler-0.1.0.tgz","integrity":"sha512-5afdkqTdqekru8Z9BH4rugCXREzzkKXu1Qc9YTxtgn1AxWp2AZpyBOqTGJzhLYyMODi/uacz3gXYuXljXSXpoA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBXV+HEbNwgr3ymGnG7B8zDUMaOwR3JihZmX0MjoYxkWAiBCu+Odh3p0Smv3FE89GO9G/oyu60xNWTMwhkGLIyaxTg=="}]},"maintainers":[{"name":"arve.knudsen","email":"arve.knudsen@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/choo-routehandler-0.1.0.tgz_1489656636342_0.6089795716106892"}},"0.1.1":{"name":"@arve.knudsen/choo-routehandler","version":"0.1.1","description":"Simple Choo routing framework, WIP!","main":"index.js","keywords":["choo","routing"],"scripts":{"test":"npm run lint","lint":"eslint ./app"},"repository":{"type":"git","url":"git+https://github.com/aknuds1/choo-routehandler.git"},"author":{"name":"Arve Knudsen"},"license":"MIT","bugs":{"url":"https://github.com/aknuds1/choo-routehandler/issues"},"homepage":"https://github.com/aknuds1/choo-routehandler#readme","dependencies":{"@arve.knudsen/js-logger":"^1.3.1","bluebird":"^3.4.6","on-load":"^3.2.0","ramda":"^0.23","underscore.string.fp":"^1.0.4"},"devDependencies":{"babel-cli":"^6.4.0","babel-core":"^6.4.0","babel-polyfill":"^6.16.0","babel-preset-latest":"^6.14.0","babel-preset-node5":"^12.0.0","browserify":"^14.0","es2020":"^1.1.9","eslint":"^3.5","gulp":"^3.9.1","gulp-babel":"^6.1.2","gulp-flatten":"^0.3.1","gulp-pug":"^3.2.0","gulp-rename":"^1.2.2","gulp-sourcemaps":"^2.2"},"gitHead":"f2119b238982c41071548717adb9879dcf248eed","_id":"@arve.knudsen/choo-routehandler@0.1.1","_shasum":"517b7341a8eb8f4662e51cdb2e6279bb8a665582","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.7.0","_npmUser":{"name":"arve.knudsen","email":"arve.knudsen@gmail.com"},"dist":{"shasum":"517b7341a8eb8f4662e51cdb2e6279bb8a665582","tarball":"https://registry.npmjs.org/@arve.knudsen/choo-routehandler/-/choo-routehandler-0.1.1.tgz","integrity":"sha512-/csTT6NUY04wtM9iTrQbUBeApzQYaTo2C9IX7Orvq2Fg3DqcukirhPOszJn7w4uu5dBHWtQ+v9Kva0kd+0sg8A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDLyuClcFpelpf7BtElIu4tuUswg2AjHpJPM+E6x3ktfAIgBrh3L13hLp0FUmyIUgQIzMCrI3uIrGGX7z88S5wl9yE="}]},"maintainers":[{"name":"arve.knudsen","email":"arve.knudsen@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/choo-routehandler-0.1.1.tgz_1489676596470_0.9545004866085947"}},"0.1.2":{"name":"@arve.knudsen/choo-routehandler","version":"0.1.2","description":"Simple Choo routing framework, WIP!","main":"index.js","keywords":["choo","routing"],"scripts":{"test":"npm run lint","lint":"eslint ./app"},"repository":{"type":"git","url":"git+https://github.com/aknuds1/choo-routehandler.git"},"author":{"name":"Arve Knudsen"},"license":"MIT","bugs":{"url":"https://github.com/aknuds1/choo-routehandler/issues"},"homepage":"https://github.com/aknuds1/choo-routehandler#readme","dependencies":{"@arve.knudsen/js-logger":"^1.3.1","bluebird":"^3.4.6","on-load":"^3.2.0","ramda":"^0.23","underscore.string.fp":"^1.0.4"},"devDependencies":{"babel-cli":"^6.4.0","babel-core":"^6.4.0","babel-polyfill":"^6.16.0","babel-preset-latest":"^6.14.0","babel-preset-node5":"^12.0.0","browserify":"^14.0","es2020":"^1.1.9","eslint":"^3.5","gulp":"^3.9.1","gulp-babel":"^6.1.2","gulp-flatten":"^0.3.1","gulp-pug":"^3.2.0","gulp-rename":"^1.2.2","gulp-sourcemaps":"^2.2"},"gitHead":"c8e51f03f773ce0980890e7741bc44651c4351e5","_id":"@arve.knudsen/choo-routehandler@0.1.2","_shasum":"2af24aa409dd4766b4c04656c9ca32a38413ce0d","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.7.0","_npmUser":{"name":"arve.knudsen","email":"arve.knudsen@gmail.com"},"dist":{"shasum":"2af24aa409dd4766b4c04656c9ca32a38413ce0d","tarball":"https://registry.npmjs.org/@arve.knudsen/choo-routehandler/-/choo-routehandler-0.1.2.tgz","integrity":"sha512-O8d3FVVA4tYsOt7rrkdlYgMPAGmBK/LF0aZNkqtoG+ux7aTEvvf8wXfWmnjK76fpwEm7Fstc6UnDVDV1kheFxQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDkQ+H8GyvbkqlGgcL5JO4PvzRYF5xrxHPIBAkhh97ohAiBWOFITA3h+n3xDz6ESjgPl1DzGckvIMJp2j5AwkAAo5Q=="}]},"maintainers":[{"name":"arve.knudsen","email":"arve.knudsen@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/choo-routehandler-0.1.2.tgz_1492346393861_0.1684803068637848"}},"0.1.3":{"name":"@arve.knudsen/choo-routehandler","version":"0.1.3","description":"Simple Choo routing framework, WIP!","main":"index.js","keywords":["choo","routing"],"scripts":{"test":"npm run lint","lint":"eslint ./app"},"repository":{"type":"git","url":"git+https://github.com/aknuds1/choo-routehandler.git"},"author":{"name":"Arve Knudsen"},"license":"MIT","bugs":{"url":"https://github.com/aknuds1/choo-routehandler/issues"},"homepage":"https://github.com/aknuds1/choo-routehandler#readme","dependencies":{"@arve.knudsen/js-logger":"^1.3.1","bluebird":"^3.4.6","on-load":"^3.2.0","ramda":"^0.23","underscore.string.fp":"^1.0.4"},"devDependencies":{"babel-cli":"^6.4.0","babel-core":"^6.4.0","babel-polyfill":"^6.16.0","babel-preset-latest":"^6.14.0","babel-preset-node5":"^12.0.0","browserify":"^14.0","es2020":"^1.1.9","eslint":"^3.5","gulp":"^3.9.1","gulp-babel":"^6.1.2","gulp-flatten":"^0.3.1","gulp-pug":"^3.2.0","gulp-rename":"^1.2.2","gulp-sourcemaps":"^2.2"},"gitHead":"03b4bbe437432ce1136073f33418813509791946","_id":"@arve.knudsen/choo-routehandler@0.1.3","_shasum":"62d4ff4a5699fcf131bc8ab7dce04f1df5a120ae","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.7.0","_npmUser":{"name":"arve.knudsen","email":"arve.knudsen@gmail.com"},"dist":{"shasum":"62d4ff4a5699fcf131bc8ab7dce04f1df5a120ae","tarball":"https://registry.npmjs.org/@arve.knudsen/choo-routehandler/-/choo-routehandler-0.1.3.tgz","integrity":"sha512-g0pPa+W6w9U+lx4gXtEK8NtKeOV9vzMMCaIho+1adq/qpHAFv9V4cv8psUM8MPvoqreoqVbr1tZN1IKdwvhXAg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICswHDIw3XCeBnQ4BeAPXujtoUT0bM8wxrgfVWVsmrC3AiBvjAMO+jFjRaYao+ZJrh4qRASX8IIrHb+20hqA0wwR0w=="}]},"maintainers":[{"name":"arve.knudsen","email":"arve.knudsen@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/choo-routehandler-0.1.3.tgz_1492347104853_0.02733579301275313"}},"0.1.4":{"name":"@arve.knudsen/choo-routehandler","version":"0.1.4","description":"Simple Choo routing framework, WIP!","main":"index.js","keywords":["choo","routing"],"scripts":{"test":"npm run lint","lint":"eslint ./app"},"repository":{"type":"git","url":"git+https://github.com/aknuds1/choo-routehandler.git"},"author":{"name":"Arve Knudsen"},"license":"MIT","bugs":{"url":"https://github.com/aknuds1/choo-routehandler/issues"},"homepage":"https://github.com/aknuds1/choo-routehandler#readme","dependencies":{"@arve.knudsen/js-logger":"^1.3.1","bluebird":"^3.4.6","on-load":"^3.2.0","ramda":"^0.23","underscore.string.fp":"^1.0.4"},"devDependencies":{"babel-cli":"^6.4.0","babel-core":"^6.4.0","babel-polyfill":"^6.16.0","babel-preset-latest":"^6.14.0","babel-preset-node5":"^12.0.0","browserify":"^14.0","es2020":"^1.1.9","eslint":"^3.5","gulp":"^3.9.1","gulp-babel":"^6.1.2","gulp-flatten":"^0.3.1","gulp-pug":"^3.2.0","gulp-rename":"^1.2.2","gulp-sourcemaps":"^2.2"},"gitHead":"1f0e11451d5bd08b5fa2dc917bc08d44f4a378f1","_id":"@arve.knudsen/choo-routehandler@0.1.4","_shasum":"3dd914b5693c7a4caf2e641f45d3423ab79a4dee","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.7.0","_npmUser":{"name":"arve.knudsen","email":"arve.knudsen@gmail.com"},"dist":{"shasum":"3dd914b5693c7a4caf2e641f45d3423ab79a4dee","tarball":"https://registry.npmjs.org/@arve.knudsen/choo-routehandler/-/choo-routehandler-0.1.4.tgz","integrity":"sha512-7XLyFZ7zCVSs7XhFKWWORUJ6mp8O8nyn+7y7Gab0Co2AoaTq7Hc/VxXAK8sfQBOr7gmnyuMyosmAqMFtHfHPuA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC9P++wjEICiwDFTZy8DPFZojWSRaRyKVDwLzeefLTNdQIhAJPuG7hk/4gj2eah7NsIlu9Y3isQakZSl2BbkOX324Yx"}]},"maintainers":[{"name":"arve.knudsen","email":"arve.knudsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/choo-routehandler-0.1.4.tgz_1496083791592_0.9321946988347918"}},"0.1.5":{"name":"@arve.knudsen/choo-routehandler","version":"0.1.5","description":"Simple Choo routing framework, WIP!","main":"index.js","keywords":["choo","routing"],"scripts":{"test":"npm run lint","lint":"eslint ./app"},"repository":{"type":"git","url":"git+https://github.com/aknuds1/choo-routehandler.git"},"author":{"name":"Arve Knudsen"},"license":"MIT","bugs":{"url":"https://github.com/aknuds1/choo-routehandler/issues"},"homepage":"https://github.com/aknuds1/choo-routehandler#readme","dependencies":{"@arve.knudsen/js-logger":"^1.3.1","bluebird":"^3.4.6","on-load":"^3.2.0","ramda":"^0.23","underscore.string.fp":"^1.0.4"},"devDependencies":{"babel-cli":"^6.4.0","babel-core":"^6.4.0","babel-polyfill":"^6.16.0","babel-preset-latest":"^6.14.0","babel-preset-node5":"^12.0.0","browserify":"^14.0","es2020":"^1.1.9","eslint":"^3.5","gulp":"^3.9.1","gulp-babel":"^6.1.2","gulp-flatten":"^0.3.1","gulp-pug":"^3.2.0","gulp-rename":"^1.2.2","gulp-sourcemaps":"^2.2"},"gitHead":"f330b31df6716dc86cdbc04c660e7168e0bec30a","_id":"@arve.knudsen/choo-routehandler@0.1.5","_shasum":"9a4cbb52bdd31876fa5ca659542420f08fc215f6","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.7.0","_npmUser":{"name":"arve.knudsen","email":"arve.knudsen@gmail.com"},"dist":{"shasum":"9a4cbb52bdd31876fa5ca659542420f08fc215f6","tarball":"https://registry.npmjs.org/@arve.knudsen/choo-routehandler/-/choo-routehandler-0.1.5.tgz","integrity":"sha512-vJWgWcdgEdIJ11my6fqi5SW/dHkqhg5XYyfBLbVmQswJBxHhhRIZhh2EuwwH1oEbwVASrb5kwHrULe4x4IZgeg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH9a0Poe9ApI+pFxWn83ueZAdET21ok2+JP+XMfZCsy9AiBYfK7EW2eP+7knJxSt1FuPG2vc0/Ofrj4LADg5z9kv4A=="}]},"maintainers":[{"name":"arve.knudsen","email":"arve.knudsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/choo-routehandler-0.1.5.tgz_1496084555255_0.9810899628791958"}},"0.1.6":{"name":"@arve.knudsen/choo-routehandler","version":"0.1.6","description":"Simple Choo routing framework, WIP!","main":"index.js","keywords":["choo","routing"],"scripts":{"test":"npm run lint","lint":"eslint ./app"},"repository":{"type":"git","url":"git+https://github.com/aknuds1/choo-routehandler.git"},"author":{"name":"Arve Knudsen"},"license":"MIT","bugs":{"url":"https://github.com/aknuds1/choo-routehandler/issues"},"homepage":"https://github.com/aknuds1/choo-routehandler#readme","dependencies":{"@arve.knudsen/js-logger":"^1.3.1","bluebird":"^3.4.6","on-load":"^3.2.0","ramda":"^0.23","underscore.string.fp":"^1.0.4"},"devDependencies":{"babel-cli":"^6.4.0","babel-core":"^6.4.0","babel-polyfill":"^6.16.0","babel-preset-latest":"^6.14.0","babel-preset-node5":"^12.0.0","browserify":"^14.0","es2020":"^1.1.9","eslint":"^3.5","gulp":"^3.9.1","gulp-babel":"^6.1.2","gulp-flatten":"^0.3.1","gulp-pug":"^3.2.0","gulp-rename":"^1.2.2","gulp-sourcemaps":"^2.2"},"gitHead":"f371a7b76c20bbffa431c5a542b8150df02b5562","_id":"@arve.knudsen/choo-routehandler@0.1.6","_shasum":"1a02908ac9213b5b1b8b9ec616a46ebde69d07cb","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.7.0","_npmUser":{"name":"arve.knudsen","email":"arve.knudsen@gmail.com"},"dist":{"shasum":"1a02908ac9213b5b1b8b9ec616a46ebde69d07cb","tarball":"https://registry.npmjs.org/@arve.knudsen/choo-routehandler/-/choo-routehandler-0.1.6.tgz","integrity":"sha512-1ol3DQgxoy416yBWKmjMpMh7KmWQ+Zmcwi2jARD2wT1Cs1nt7WFG5rczvMcXkc3pBGbeIXJOm2bhpmnMoVwfaQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCHwuaq922rlkGO6yfbNrtzMCfbdbcs1x9T7Yj7fNLRokCIQCPFkbvBy03XODC7pLZ9RrZUNxPE33EPjCUSutDNQ/GOw=="}]},"maintainers":[{"name":"arve.knudsen","email":"arve.knudsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/choo-routehandler-0.1.6.tgz_1496085488761_0.21923121763393283"}}},"readme":"# choo-routehandler\nThis is a small route handling framework on top of [Choo](https://github.com/yoshuawuyts/choo).\nBeware it's a work in progress and likely to change!!\n\nThe core feature of this framework is that it provides a function for wrapping your route handlers,\nmitigating the need for writing boilerplate code. It requires three arguments: `view`, `loader`\nand `layout`. You can also pass an options object as the fourth argument.\n\n<dl>\n  <dt>view</dt>\n  <dd>Either a function, for rendering the view corresponding to the route, or a module containing\n  at least a function <code>render</code> fulfilling the aforementioned responsibility, optionally\n  a function <code>loadData</code> for loading data pertaining to the route before rendering it and\n  optionally a function or attribute <code>pageTitle</code> for defining a route's page title.\n  The loadData function should return a promise resolving to an object to patch Choo state with.</dd>\n\n  <dt>loader</dt>\n  <dd>An argument free function that should return a DOM element representing a loading screen.</dd>\n\n  <dt>layout</dt>\n  <dd>A function representing the layout of the view, that should take four arguments, the rendered\n  view, <code>state</code>, <code>prev</code> and <code>send</code>, and return a DOM element.</dd>\n\n  <dt>opts</dt>\n  <dd>An object providing options to the route handler. The following options are supported:\n  <ul>\n    <li>requiresLogin: Configure whether the route requires the user to be logged in.</li>\n    <li>isUserLoggedIn: A function taking <code>state</code> as its argument, returning whether\n    the user is logged in or not.</li>\n    <li>loginUrl: The URL to redirect to if the route requires login and user hasn't yet been\n    logged in.</li>\n  </ul>\n  </dd>\n</dl>\n\n## Route Rendering\n\nThe route handler wrapper renders the view for your route inside a container element,\n`#route-container`, possessing an attribute called `data-route`, which encodes the current route\nand query string. It also registers a callback via a\n[MutationObserver](https://developer.mozilla.org/en/docs/Web/API/MutationObserver) that triggers\nwhen said attribute changes, in order to react as the rendered route changes. The reaction is\nimplemented as a Choo effect `handleRouteLoadedIntoDom`, which gets defined in the _model_ part\nof the framework.\n\nThe behaviour of the route handler is to, once it detects that the currently rendered route changes\n(including its query string), go through a standard procedure in order to render the corresponding\nview, depending on whether or not there is a data loading hook for the route:\n\n### With a Data Loading Hook\n1. Invoke the `loadData` hook and render the loading view.\n2. Once the `loadData` promise resolves, merge the resulting state subgraph into the Choo state\ngraph. Then call the `render` hook in order to render the view corresponding to the route.\n\n### Without a Data Loading Hook\nJust render the view corresponding to the route.\n\n## The Model\nThe model, defined in the model.js file of the package (import as e.g.\n`require('@arve.knudsen/choo-routehandler/model')`), defines state/effects/reducers required\nby the framework.\n\n## Example\n```\nconst routeHandler = require('@arve.knudsen/choo-routehandler')\nconst routeHandlerModel = require('@arve.knudsen/choo-routehandler/model')\nconst app = require('choo')\n\nconst loading = require('./loading')\nconst layout = require('./layout')\n\napp.model({\n  state: {...}\n})\nrouteHandlerModel(app)\n\napp.router({default: '/404',}, [\n  ['/404', routeHandler(notFoundView, loading, layout),],\n  ['/', routeHandler(mainView, loading, layout),],\n])\n```\n","maintainers":[{"name":"arve.knudsen","email":"arve.knudsen@gmail.com"}],"time":{"modified":"2022-06-12T14:49:02.462Z","created":"2017-02-22T10:25:05.370Z","0.0.1":"2017-02-22T10:25:05.370Z","0.0.2":"2017-02-22T11:27:57.928Z","0.0.3":"2017-02-22T11:48:05.571Z","0.0.4":"2017-02-22T16:02:03.609Z","0.0.5":"2017-02-27T14:10:56.747Z","0.1.0":"2017-03-16T09:30:38.196Z","0.1.1":"2017-03-16T15:03:17.122Z","0.1.2":"2017-04-16T12:39:55.641Z","0.1.3":"2017-04-16T12:51:46.933Z","0.1.4":"2017-05-29T18:49:52.568Z","0.1.5":"2017-05-29T19:02:36.242Z","0.1.6":"2017-05-29T19:18:09.624Z"},"homepage":"https://github.com/aknuds1/choo-routehandler#readme","keywords":["choo","routing"],"repository":{"type":"git","url":"git+https://github.com/aknuds1/choo-routehandler.git"},"author":{"name":"Arve Knudsen"},"bugs":{"url":"https://github.com/aknuds1/choo-routehandler/issues"},"license":"MIT","readmeFilename":"README.md"}