{"_id":"view","_rev":"32-a3d07ccce848c316102cb338bd4f06ed","name":"view","dist-tags":{"latest":"1.1.1"},"versions":{"0.1.0":{"name":"view","version":"0.1.0","author":{"name":"marak","email":"marak@nodejitsu.com"},"_id":"view@0.1.0","maintainers":[{"name":"marak","email":"marak.squires@gmail.com"}],"dist":{"shasum":"d8cbefdd3444a84ebeff0f15e8bff59e379a5c32","tarball":"https://registry.npmjs.org/view/-/view-0.1.0.tgz","integrity":"sha512-6G5/mdtB2Pdd+bbE3rM9z5ygLFAtNXvW06diJZXiBBuRZ3UsLHSIb7UfN42TtyfxecbwhD9GdW32mDio9YPlSg==","signatures":[{"sig":"MEYCIQDIAdrTomjLaz0rfqtQ77ltX0rRaEsOUwtMbj1FS/hp3wIhAIw3sd3MI+OykZE25rmWLKUJCApV6FJ/CnF9Ai5MQM4q","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/viewful","engines":{"node":"*"},"scripts":{"test":"vows --spec"},"description":"ERROR: No README.md file found!","directories":{},"dependencies":{"utile":"0.1.x","cheerio":"0.9.x"},"devDependencies":{"dot":"*","eco":"*","ejs":"*","haml":"*","jade":"*","jazz":"*","just":"*","qejs":"*","swig":"*","vows":"*","jqtpl":"*","liquor":"*","walrus":"*","broadway":"*","hogan.js":"*","mustache":"*","whiskers":"*","handlebars":"*","underscore":"*","haml-coffee":"*","dustjs-linkedin":"*"},"optionalDependencies":{}},"0.5.0":{"name":"view","version":"0.5.0","keywords":["view","resource","resources"],"author":{"name":"Marak Squires","email":"support@marak.com"},"license":"MIT","_id":"view@0.5.0","maintainers":[{"name":"marak","email":"marak.squires@gmail.com"}],"bugs":{"url":"https://github.com/bigcompany/view/issues"},"dist":{"shasum":"5652caec833bf889930d721d62d96d9acd2458bb","tarball":"https://registry.npmjs.org/view/-/view-0.5.0.tgz","integrity":"sha512-+Pm96Jog6mHYD5p0rL3aWUEB6+IyGvOGO2IoxCpRBH0yJUgbUeKHZrNNFHaS1QDiXBixJ3bqioDufqSYZhiR2A==","signatures":[{"sig":"MEYCIQDS2xcbytLf5MsB9643ytwF0HmwlZR/wKXOa5Vesh7IywIhAJs96aXJDvRxnwpn0nWZTyf03rdpR6fLSC1jPR5BeOhP","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./index.js","_from":".","scripts":{"test":"tap test/*.*"},"_npmUser":{"name":"marak","email":"marak.squires@gmail.com"},"repository":{"url":"http://github.com/bigcompany/view.git","type":"git"},"_npmVersion":"1.2.30","description":"A View engine","dependencies":{"cheerio":"0.9.x"},"devDependencies":{"tap":"0.4.x"},"directories":{}},"0.6.0":{"name":"view","version":"0.6.0","keywords":["view","resource","resources"],"author":{"name":"Marak Squires","email":"support@marak.com"},"license":"MIT","_id":"view@0.6.0","maintainers":[{"name":"marak","email":"marak.squires@gmail.com"}],"homepage":"https://github.com/bigcompany/view","bugs":{"url":"https://github.com/bigcompany/view/issues"},"dist":{"shasum":"ed4cae216501c258b00a16a35747a3ce4b492247","tarball":"https://registry.npmjs.org/view/-/view-0.6.0.tgz","integrity":"sha512-JMmga6PiVmKPQ02Tua3bDgAfEMQq9oxMAVCStDSA8K5TKBBCXYRCqZSyG4TS9831foVLlgLLOzH72NT0RPOqzw==","signatures":[{"sig":"MEUCIQDSk9euRCoGOUWSpvQKXpSjM8igiQxt/zGd72nhVJV3oQIgEKLyWtkeh+G540c0gecjlFCLQbm6zNXj6HbfyO6SzT0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./index.js","_from":".","_shasum":"ed4cae216501c258b00a16a35747a3ce4b492247","scripts":{"test":"tap test/*.*"},"_npmUser":{"name":"marak","email":"marak.squires@gmail.com"},"repository":{"url":"http://github.com/bigcompany/view.git","type":"git"},"_npmVersion":"1.4.9","description":"A View engine","dependencies":{"cheerio":"0.9.x"},"devDependencies":{"tap":"0.4.x","supertest":"*","resource-http":"0.5.x"},"directories":{}},"0.6.1":{"name":"view","version":"0.6.1","keywords":["view","resource","resources"],"author":{"name":"Marak Squires","email":"support@marak.com"},"license":"MIT","_id":"view@0.6.1","maintainers":[{"name":"marak","email":"marak.squires@gmail.com"}],"homepage":"https://github.com/bigcompany/view","bugs":{"url":"https://github.com/bigcompany/view/issues"},"dist":{"shasum":"0789e787c090262e54cf0a6c3d817512426bd17d","tarball":"https://registry.npmjs.org/view/-/view-0.6.1.tgz","integrity":"sha512-2XLLWMT3pBXxuXhwylzQZZgbdT1Yrw1ymVQL0ZvkVvpEeKThaajZum9t9sYaHVaEdPM2y1IWIxKHgzwngxf6Lw==","signatures":[{"sig":"MEUCIQDJ7mod8+iMizUE23ykm67nBjy6KFcM1ta1NtUHc1fHtAIgMOl/tWq7tNmIuBg1xaci0ctod//N3SRnix4UvcPgQL8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./index.js","_from":".","_shasum":"0789e787c090262e54cf0a6c3d817512426bd17d","gitHead":"e6898355330b72da17b0700c8fb2a16966cb59fa","scripts":{"test":"tap test/*.*"},"_npmUser":{"name":"marak","email":"marak.squires@gmail.com"},"repository":{"url":"http://github.com/bigcompany/view.git","type":"git"},"_npmVersion":"2.1.8","description":"A View engine","_nodeVersion":"0.11.13","dependencies":{"cheerio":"0.9.x"},"devDependencies":{"tap":"0.4.x","supertest":"*","resource-http":"0.5.x"},"directories":{}},"0.7.0":{"name":"view","version":"0.7.0","keywords":["view","resource","resources"],"author":{"name":"Marak Squires","email":"support@marak.com"},"license":"MIT","_id":"view@0.7.0","maintainers":[{"name":"marak","email":"marak.squires@gmail.com"}],"homepage":"https://github.com/bigcompany/view#readme","bugs":{"url":"https://github.com/bigcompany/view/issues"},"dist":{"shasum":"f34c028d74660198e9287ef925944b213316a3fc","tarball":"https://registry.npmjs.org/view/-/view-0.7.0.tgz","integrity":"sha512-M+ndp2QdssC4Rii/qiFzmCYdYbICok/vjS4B8MdeXy18xNeTetenKKEivVcMWeSAR1Vg3m7IGVXz6lRwUYG9UQ==","signatures":[{"sig":"MEUCIGEoa82HF0oo0nTE5hWppk0g3H2uYqBNnJYpr07f+YmjAiEAqF13HOTcAehohKYDdnp0FAltXgW9geMFs9w9a4WQC14=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./index.js","_from":".","_shasum":"f34c028d74660198e9287ef925944b213316a3fc","gitHead":"4f9f7011eb8fb9c5df1c4ba9fc70c43bc8904880","scripts":{"test":"tap test/*.*"},"_npmUser":{"name":"marak","email":"marak.squires@gmail.com"},"repository":{"url":"git+ssh://git@github.com/bigcompany/view.git","type":"git"},"_npmVersion":"2.12.1","description":"A View engine","_nodeVersion":"0.11.13","dependencies":{"colors":"*","marked":"^0.3.4","cheerio":"0.9.x","highlight.js":"^8.7.0"},"devDependencies":{"tap":"0.4.x","supertest":"*","resource-http":"0.5.x"},"directories":{}},"0.8.0":{"name":"view","version":"0.8.0","keywords":["view","resource","resources"],"author":{"name":"Marak Squires","email":"support@marak.com"},"license":"MIT","_id":"view@0.8.0","maintainers":[{"name":"marak","email":"marak.squires@gmail.com"}],"homepage":"https://github.com/bigcompany/view#readme","bugs":{"url":"https://github.com/bigcompany/view/issues"},"dist":{"shasum":"0d0a07a44797cd7d5dc50c4c4debc6f57c03e051","tarball":"https://registry.npmjs.org/view/-/view-0.8.0.tgz","integrity":"sha512-W/31BQs6BSyr37+n+VwjRQx14qPbBbWKup3pmpyy0IoA6xy1pzUTg7qu5AQDPRW3O2YU6wGmvAxKnst5waopTQ==","signatures":[{"sig":"MEYCIQCpK9Y4tlLv2rbK2DGd4DgpnmGGi863biW7ExMGluJLwQIhAOVwVrHrO7A1fW4hIPeGw3ArAolV+nzo60BD3w2r6p13","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./index.js","_from":".","_shasum":"0d0a07a44797cd7d5dc50c4c4debc6f57c03e051","gitHead":"b105829c0328cc1366cd8eb9fedbdc7fb1b17c23","scripts":{"test":"tap test/*.*"},"_npmUser":{"name":"marak","email":"marak.squires@gmail.com"},"repository":{"url":"git+ssh://git@github.com/bigcompany/view.git","type":"git"},"_npmVersion":"3.3.3","description":"A View engine","_nodeVersion":"0.12.7","dependencies":{"colors":"*","marked":"^0.3.4","cheerio":"0.19.x","hyperquest":"^1.2.0","highlight.js":"^8.7.0"},"devDependencies":{"tap":"0.4.x","supertest":"*","resource-http":"0.5.x"},"directories":{}},"0.8.1":{"name":"view","version":"0.8.1","keywords":["view","resource","resources"],"author":{"name":"Marak Squires","email":"support@marak.com"},"license":"MIT","_id":"view@0.8.1","maintainers":[{"name":"marak","email":"marak.squires@gmail.com"}],"homepage":"https://github.com/bigcompany/view#readme","bugs":{"url":"https://github.com/bigcompany/view/issues"},"dist":{"shasum":"fb47ccf5cb040fc133744962932a72183e536b9e","tarball":"https://registry.npmjs.org/view/-/view-0.8.1.tgz","integrity":"sha512-bxj1DFO0BiS9LvQqLZPgR1I5J3wb35lwZjxI3VLOIVvFF2nJhMgwVq0AvvpCdAMpKd20QOSkeTz52mdWrf2TlA==","signatures":[{"sig":"MEUCIQCw1t06avwdWu10T+I03QfsAmgz9aV6FRjFZbn8Jn7rIQIgTtNNdeSR93gIxDTImFk8f9aodfUxUN8yL3swSJN3LDM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./index.js","_from":".","_shasum":"fb47ccf5cb040fc133744962932a72183e536b9e","gitHead":"4ee7712383fd4f3345ef22b7bb0e3015d1a7b227","scripts":{"test":"tap test/*.*"},"_npmUser":{"name":"marak","email":"marak.squires@gmail.com"},"repository":{"url":"git+ssh://git@github.com/bigcompany/view.git","type":"git"},"_npmVersion":"3.3.3","description":"A View engine","_nodeVersion":"0.12.7","dependencies":{"colors":"*","marked":"^0.3.4","cheerio":"0.19.x","through2":"2.0.x","hyperquest":"^1.2.0","highlight.js":"^8.7.0"},"devDependencies":{"tap":"0.4.x","supertest":"*","resource-http":"0.5.x"},"directories":{}},"0.8.2":{"name":"view","version":"0.8.2","keywords":["view","resource","resources"],"author":{"name":"Marak Squires","email":"support@marak.com"},"license":"MIT","_id":"view@0.8.2","maintainers":[{"name":"marak","email":"marak.squires@gmail.com"}],"homepage":"https://github.com/bigcompany/view#readme","bugs":{"url":"https://github.com/bigcompany/view/issues"},"dist":{"shasum":"63fbfebc3006aace50d000cec010cf5fca202408","tarball":"https://registry.npmjs.org/view/-/view-0.8.2.tgz","integrity":"sha512-QDdO9QnFim3CPyHKxFcP7JZEzJZ+niAZmPAYjLt3QEemkgXvuJbsErRH4oBewC2PqL8Wd9dLwzgh6qbq9Af81w==","signatures":[{"sig":"MEUCIBWxLlv05spUbMz/NOHCz274gtnylG/c65NmDnHvdcygAiEArc/Q6Rs2BzhV05YtaMl8E5xW/8kdFDWk89z+VNEIyYM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./index.js","_from":".","_shasum":"63fbfebc3006aace50d000cec010cf5fca202408","gitHead":"564fceb4a681327a34144c02b908d33ffa2c7330","scripts":{"test":"tap test/*.*"},"_npmUser":{"name":"marak","email":"marak.squires@gmail.com"},"repository":{"url":"git+ssh://git@github.com/bigcompany/view.git","type":"git"},"_npmVersion":"3.3.3","description":"A View engine","_nodeVersion":"0.12.7","dependencies":{"colors":"*","marked":"^0.3.4","cheerio":"0.19.x","through2":"2.0.x","hyperquest":"^1.2.0","highlight.js":"^8.7.0"},"devDependencies":{"tap":"0.4.x","supertest":"*","resource-http":"0.5.x"},"directories":{}},"0.8.3":{"name":"view","version":"0.8.3","keywords":["view","resource","resources"],"author":{"name":"Marak Squires","email":"support@marak.com"},"license":"MIT","_id":"view@0.8.3","maintainers":[{"name":"marak","email":"marak.squires@gmail.com"}],"homepage":"https://github.com/bigcompany/view#readme","bugs":{"url":"https://github.com/bigcompany/view/issues"},"dist":{"shasum":"38f45975a6950b8c60bf4fb577dcd52f1441b6f4","tarball":"https://registry.npmjs.org/view/-/view-0.8.3.tgz","integrity":"sha512-fIyKHcaizmqjazCByf/uU45cXwC1SKqWY6geVRew8sGkuwU67Ds7OCHng9ycMAOdhIzsfSrhVOmUCGC+R+BsOw==","signatures":[{"sig":"MEYCIQDIhWnWgfy+KrF8+t2CXlDLdoagQH3LbECnHcIEmrQFXgIhALMK8fAaAOE9Ux47XbfiZsq1z9ycL3uyfyrv9niBV3Xe","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./index.js","_from":".","_shasum":"38f45975a6950b8c60bf4fb577dcd52f1441b6f4","gitHead":"13c26a4e24f499ef31ec95645979ddeb279f7cb6","scripts":{"test":"tap test/*.*"},"_npmUser":{"name":"marak","email":"marak.squires@gmail.com"},"repository":{"url":"git+ssh://git@github.com/bigcompany/view.git","type":"git"},"_npmVersion":"3.3.3","description":"A View engine","_nodeVersion":"0.12.7","dependencies":{"colors":"*","marked":"^0.3.4","cheerio":"0.19.x","through2":"2.0.x","hyperquest":"^1.2.0","highlight.js":"^8.7.0"},"devDependencies":{"tap":"0.4.x","supertest":"*","resource-http":"0.5.x"},"directories":{}},"0.8.4":{"name":"view","version":"0.8.4","keywords":["view","resource","resources"],"author":{"name":"Marak Squires","email":"support@marak.com"},"license":"MIT","_id":"view@0.8.4","maintainers":[{"name":"marak","email":"marak.squires@gmail.com"}],"homepage":"https://github.com/bigcompany/view#readme","bugs":{"url":"https://github.com/bigcompany/view/issues"},"dist":{"shasum":"268673a26b6eca5a5f4b77b8d86c4400a98f5dfb","tarball":"https://registry.npmjs.org/view/-/view-0.8.4.tgz","integrity":"sha512-kE4+wVQq4UqQiAUp2Qlnc2KK9Hn/eCvVq3DxOSWmYsMJzsXpvWdq4yrb08bzkL/lY39uMdHZgESJgOM3jkKITg==","signatures":[{"sig":"MEUCIQDQobk7l3ZW2JZTRLqnEJWkhKBEJBQ/E3qmg6Ma3pd0wAIgXMOAo4HzJ45vi/YIgxAihE17k0JhECPbSMZmNCPmy/g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./index.js","_from":".","_shasum":"268673a26b6eca5a5f4b77b8d86c4400a98f5dfb","gitHead":"a8d3f6565a1a1c665672b5320481f91e1854478c","scripts":{"test":"tap test/*.*"},"_npmUser":{"name":"marak","email":"marak.squires@gmail.com"},"repository":{"url":"git+ssh://git@github.com/bigcompany/view.git","type":"git"},"_npmVersion":"3.3.3","description":"A View engine","_nodeVersion":"0.12.7","dependencies":{"colors":"*","marked":"^0.3.4","cheerio":"0.19.x","through2":"2.0.x","hyperquest":"^1.2.0","highlight.js":"^8.7.0"},"devDependencies":{"tap":"0.4.x","supertest":"*","resource-http":"0.5.x"},"directories":{}},"0.9.0":{"name":"view","version":"0.9.0","keywords":["view","resource","resources"],"author":{"name":"Marak Squires","email":"support@marak.com"},"license":"MIT","_id":"view@0.9.0","maintainers":[{"name":"marak","email":"marak.squires@gmail.com"}],"homepage":"https://github.com/bigcompany/view#readme","bugs":{"url":"https://github.com/bigcompany/view/issues"},"dist":{"shasum":"3443032875e09b2bce377c6aa8363d8be77764fa","tarball":"https://registry.npmjs.org/view/-/view-0.9.0.tgz","integrity":"sha512-2AwD65X2fNRgSUnhM8ZsoxXlFh2c1u0jU1BWXOJbxRwA1Nh3/bQAtRmKgclzZJGi1Mtgk10FrLdgZvZPY6TZxA==","signatures":[{"sig":"MEYCIQDHEglcrMmGnHpXAAE1UHDofMFt+oOkrvExGRx0iiiO/wIhAMLhb8GB4TAvfoPkPFnBR7+BdT3fKxCDfhv91k0qA9BA","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./index.js","_from":".","_shasum":"3443032875e09b2bce377c6aa8363d8be77764fa","gitHead":"b818588fce7aabb02263cb7f5c27989be18397ec","scripts":{"test":"tap test/*.*"},"_npmUser":{"name":"marak","email":"marak.squires@gmail.com"},"repository":{"url":"git+ssh://git@github.com/bigcompany/view.git","type":"git"},"_npmVersion":"3.3.3","description":"A View engine","_nodeVersion":"0.12.7","dependencies":{"colors":"*","marked":"^0.3.4","cheerio":"0.19.x","through2":"2.0.x","hyperquest":"^1.2.0","highlight.js":"^8.7.0"},"devDependencies":{"tap":"0.4.x","supertest":"*","resource-http":"0.5.x"},"directories":{}},"0.9.1":{"name":"view","version":"0.9.1","keywords":["view","resource","resources"],"author":{"name":"Marak Squires","email":"support@marak.com"},"license":"MIT","_id":"view@0.9.1","maintainers":[{"name":"marak","email":"marak.squires@gmail.com"}],"homepage":"https://github.com/bigcompany/view","bugs":{"url":"https://github.com/bigcompany/view/issues"},"dist":{"shasum":"83dab723ce2b8dbeaf83502081b8889e30547240","tarball":"https://registry.npmjs.org/view/-/view-0.9.1.tgz","integrity":"sha512-EZLjAhM7XYx39BhpxyU2G7djnZAg1jZfzjj7qp993+x3yUYoGl4UU031szFK+DjiHQ6CwHqcLrtYhotIs8JcOg==","signatures":[{"sig":"MEUCIFpAnDvBCeLMY2I/V2QYA6c9dMF2HYkVtckZ4FqWKhhxAiEAw+PaiXa71PPevJZaByIrOwfRsg0eNFgT16QNQ6ZQBmc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./index.js","_from":".","_shasum":"83dab723ce2b8dbeaf83502081b8889e30547240","gitHead":"023dca308b3e142925e52be141ee6711037db07a","scripts":{"test":"tap test/*.*"},"_npmUser":{"name":"marak","email":"marak.squires@gmail.com"},"repository":{"url":"http://github.com/bigcompany/view.git","type":"git"},"_npmVersion":"1.4.28","description":"A View engine","dependencies":{"colors":"*","marked":"^0.3.4","cheerio":"0.19.x","through2":"2.0.x","hyperquest":"^1.2.0","highlight.js":"^8.7.0"},"devDependencies":{"tap":"0.4.x","supertest":"*","resource-http":"0.5.x"},"_npmOperationalInternal":{"tmp":"tmp/view-0.9.1.tgz_1456947607264_0.9125255513936281","host":"packages-13-west.internal.npmjs.com"},"directories":{}},"1.0.0":{"name":"view","version":"1.0.0","keywords":["view","resource","resources"],"author":{"name":"Marak Squires","email":"support@marak.com"},"license":"MIT","_id":"view@1.0.0","maintainers":[{"name":"marak","email":"marak.squires@gmail.com"}],"homepage":"https://github.com/bigcompany/view#readme","bugs":{"url":"https://github.com/bigcompany/view/issues"},"dist":{"shasum":"9ec139aafb202099dbd549838b5631466617154d","tarball":"https://registry.npmjs.org/view/-/view-1.0.0.tgz","integrity":"sha512-l4ZVn8ZLPKwMIQqYclY365PBZEV+X1B23+fCodbjTzh4ifCrD+9DyoptwDUHVBWoZ2KkFxfCxVeQ8NkDAtXu7w==","signatures":[{"sig":"MEYCIQDm41K64tLpkkDGVFlnBhrjpllYkZZjOfLiDfo7Yw1JGwIhALgJsuFEtmjaD+nEwcv1i2cfOyN0LIujnjNByg5F4BLs","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./index.js","_from":".","_shasum":"9ec139aafb202099dbd549838b5631466617154d","gitHead":"24b3c8713ab3bf3fa22c6cb0cacbc0ae17ec7a5a","scripts":{"test":"tap test/*.*"},"_npmUser":{"name":"marak","email":"marak.squires@gmail.com"},"repository":{"url":"git+ssh://git@github.com/bigcompany/view.git","type":"git"},"_npmVersion":"2.11.3","description":"A View engine","_nodeVersion":"0.12.7","dependencies":{"colors":"*","marked":"^0.3.4","cheerio":"0.19.x","through2":"2.0.x","hyperquest":"^1.2.0","highlight.js":"^8.7.0"},"devDependencies":{"tap":"0.4.x","supertest":"*","resource-http":"0.5.x"},"_npmOperationalInternal":{"tmp":"tmp/view-1.0.0.tgz_1462621860757_0.4576048490125686","host":"packages-12-west.internal.npmjs.com"},"directories":{}},"1.1.0":{"name":"view","version":"1.1.0","keywords":["view","resource","resources"],"author":{"name":"Marak Squires","email":"support@marak.com"},"license":"MIT","_id":"view@1.1.0","maintainers":[{"name":"marak","email":"marak.squires@gmail.com"}],"homepage":"https://github.com/bigcompany/view#readme","bugs":{"url":"https://github.com/bigcompany/view/issues"},"dist":{"shasum":"36575ccb45ef7d8d66592e9615dbfb87af070018","tarball":"https://registry.npmjs.org/view/-/view-1.1.0.tgz","integrity":"sha512-fFcdRg4fThEylyrS8niDdrRIo+xQx5xhD/x5ghNmsLSLiqmMMUaqUbAQ/ersfMTWvztiIvJlExbX0dYpPrs91g==","signatures":[{"sig":"MEYCIQC2WYKgTcADEjEnb2ST/YlLLz/1YV5NDN5HJj02U3HwtgIhAICRvtVeNqX78kSE6b5j5RIS9y3Uy2vkQc9iJQNVzEMu","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./index.js","_from":".","_shasum":"36575ccb45ef7d8d66592e9615dbfb87af070018","gitHead":"eb517512b2295498bd37537259c935efaf1d73cd","scripts":{"test":"tap test/*.*"},"_npmUser":{"name":"marak","email":"marak.squires@gmail.com"},"repository":{"url":"git+ssh://git@github.com/bigcompany/view.git","type":"git"},"_npmVersion":"3.10.8","description":"A View engine","_nodeVersion":"6.9.0","dependencies":{"colors":"*","marked":"^0.3.4","cheerio":"0.19.x","through2":"2.0.x","hyperquest":"^1.2.0","highlight.js":"^8.7.0"},"devDependencies":{"tap":"0.4.x","supertest":"*","resource-http":"1.x.x"},"_npmOperationalInternal":{"tmp":"tmp/view-1.1.0.tgz_1482355397249_0.9222172119189054","host":"packages-12-west.internal.npmjs.com"},"directories":{}},"1.1.1":{"name":"view","version":"1.1.1","keywords":["view","resource","resources"],"author":{"name":"Marak Squires","email":"support@marak.com"},"license":"MIT","_id":"view@1.1.1","maintainers":[{"name":"marak","email":"marak.squires@gmail.com"}],"homepage":"https://github.com/bigcompany/view#readme","bugs":{"url":"https://github.com/bigcompany/view/issues"},"dist":{"shasum":"091f50ddc86c4113d003a61876fd5a8c926a1b86","tarball":"https://registry.npmjs.org/view/-/view-1.1.1.tgz","integrity":"sha512-0YVWKnA5ivXxJnPUA21w67pBL45Lyj0H2rt7letkxnfFuf41OKyg5UViuXiZwfUmIFSkOEvi0p7XaOyaFcrBKw==","signatures":[{"sig":"MEUCIEhwxG9/CTfn0DzfQnysqxn2JOyjhQvAUHslfzNyy/gEAiEA/eOd8dde45KUq56qHRDLCX+RrtwMDWLAG/fylGKqAh0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./index.js","_from":".","_shasum":"091f50ddc86c4113d003a61876fd5a8c926a1b86","gitHead":"cb8c3ac783a585ffb13bc73468bc23398e203549","scripts":{"test":"tap test/*.*"},"_npmUser":{"name":"marak","email":"marak.squires@gmail.com"},"repository":{"url":"git+ssh://git@github.com/bigcompany/view.git","type":"git"},"_npmVersion":"3.10.8","description":"A View engine","_nodeVersion":"6.9.0","dependencies":{"colors":"*","marked":"^0.3.4","cheerio":"0.19.x","through2":"2.0.x","hyperquest":"^1.2.0","highlight.js":"^8.7.0"},"devDependencies":{"tap":"0.4.x","supertest":"*","resource-http":"1.x.x"},"_npmOperationalInternal":{"tmp":"tmp/view-1.1.1.tgz_1482355643190_0.03594523714855313","host":"packages-18-east.internal.npmjs.com"},"directories":{}}},"time":{"created":"2012-09-14T18:17:39.789Z","modified":"2025-01-11T08:29:36.160Z","0.1.0":"2012-09-14T18:17:41.097Z","0.5.0":"2013-12-05T18:44:30.966Z","0.6.0":"2014-11-12T12:53:56.254Z","0.6.1":"2015-05-18T12:41:49.589Z","0.7.0":"2015-08-02T10:10:48.653Z","0.8.0":"2015-09-22T07:43:02.357Z","0.8.1":"2015-09-22T08:49:57.921Z","0.8.2":"2015-09-28T00:44:59.589Z","0.8.3":"2015-10-03T08:54:48.841Z","0.8.4":"2015-12-01T20:30:39.424Z","0.9.0":"2015-12-21T15:48:45.960Z","0.9.1":"2016-03-02T19:40:09.922Z","1.0.0":"2016-05-07T11:51:03.075Z","1.1.0":"2016-12-21T21:23:19.241Z","1.1.1":"2016-12-21T21:27:23.850Z"},"bugs":{"url":"https://github.com/bigcompany/view/issues"},"author":{"name":"Marak Squires","email":"support@marak.com"},"license":"MIT","homepage":"https://github.com/bigcompany/view#readme","keywords":["view","resource","resources"],"repository":{"url":"git+ssh://git@github.com/bigcompany/view.git","type":"git"},"description":"A View engine","maintainers":[{"name":"marak","email":"marak.squires@gmail.com"}],"readme":"# view\n\nA View-Presenter pattern for JavaScript.\n\n## Installation\n\n    npm install view\n\n## What is this project?\n\nThe `view` module provides a simple [View-Presenter](https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93presenter) pattern for creating views using a template and a single transformational JavaScript method.\n\nThe template is the \"View\", the single JavaScript method is the \"Presenter\".\n\nThis simple pattern allows for a very clean View which can easily be extended with any advanced features you might want.\n\nIt ships with templating support for HTML or Markdown, but can easily be extended with the templating engine of your choice. \n\nThe project is well tested with easy to read test cases. It's been in development for several years and is used in many production applications such as [hook.io](https://hook.io)\n\n\n## Features\n\n### Hierarchy Views mapped directly to the file-system\n\nThe structure of the folder which contains the view maps directly to the constructed View object.\n\nFor example:\n\n```\n/view\n  index.html\n  /about\n   index.html\n   team.html\n  contact.html\n```\n\nWill map to:\n\n```js\n// renders View-Presenter\nmyView.index.present(opts, cb); \nmyView.about.index.present(opts, cb);\nmyView.about.team.present(opts, cb);\nmyView.contact.present(opts, cb);\n\n// also can introspect templates as strings\nmyView.index.template;\nmyView.about.index.template;\nmyView.about.team.template;\n```\n\n### Isomorphic $ based Presenter Pattern\n\nA Presenter is a single optional JavaScript method which can be associated with a View template.\n\nPresenters are paired with a View by existing in the same directory and sharing the same name as the View template.\n\nWhen `View.present()` is called, this Presenter method will execute on the context of the View template.\n\nFor example:\n\n```\n/view\n  index.html\n  index.js\n  about/\n   index.html\n   team.html\n   team.js\n  contact.html\n```\n\n```js\nmodule['exports'] = function examplePresenter(opts, callback) {\n  // this.$ is a jQuery like selector with it's HTML context set to the current `View.template`\n  var $ = this.$;\n\n  // you can perform normal jQuery like modifications here\n  $('h1').html('Hello');\n  \n  // once you are done transforming the template, continue with the newly modified html\n  // notice this uses a callback? this means you can retrieve data from any remote source!\n  // simply require the module you need in this Presenter and call out.\n\n  callback(null, $.html());\n\n}\n```\n\nOur unit tests will give a much better idea on how this works in practice.\n\n### Layouts / Nested Layouts\n\nA simple layout pattern is available for Views.\n\nIf a View has a `layout.html` or `layout.js` file present, that layout file will yield the results of the View-Presenter into the layout.\n\nIf no layout is found at the current level of the View-Presenter tree, the View will recurse upwards until a layout or the root is found.\n\nFor example: \n\n```\n/view\n  index.html\n  layout.html\n  layout.js\n  /about\n   index.html\n   team.html\n   team.js\n  contact.html\n```\n\nlayout.html\n\n```html\n<h1>Hello</h1>\n<div class=\"yield\">\n</div>\n```\n\n```js\n// Will yield the contents of the \"index\" View inside the \".yield\" element\nmyView.index.present(opts, cb); \n\n// In the case of a nested view, the layout will still be applied\nmyView.about.team.present(opts, cb);\nmyView.about.index.present(opts, cb);\nmyView.contact.present(opts, cb);\n```\n\nOur unit tests will also give a better idea on how nested layouts will be applied.\n\n## Built-in Node.js HTTP middleware\n\nThe `view` module ships with a built-in Node.js middleware. This middleware will map the View to incoming urls of your web application.\n\nFor example:\n\n```\n/view\n  index.html\n  about/\n   index.html\n   team.html\n  contact.html\n  hello.markdown\n```\n\n```js\n // for simplicity, assume server is an Express.js application\n server.use(view.middle({view: myView }));\n```\n\nWill now map to the following urls on your server: \n\n```\nhttp://localhost/index\nhttp://localhost/about\nhttp://localhost/about/team\nhttp://localhost/contact\nhttp://localhost/hello\n```\n\n\n## Tests\n\n    tap test/*.*\n","readmeFilename":"README.md","users":{"pgilad":true,"jounikka":true}}