{"_id":"inca","_rev":"31-0e9d5f99535161686177368fb59f3508","name":"inca","description":"easy mix of mustaches and jsons","dist-tags":{"latest":"0.2.0"},"versions":{"0.0.1":{"name":"inca","description":"easy mix of mustaches and jsons","version":"0.0.1","authors":["Rob Stenson <@blickwickle>"],"keywords":["design","mustache"],"main":"./inca.js","homepage":"https://github.com/stenson/inca","engines":{"node":">= 0.4.1"},"dependencies":{"express":">= 0.3.0","colors":">= 0.3.0","stache":">= 0.0.2"},"bin":{"inca":"./bin/inca"},"_npmJsonOpts":{"file":"/Users/rstenson/.npm/inca/0.0.1/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"inca@0.0.1","devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.17","_nodeVersion":"v0.5.0-pre","_defaultsLoaded":true,"dist":{"shasum":"1e622fd60d262c103c15bcad8d54bc1b3d6f2760","tarball":"https://registry.npmjs.org/inca/-/inca-0.0.1.tgz","integrity":"sha512-kic/q/A/gkiBbNDvjUhGedrVSASbKYJFWbPCSQJSlP00IT8BOT6EseBMIw1MrqIZTsVlg6T3uIFy7Xqg3BmEoQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDm10ybazF2RMfmgAr4eG7ZumD9d3m7iNeD/E0vZTZEfQIhAJXGZmSgRmmUqZuJvwhYywndVl6KEd/NZ87ocZK2BNSn"}]},"scripts":{},"maintainers":[{"name":"rstenson","email":"rob.stenson@gmail.com"}]},"0.0.2":{"name":"inca","description":"easy mix of mustaches and jsons","version":"0.0.2","authors":["Rob Stenson <@blickwickle>"],"keywords":["design","mustache"],"main":"./inca.js","homepage":"https://github.com/stenson/inca","engines":{"node":">= 0.4.1"},"dependencies":{"express":">= 0.3.0","colors":">= 0.3.0","mustache":">= 0.2.3"},"bin":{"inca":"./bin/inca"},"_npmJsonOpts":{"file":"/Users/rstenson/.npm/inca/0.0.2/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"inca@0.0.2","devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.17","_nodeVersion":"v0.5.0-pre","_defaultsLoaded":true,"dist":{"shasum":"f3471679679a205e7b71476b886ea5fb433c6ba4","tarball":"https://registry.npmjs.org/inca/-/inca-0.0.2.tgz","integrity":"sha512-W5x+JgHZRHp2koMZbbqUJRLL5NgnDZofT8Iv4afGfGJhkUBBYFty9ZFUed0t2I+7ssdVjauxnbEwChoh6OncNw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID6St3782l79+H+cSTy39FbDenYwrJOy3OLQyMGD5vZ9AiEAnXlHzg8YFtYxvXvj65GSti+RLnCCqRN7edBEifaiu+w="}]},"scripts":{},"maintainers":[{"name":"rstenson","email":"rob.stenson@gmail.com"}]},"0.0.3":{"name":"inca","description":"easy mix of mustaches and jsons","version":"0.0.3","authors":["Rob Stenson <@blickwickle>"],"keywords":["design","mustache"],"main":"./inca.js","homepage":"https://github.com/stenson/inca","engines":{"node":">= 0.4.1"},"dependencies":{"express":">= 0.3.0","colors":">= 0.3.0","mustache":">= 0.2.3"},"bin":{"inca":"./bin/inca"},"_npmJsonOpts":{"file":"/Users/rstenson/.npm/inca/0.0.3/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"inca@0.0.3","devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.17","_nodeVersion":"v0.5.0-pre","_defaultsLoaded":true,"dist":{"shasum":"08827062e9f293cbce91e9a1b3ae3d7b326fcd9f","tarball":"https://registry.npmjs.org/inca/-/inca-0.0.3.tgz","integrity":"sha512-3jwRZN4jtjT0X+Ku1R17h/66NwwgbMt/7AfnML4lElCaMu302ltCRAXq8zON5ESFUHWop9nfZJJ9TVJYyfhveQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGruQuvbsu1cxzzhcBig/TO3/vscmnfD6dq1tpSw4MS4AiEAgPAJhTdda8VJh6V9uo7wg02dmuFdku4bpG634A0Y3Bw="}]},"scripts":{},"maintainers":[{"name":"rstenson","email":"rob.stenson@gmail.com"}]},"0.1.0":{"name":"inca","description":"easy mix of mustaches and jsons","version":"0.1.0","authors":["Rob Stenson <@blickwickle>"],"keywords":["design","mustache"],"main":"./inca.js","homepage":"https://github.com/stenson/inca","engines":{"node":">= 0.4.1"},"dependencies":{"express":">= 0.3.0","colors":">= 0.3.0","mustache":">= 0.2.3"},"bin":{"inca":"./bin/inca"},"_npmJsonOpts":{"file":"/Users/rstenson/.npm/inca/0.1.0/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"inca@0.1.0","devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.17","_nodeVersion":"v0.5.0-pre","_defaultsLoaded":true,"dist":{"shasum":"240e5293971dae82e5bc23f2cb386e5bd1050533","tarball":"https://registry.npmjs.org/inca/-/inca-0.1.0.tgz","integrity":"sha512-9XaGCI3HJVwkt6GvOuX7/Qe6It3rbUEEtPXct7FNHgSJc/QoRO3xyjJbyPtKpez/f9W3hGEIwY/1GRS2Z4zzXQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBi43UDt2ECpW3x7AaBbVI/Q6iHpeAZJVQAwboT20Or/AiEA073v+pfefUv+6cblsW40ak9iRTztBwLEwpakCGvnHx0="}]},"scripts":{},"maintainers":[{"name":"rstenson","email":"rob.stenson@gmail.com"}]},"0.1.1":{"name":"inca","description":"easy mix of mustaches and jsons","version":"0.1.1","authors":["Rob Stenson <@blickwickle>"],"keywords":["design","mustache"],"main":"./inca.js","homepage":"https://github.com/stenson/inca","engines":{"node":">= 0.4.1"},"dependencies":{"express":">= 0.3.0","colors":">= 0.3.0","mustache":">= 0.2.3"},"bin":{"inca":"./bin/inca"},"_npmJsonOpts":{"file":"/Users/rstenson/.npm/inca/0.1.1/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"inca@0.1.1","devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.17","_nodeVersion":"v0.5.0-pre","_defaultsLoaded":true,"dist":{"shasum":"5b3dbd0db38934f7807344fadce54a7602ab8e8e","tarball":"https://registry.npmjs.org/inca/-/inca-0.1.1.tgz","integrity":"sha512-DUep5UcOmdc29463MV/JT4fLgjf/27XhQT7LoExrU3KCsdg/5x85v23E4s2ipOMIEObK01JUmNjOv9hbDpjJlw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAMYa9hMjYGoxl+YxGR6yrcr2KPJ/7Oss84971vig0Q2AiAKupZTkv+/BlEAUFVZpdDrL8itjsmi754j3iZRYRcSFw=="}]},"scripts":{},"maintainers":[{"name":"rstenson","email":"rob.stenson@gmail.com"}]},"0.1.2":{"name":"inca","description":"easy mix of mustaches and jsons","version":"0.1.2","authors":["Rob Stenson <@blickwickle>"],"keywords":["design","mustache"],"main":"./inca.js","homepage":"https://github.com/stenson/inca","engines":{"node":">= 0.4.1"},"dependencies":{"express":">= 0.3.0","colors":">= 0.3.0","mustache":">= 0.2.3","twitter-text":"= 1.4.3"},"bin":{"inca":"./bin/inca"},"_npmJsonOpts":{"file":"/Users/rstenson/.npm/inca/0.1.2/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"inca@0.1.2","devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.17","_nodeVersion":"v0.5.0-pre","_defaultsLoaded":true,"dist":{"shasum":"f45e5d7b6adc6e6dcc9cbd188572e723e8c3ba63","tarball":"https://registry.npmjs.org/inca/-/inca-0.1.2.tgz","integrity":"sha512-76EO8NnJHPef8jRyp2qnp4JMGt3DD/qO99bVe1vDZTSiFiR1YlMjVIlVeR2wTsj4IO1ObiQ8hEp43h4E0DrWcQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDNOqOM+pKO4jDOBO6Try6CItAkbW9+ujpLM1HIZWvkXAIgRI4zQG4J4bnI7rxBdszyQVLf7KhsHpDd6noPUbRW3vU="}]},"scripts":{},"maintainers":[{"name":"rstenson","email":"rob.stenson@gmail.com"}]},"0.1.3":{"name":"inca","description":"easy mix of mustaches and jsons","version":"0.1.3","authors":["Rob Stenson <@blickwickle>"],"keywords":["design","mustache"],"main":"./inca.js","homepage":"https://github.com/stenson/inca","engines":{"node":">= 0.4.1"},"dependencies":{"express":">= 0.3.0","colors":">= 0.3.0","mustache":">= 0.2.3","twitter-text":"= 1.4.3"},"bin":{"inca":"./bin/inca"},"_npmJsonOpts":{"file":"/Users/rstenson/.npm/inca/0.1.3/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"inca@0.1.3","devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.17","_nodeVersion":"v0.5.0-pre","_defaultsLoaded":true,"dist":{"shasum":"5bf16f3a5356a7e000995479c9a2ce469f29ce1a","tarball":"https://registry.npmjs.org/inca/-/inca-0.1.3.tgz","integrity":"sha512-5CTvZKVAAcneT85Ue0Lr8+03SolqWbbk89TNDo1/o+adgaE5/yGmrhcrwn/q1LzEmqOrUvMRMPF4yvt+/FeSVg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHqDRHDSrYhpVmDP+d2chgaEcQxWbJxIuQXLe2M63KPhAiBqncPkqIYUJZzpA/AhonJauT4sdTYZY0jZr3dzs0r+NQ=="}]},"scripts":{},"maintainers":[{"name":"rstenson","email":"rob.stenson@gmail.com"}]},"0.1.4":{"name":"inca","description":"easy mix of mustaches and jsons","version":"0.1.4","authors":["Rob Stenson <@blickwickle>"],"keywords":["design","mustache"],"main":"./inca.js","homepage":"https://github.com/stenson/inca","engines":{"node":">= 0.4.1"},"dependencies":{"express":">= 0.3.0","colors":">= 0.3.0","mustache":">= 0.2.3","twitter-text":"= 1.4.3"},"bin":{"inca":"./bin/inca"},"_npmJsonOpts":{"file":"/Users/rstenson/.npm/inca/0.1.4/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"inca@0.1.4","devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.17","_nodeVersion":"v0.5.0-pre","_defaultsLoaded":true,"dist":{"shasum":"f1ab89a1cf13332e811e7194d79c0bebd2e29e6d","tarball":"https://registry.npmjs.org/inca/-/inca-0.1.4.tgz","integrity":"sha512-pAsYWlBIcuZzQN9inzmjCiNZVoj16mu2MS7w5F2nK2EkBJTV7LfnUVB34YveFjlUPjleRCU289Uh9hG5H9/3zA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC+RcMD1e/SAEUCXn+8/OnqJmR89kVPANh2ifJOY1a14AiEAjbLtnMPdiy9woAUaj/rGnACAR9VhIdfgZOmNVJYsZ3A="}]},"scripts":{},"maintainers":[{"name":"rstenson","email":"rob.stenson@gmail.com"}]},"0.1.5":{"name":"inca","description":"easy mix of mustaches and jsons","version":"0.1.5","authors":["Rob Stenson <@blickwickle>"],"keywords":["design","mustache"],"main":"./inca.js","homepage":"https://github.com/stenson/inca","engines":{"node":">= 0.4.1"},"dependencies":{"express":">= 0.3.0","colors":">= 0.3.0","mustache":">= 0.2.3","twitter-text":"= 1.4.3"},"bin":{"inca":"./bin/inca"},"_npmJsonOpts":{"file":"/Users/rstenson/.npm/inca/0.1.5/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"inca@0.1.5","devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.17","_nodeVersion":"v0.5.0-pre","_defaultsLoaded":true,"dist":{"shasum":"9ab3cd5f88d860869d0834b6181ee37ffbd1768a","tarball":"https://registry.npmjs.org/inca/-/inca-0.1.5.tgz","integrity":"sha512-FTNnaWyd1FMikkC/J//5txgyFxpFFY0nhdNHYGTWTH5KmrNfbFBg4m385birZ2NBZQY02TMU/LdX93HNAQWDdA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD6Mn2Mt9ND2axynRY04b7+aTfBlvfQxglzIxr6lOAu/QIhANjsewF1HMIxyCMNC56vd54Mz3M1CHAaEXitsM210pGt"}]},"scripts":{},"maintainers":[{"name":"rstenson","email":"rob.stenson@gmail.com"}]},"0.1.6":{"name":"inca","description":"easy mix of mustaches and jsons","version":"0.1.6","authors":["Rob Stenson <@blickwickle>"],"keywords":["design","mustache"],"main":"./inca.js","homepage":"https://github.com/stenson/inca","engines":{"node":">= 0.4.1"},"dependencies":{"express":">= 0.3.0","colors":">= 0.3.0","mustache":">= 0.2.3","twitter-text":"= 1.4.3"},"bin":{"inca":"./bin/inca"},"_npmUser":{"name":"rstenson","email":"rob.stenson@gmail.com"},"_id":"inca@0.1.6","devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.103","_nodeVersion":"v0.5.0-pre","_defaultsLoaded":true,"dist":{"shasum":"a3c7c7328edc07dd7312114de29538280298f294","tarball":"https://registry.npmjs.org/inca/-/inca-0.1.6.tgz","integrity":"sha512-56KdK8l/VlHNTC2RyTrtwIr8rAXsA/YTZOt4PYnsbXq92cOIV8zHTP9/DjWjHwnban0N69oq/K/kGI5eBl6Hhw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCpqXg22dnf9ZvWW3Df3zP2EGVCKyN/uMcLFv4ib63gkQIhANdwXsYrKjrKhRUupHyI/Bn0U//+6nwXa30HSGt6cN2Q"}]},"maintainers":[{"name":"rstenson","email":"rob.stenson@gmail.com"}]},"0.1.7":{"name":"inca","description":"easy mix of mustaches and jsons","version":"0.1.7","authors":["Rob Stenson <@blickwickle>"],"keywords":["design","mustache"],"main":"./inca.js","homepage":"https://github.com/stenson/inca","engines":{"node":">= 0.4.1"},"dependencies":{"express":">= 0.3.0","colors":">= 0.3.0","mustache":">= 0.2.3","twitter-text":"= 1.4.3"},"bin":{"inca":"./bin/inca"},"_npmUser":{"name":"rstenson","email":"rob.stenson@gmail.com"},"_id":"inca@0.1.7","devDependencies":{},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.1","_nodeVersion":"v0.6.11","_defaultsLoaded":true,"dist":{"shasum":"63086af27e0f25d5882e30485fecb0462af6b109","tarball":"https://registry.npmjs.org/inca/-/inca-0.1.7.tgz","integrity":"sha512-4oCRNyRpHoMHV9JG6dcTuSKrH0/hUMsQjEt4QOo4qwxrSl5PON/CJMLe/m9G03JbJs8iHGJMttcRRqqSb49gMw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE0BPZo5aAZzE4z42GN99JXCiesR1jWTye2LFKCWRBdMAiEAtchJV2vVJesh4X0r71ubYfZYaPzSU3uCzt0qHvXfjlY="}]},"readme":"INCA\n=================\nInca is a simple tool for prototyping web apps & sites with Mustache.\n\n<img src=\"https://github.com/stenson/inca/raw/master/lib/inca-tern.jpeg\"/>\n\nBriefly\n-------\nInca is for prototyping websites, but it's more than just CSS & HTML. Not much more, just slightly more. What does that mean? Instead of writing HTML, Inca lets you write .mustache files full of variables. So, instead of writing your prototype data directly into your html, like `<li>Name of Test Dude 1</li><li>Name of Test Dude 2</li>`, Inca lets you write something like `{{#test_data}}<li>{{name_of_test_dude_1}}</li><li>{{name_of_test_dude_2}}</li>{{/test_data}}`\n\nOk. That example was lame, admittedly. In fact, it makes Inca look pretty dumb, since you have to throw in all that extra surrounding stuff. Whatever. It's not about brevity, it's about POWER.\n\nLet's say you want to prototype a website that is a database of American old-time folk musicians, meaning you need to render a bunch of `li`'s, and each one has a ton of markup in it. The markup is repeated over and over again, just the variables are changing inside each of the `li`'s.\n\nIt would look like this in HTML.\n\n```\n<ul>\n  <li>\n    <span>Linzay Young</span>\n    <small>Fiddler</small>\n    <strong>Louisiana</strong>\n  </li>\n  <li>\n    <span>Chris Coole</span>\n    <small>Banjoist</small>\n    <strong>Oregon</strong>\n  </li>\n  <li>\n    <span>Tommy Jarrell</span>\n    <small>Fiddler</small>\n    <strong>North Carolina</strong>\n  </li>\n</ul>\n```\n\nAnd like this in Inca, so you'd split it up between two files. In the first file:\n\n```\n<ul>\n  {{>musician:linzay_young}}\n  {{>musician:chris_coole}}\n  {{>musician:tommy_jarrell}}\n</ul>\n```\n\nYou'll also need a partial, musician.mustache, that looks like this.\n\n```\n<li>\n  <strong>{{name}}</strong>\n  <small>{{talent}}</small>\n  <span>{{location}}</span>\n</li>\n```\n\nAlso, you'll need some json files, like `linzay_young.json` & `chris_coole.json` & `tommy_jarrell.json`. For instance, here's `linzay_young.json`\n\n```\n  {\n    \"name\": \"Linzay Young\",\n    \"talent\": \"fiddler\",\n    \"location\": \"Louisiana\"\n  }\n```\n\nHuh, this is making Inca seem like *more* work than just prototyping in HTML. But you get the point.\n\nUsage\n-----\nTo use Inca, you must have Node and npm (the node package manager) installed. In Terminal, download and install inca with the command:\n\n```\nsudo npm install inca -g\n```\n\nThis will add the command `inca` to your terminal.\nStarting the server is now pretty easy.\nJust make a directory (e.g. \"righteous-site\") and do this:\n\n```\ncd righteous-site\ninca init\n```\n\nFresh.\n\nThe command `inca init` puts three directories into the directory you just created.\n\n- `/json` -> all of your json files\n- `/mustaches` -> all of your mustache templates\n- `/public` -> everything else: js files, css files, images, etc.\n\nTo start the server, you just type `inca`.\nHowever, when you go to `http://localhost:8083`, there won't be much to see, since our `/json` directory and our `/mustache` directory are empty.\nFor now you can skip putting anything in `/json`. Just create two files in the `/mustaches` directory: `layout.mustache` and `index.mustache`.\n\n`layout.mustache` only needs to have one thing in it: `{{{yield}}}`. That's because `layout.mustache` will be rendered as the container for all other mustaches you write.\n`index.mustache` — the default mustache, which will be rendered when you hit `http://localhost:8083` — can have anything in it, like `<h1>Whatup world!</h1>`.\n\nNow you're ready to run the server, so just type `inca`, then visit `http://locahost:8083` in your favorite browser.\n\nIf you clone or download this repo, you'll see exactly what we're talking about. In fact, to see an example inca site, you can just go ahead and download this repo. Then, once you've `cd`'d into the inca project, type `cd example-site` and then `inca`.\n\nThat will start the server, and when you hit `http://locahost:8083` in your favorite browser, inca will display your `index.mustache` file, by default. **Boom!**\n\nExtensions to Mustache Syntax\n-----------------------------\n*will soon have words*\n\n\nVersioning\n----------\n\nFor transparency and insight into our release cycle, and for striving to maintain backwards compatibility, Inca will be maintained under the Semantic Versioning guidelines as much as possible.\n\nReleases will be numbered with the follow format:\n\n`<major>.<minor>.<patch>`\n\nAnd constructed with the following guidelines:\n\n* Breaking backwards compatibility bumps the major\n* New additions without breaking backwards compatibility bumps the minor\n* Bug fixes and misc changes bump the patch\n\nFor more information on SemVer, please visit http://semver.org/.\n\n\nBug tracker\n-----------\n\nHave a bug? Please create an issue here on GitHub!\n\n\nAuthors\n-------\n\n**Rob Stenson**\n\n+ http://twitter.com/blickwickle\n+ http://github.com/stenson\n\n\nCopyright and license\n---------------------\n\nCopyright 2011 Rob Stenson.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this work except in compliance with the License.\nYou may obtain a copy of the License in the LICENSE file, or at:\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n","maintainers":[{"name":"rstenson","email":"rob.stenson@gmail.com"}]},"0.1.8":{"name":"inca","description":"easy mix of mustaches and jsons","version":"0.1.8","authors":["Rob Stenson <@blickwickle>"],"keywords":["design","mustache"],"main":"./inca.js","homepage":"https://github.com/stenson/inca","engines":{"node":">= 0.4.1"},"dependencies":{"express":">= 0.3.0","colors":">= 0.3.0","mustache":">= 0.2.3","twitter-text":"= 1.4.3"},"bin":{"inca":"./bin/inca"},"_npmUser":{"name":"rstenson","email":"rob.stenson@gmail.com"},"_id":"inca@0.1.8","devDependencies":{},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.1","_nodeVersion":"v0.6.11","_defaultsLoaded":true,"dist":{"shasum":"f588e90a040e92da5096c09bd64ffc336e24a944","tarball":"https://registry.npmjs.org/inca/-/inca-0.1.8.tgz","integrity":"sha512-Qzs5pW1eUT2nmEnMf2Kv+MG530zWgIhst+yMRsRjyoZiB7T/wZhQZagCtBhE5INxcAt6pZ/f38de4rwqicgueA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG45Lzumx1RqxHyjiXK/TiokHCSSosFORAHeG71oHr6FAiAnCuQu6pT0G0sQ+FV1UQgMKMU2LEYgvnZjPRx1BCvHIw=="}]},"readme":"INCA\n=================\nInca is a simple tool for prototyping web apps & sites with Mustache.\n\n<img src=\"https://github.com/stenson/inca/raw/master/lib/inca-tern.jpeg\"/>\n\nBriefly\n-------\nInca is for prototyping websites, but it's more than just CSS & HTML. Not much more, just slightly more. What does that mean? Instead of writing HTML, Inca lets you write .mustache files full of variables. So, instead of writing your prototype data directly into your html, like `<li>Name of Test Dude 1</li><li>Name of Test Dude 2</li>`, Inca lets you write something like `{{#test_data}}<li>{{name_of_test_dude_1}}</li><li>{{name_of_test_dude_2}}</li>{{/test_data}}`\n\nOk. That example was lame, admittedly. In fact, it makes Inca look pretty dumb, since you have to throw in all that extra surrounding stuff. Whatever. It's not about brevity, it's about POWER.\n\nLet's say you want to prototype a website that is a database of American old-time folk musicians, meaning you need to render a bunch of `li`'s, and each one has a ton of markup in it. The markup is repeated over and over again, just the variables are changing inside each of the `li`'s.\n\nIt would look like this in HTML.\n\n```\n<ul>\n  <li>\n    <span>Linzay Young</span>\n    <small>Fiddler</small>\n    <strong>Louisiana</strong>\n  </li>\n  <li>\n    <span>Chris Coole</span>\n    <small>Banjoist</small>\n    <strong>Oregon</strong>\n  </li>\n  <li>\n    <span>Tommy Jarrell</span>\n    <small>Fiddler</small>\n    <strong>North Carolina</strong>\n  </li>\n</ul>\n```\n\nAnd like this in Inca, so you'd split it up between two files. In the first file:\n\n```\n<ul>\n  {{>musician:linzay_young}}\n  {{>musician:chris_coole}}\n  {{>musician:tommy_jarrell}}\n</ul>\n```\n\nYou'll also need a partial, musician.mustache, that looks like this.\n\n```\n<li>\n  <strong>{{name}}</strong>\n  <small>{{talent}}</small>\n  <span>{{location}}</span>\n</li>\n```\n\nAlso, you'll need some json files, like `linzay_young.json` & `chris_coole.json` & `tommy_jarrell.json`. For instance, here's `linzay_young.json`\n\n```\n  {\n    \"name\": \"Linzay Young\",\n    \"talent\": \"fiddler\",\n    \"location\": \"Louisiana\"\n  }\n```\n\nHuh, this is making Inca seem like *more* work than just prototyping in HTML. But you get the point.\n\nUsage\n-----\nTo use Inca, you must have Node and npm (the node package manager) installed. In Terminal, download and install inca with the command:\n\n```\nsudo npm install inca -g\n```\n\nThis will add the command `inca` to your terminal.\nStarting the server is now pretty easy.\nJust make a directory (e.g. \"righteous-site\") and do this:\n\n```\ncd righteous-site\ninca init\n```\n\nFresh.\n\nThe command `inca init` puts three directories into the directory you just created.\n\n- `/json` -> all of your json files\n- `/mustaches` -> all of your mustache templates\n- `/public` -> everything else: js files, css files, images, etc.\n\nTo start the server, you just type `inca`.\nHowever, when you go to `http://localhost:8083`, there won't be much to see, since our `/json` directory and our `/mustache` directory are empty.\nFor now you can skip putting anything in `/json`. Just create two files in the `/mustaches` directory: `layout.mustache` and `index.mustache`.\n\n`layout.mustache` only needs to have one thing in it: `{{{yield}}}`. That's because `layout.mustache` will be rendered as the container for all other mustaches you write.\n`index.mustache` — the default mustache, which will be rendered when you hit `http://localhost:8083` — can have anything in it, like `<h1>Whatup world!</h1>`.\n\nNow you're ready to run the server, so just type `inca`, then visit `http://locahost:8083` in your favorite browser.\n\nIf you clone or download this repo, you'll see exactly what we're talking about. In fact, to see an example inca site, you can just go ahead and download this repo. Then, once you've `cd`'d into the inca project, type `cd example-site` and then `inca`.\n\nThat will start the server, and when you hit `http://locahost:8083` in your favorite browser, inca will display your `index.mustache` file, by default. **Boom!**\n\nExtensions to Mustache Syntax\n-----------------------------\n*will soon have words*\n\n\nVersioning\n----------\n\nFor transparency and insight into our release cycle, and for striving to maintain backwards compatibility, Inca will be maintained under the Semantic Versioning guidelines as much as possible.\n\nReleases will be numbered with the follow format:\n\n`<major>.<minor>.<patch>`\n\nAnd constructed with the following guidelines:\n\n* Breaking backwards compatibility bumps the major\n* New additions without breaking backwards compatibility bumps the minor\n* Bug fixes and misc changes bump the patch\n\nFor more information on SemVer, please visit http://semver.org/.\n\n\nBug tracker\n-----------\n\nHave a bug? Please create an issue here on GitHub!\n\n\nAuthors\n-------\n\n**Rob Stenson**\n\n+ http://twitter.com/blickwickle\n+ http://github.com/stenson\n\n\nCopyright and license\n---------------------\n\nCopyright 2011 Rob Stenson.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this work except in compliance with the License.\nYou may obtain a copy of the License in the LICENSE file, or at:\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n","maintainers":[{"name":"rstenson","email":"rob.stenson@gmail.com"}]},"0.1.9":{"name":"inca","description":"easy mix of mustaches and jsons","version":"0.1.9","authors":["Rob Stenson <@blickwickle>"],"keywords":["design","mustache"],"main":"./inca.js","homepage":"https://github.com/stenson/inca","engines":{"node":">= 0.4.1"},"dependencies":{"express":"< 3.0.0","colors":">= 0.3.0","mustache":">= 0.2.3","twitter-text":"= 1.4.3"},"bin":{"inca":"./bin/inca"},"_npmUser":{"name":"rstenson","email":"rob.stenson@gmail.com"},"_id":"inca@0.1.9","devDependencies":{},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.1","_nodeVersion":"v0.6.11","_defaultsLoaded":true,"dist":{"shasum":"68342e916d0206d5a2032b41e5dd4c4edf8304c9","tarball":"https://registry.npmjs.org/inca/-/inca-0.1.9.tgz","integrity":"sha512-/Ye4NQh6byoQ6LqdKUFD6zjkCiv6U1EzCqP69nevOMEQCKieSH+JhyGFtvw0kp1exJuNW5iG+eAtyiieuKCZgw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC4+d2YdQ6wz6bWYc7bCW1PzsvEXazeBOhtHTPLLZ6ueAIhAPlLD7ILpaZaW3ajpad42ywGmpo1qQgkkmwAt3wCSF36"}]},"readme":"INCA\n=================\nInca is a simple tool for prototyping web apps & sites with Mustache.\n\n<img src=\"https://github.com/stenson/inca/raw/master/lib/inca-tern.jpeg\"/>\n\nBriefly\n-------\nInca is for prototyping websites, but it's more than just CSS & HTML. Not much more, just slightly more. What does that mean? Instead of writing HTML, Inca lets you write .mustache files full of variables. So, instead of writing your prototype data directly into your html, like `<li>Name of Test Dude 1</li><li>Name of Test Dude 2</li>`, Inca lets you write something like `{{#test_data}}<li>{{name_of_test_dude_1}}</li><li>{{name_of_test_dude_2}}</li>{{/test_data}}`\n\nOk. That example was lame, admittedly. In fact, it makes Inca look pretty dumb, since you have to throw in all that extra surrounding stuff. Whatever. It's not about brevity, it's about POWER.\n\nLet's say you want to prototype a website that is a database of American old-time folk musicians, meaning you need to render a bunch of `li`'s, and each one has a ton of markup in it. The markup is repeated over and over again, just the variables are changing inside each of the `li`'s.\n\nIt would look like this in HTML.\n\n```\n<ul>\n  <li>\n    <span>Linzay Young</span>\n    <small>Fiddler</small>\n    <strong>Louisiana</strong>\n  </li>\n  <li>\n    <span>Chris Coole</span>\n    <small>Banjoist</small>\n    <strong>Oregon</strong>\n  </li>\n  <li>\n    <span>Tommy Jarrell</span>\n    <small>Fiddler</small>\n    <strong>North Carolina</strong>\n  </li>\n</ul>\n```\n\nAnd like this in Inca, so you'd split it up between two files. In the first file:\n\n```\n<ul>\n  {{>musician:linzay_young}}\n  {{>musician:chris_coole}}\n  {{>musician:tommy_jarrell}}\n</ul>\n```\n\nYou'll also need a partial, musician.mustache, that looks like this.\n\n```\n<li>\n  <strong>{{name}}</strong>\n  <small>{{talent}}</small>\n  <span>{{location}}</span>\n</li>\n```\n\nAlso, you'll need some json files, like `linzay_young.json` & `chris_coole.json` & `tommy_jarrell.json`. For instance, here's `linzay_young.json`\n\n```\n  {\n    \"name\": \"Linzay Young\",\n    \"talent\": \"fiddler\",\n    \"location\": \"Louisiana\"\n  }\n```\n\nHuh, this is making Inca seem like *more* work than just prototyping in HTML. But you get the point.\n\nUsage\n-----\nTo use Inca, you must have Node and npm (the node package manager) installed. In Terminal, download and install inca with the command:\n\n```\nsudo npm install inca -g\n```\n\nThis will add the command `inca` to your terminal.\nStarting the server is now pretty easy.\nJust make a directory (e.g. \"righteous-site\") and do this:\n\n```\ncd righteous-site\ninca init\n```\n\nFresh.\n\nThe command `inca init` puts three directories into the directory you just created.\n\n- `/json` -> all of your json files\n- `/mustaches` -> all of your mustache templates\n- `/public` -> everything else: js files, css files, images, etc.\n\nTo start the server, you just type `inca`.\nHowever, when you go to `http://localhost:8083`, there won't be much to see, since our `/json` directory and our `/mustache` directory are empty.\nFor now you can skip putting anything in `/json`. Just create two files in the `/mustaches` directory: `layout.mustache` and `index.mustache`.\n\n`layout.mustache` only needs to have one thing in it: `{{{yield}}}`. That's because `layout.mustache` will be rendered as the container for all other mustaches you write.\n`index.mustache` — the default mustache, which will be rendered when you hit `http://localhost:8083` — can have anything in it, like `<h1>Whatup world!</h1>`.\n\nNow you're ready to run the server, so just type `inca`, then visit `http://locahost:8083` in your favorite browser.\n\nIf you clone or download this repo, you'll see exactly what we're talking about. In fact, to see an example inca site, you can just go ahead and download this repo. Then, once you've `cd`'d into the inca project, type `cd example-site` and then `inca`.\n\nThat will start the server, and when you hit `http://locahost:8083` in your favorite browser, inca will display your `index.mustache` file, by default. **Boom!**\n\n\nHosting Mode\n------------\nYou can also run inca in hosting mode, so you can mount multiple inca projects at once, which is super-useful if you want to stage a bunch of projects, like: `http://localhost:8083/my-fresh-project-1/` and `http://localhost:8083/my-fresh-project-2/`.\n\nJust run `inca host` from the directory *above* your projects. If you have a `/shared` directory, static files in there will be available to all projects. Additionally, `/index.mustache` will be populated with the list of mounted projects when you hit `localhost:8083/`\n\nExample hosted directory structure:\n- `/my-fresh-project-1`\n- `/my-fresh-project-1/json`\n- `/my-fresh-project-1/mustache`\n- `/my-fresh-project-1/public`\n- `/my-fresh-project-2`\n- `/my-fresh-project-2/json`\n- `/my-fresh-project-2/mustache`\n- `/my-fresh-project-2/public`\n- `/shared` -> shared static files for all your projects\n- `/index.mustache` -> renders the list of mounted projects\n\nExample index.mustache:\n```\n{{#projects}}\n<ul>\n  <li><h1><a href=\"{{project}}/\">{{project}}</a></h1></li>\n</ul>\n{{/projects}}\n```\n\n\nExtensions to Mustache Syntax\n-----------------------------\n*will soon have words*\n\n\nVersioning\n----------\n\nFor transparency and insight into our release cycle, and for striving to maintain backwards compatibility, Inca will be maintained under the Semantic Versioning guidelines as much as possible.\n\nReleases will be numbered with the follow format:\n\n`<major>.<minor>.<patch>`\n\nAnd constructed with the following guidelines:\n\n* Breaking backwards compatibility bumps the major\n* New additions without breaking backwards compatibility bumps the minor\n* Bug fixes and misc changes bump the patch\n\nFor more information on SemVer, please visit http://semver.org/.\n\n\nBug tracker\n-----------\n\nHave a bug? Please create an issue here on GitHub!\n\n\nAuthors\n-------\n\n**Rob Stenson**\n\n+ http://twitter.com/blickwickle\n+ http://github.com/stenson\n\n\nCopyright and license\n---------------------\n\nCopyright 2011 Rob Stenson.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this work except in compliance with the License.\nYou may obtain a copy of the License in the LICENSE file, or at:\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n","maintainers":[{"name":"rstenson","email":"rob.stenson@gmail.com"}]},"0.2.0":{"name":"inca","description":"easy mix of mustaches and jsons","version":"0.2.0","authors":["Rob Stenson <@blickwickle>"],"keywords":["design","mustache"],"main":"./inca.js","homepage":"https://github.com/stenson/inca","engines":{"node":">= 0.4.1"},"dependencies":{"express":"<= 2.9.1","colors":">= 0.3.0","mustache":">= 0.2.3","twitter-text":"= 1.4.3"},"bin":{"inca":"./bin/inca"},"_npmUser":{"name":"rstenson","email":"rob.stenson@gmail.com"},"_id":"inca@0.2.0","devDependencies":{},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.1","_nodeVersion":"v0.6.11","_defaultsLoaded":true,"dist":{"shasum":"32341494adc59da5c694091ed306d6fa5d6b87e2","tarball":"https://registry.npmjs.org/inca/-/inca-0.2.0.tgz","integrity":"sha512-9v6vLZ82ZKfHQ3BvQtZtoqBLJWYoFCF+R9S18Umpe+nd2OZmstoK8/GHV7XDrc/YZp+XsM1W9JezAx0LO2/PIQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDzTB4oHsM/dmr8StFbYZM2+cGH5rXbVKmWyLFh7Fi84QIgZFHeSf3jrQvPjjfmHk1rwolC2mhib/j4g5PPiiYgO0s="}]},"readme":"INCA\n=================\nInca is a simple tool for prototyping web apps & sites with Mustache.\n\n<img src=\"https://github.com/stenson/inca/raw/master/lib/inca-tern.jpeg\"/>\n\nBriefly\n-------\nInca is for prototyping websites, but it's more than just CSS & HTML. Not much more, just slightly more. What does that mean? Instead of writing HTML, Inca lets you write .mustache files full of variables. So, instead of writing your prototype data directly into your html, like `<li>Name of Test Dude 1</li><li>Name of Test Dude 2</li>`, Inca lets you write something like `{{#test_data}}<li>{{name_of_test_dude_1}}</li><li>{{name_of_test_dude_2}}</li>{{/test_data}}`\n\nOk. That example was lame, admittedly. In fact, it makes Inca look pretty dumb, since you have to throw in all that extra surrounding stuff. Whatever. It's not about brevity, it's about POWER.\n\nLet's say you want to prototype a website that is a database of American old-time folk musicians, meaning you need to render a bunch of `li`'s, and each one has a ton of markup in it. The markup is repeated over and over again, just the variables are changing inside each of the `li`'s.\n\nIt would look like this in HTML.\n\n```\n<ul>\n  <li>\n    <span>Linzay Young</span>\n    <small>Fiddler</small>\n    <strong>Louisiana</strong>\n  </li>\n  <li>\n    <span>Chris Coole</span>\n    <small>Banjoist</small>\n    <strong>Oregon</strong>\n  </li>\n  <li>\n    <span>Tommy Jarrell</span>\n    <small>Fiddler</small>\n    <strong>North Carolina</strong>\n  </li>\n</ul>\n```\n\nAnd like this in Inca, so you'd split it up between two files. In the first file:\n\n```\n<ul>\n  {{>musician:linzay_young}}\n  {{>musician:chris_coole}}\n  {{>musician:tommy_jarrell}}\n</ul>\n```\n\nYou'll also need a partial, musician.mustache, that looks like this.\n\n```\n<li>\n  <strong>{{name}}</strong>\n  <small>{{talent}}</small>\n  <span>{{location}}</span>\n</li>\n```\n\nAlso, you'll need some json files, like `linzay_young.json` & `chris_coole.json` & `tommy_jarrell.json`. For instance, here's `linzay_young.json`\n\n```\n  {\n    \"name\": \"Linzay Young\",\n    \"talent\": \"fiddler\",\n    \"location\": \"Louisiana\"\n  }\n```\n\nHuh, this is making Inca seem like *more* work than just prototyping in HTML. But you get the point.\n\nUsage\n-----\nTo use Inca, you must have Node and npm (the node package manager) installed. In Terminal, download and install inca with the command:\n\n```\nsudo npm install inca -g\n```\n\nThis will add the command `inca` to your terminal.\nStarting the server is now pretty easy.\nJust make a directory (e.g. \"righteous-site\") and do this:\n\n```\ncd righteous-site\ninca init\n```\n\nFresh.\n\nThe command `inca init` puts three directories into the directory you just created.\n\n- `/json` -> all of your json files\n- `/mustaches` -> all of your mustache templates\n- `/public` -> everything else: js files, css files, images, etc.\n\nTo start the server, you just type `inca`.\nHowever, when you go to `http://localhost:8083`, there won't be much to see, since our `/json` directory and our `/mustache` directory are empty.\nFor now you can skip putting anything in `/json`. Just create two files in the `/mustaches` directory: `layout.mustache` and `index.mustache`.\n\n`layout.mustache` only needs to have one thing in it: `{{{yield}}}`. That's because `layout.mustache` will be rendered as the container for all other mustaches you write.\n`index.mustache` — the default mustache, which will be rendered when you hit `http://localhost:8083` — can have anything in it, like `<h1>Whatup world!</h1>`.\n\nNow you're ready to run the server, so just type `inca`, then visit `http://locahost:8083` in your favorite browser.\n\nIf you clone or download this repo, you'll see exactly what we're talking about. In fact, to see an example inca site, you can just go ahead and download this repo. Then, once you've `cd`'d into the inca project, type `cd example-site` and then `inca`.\n\nThat will start the server, and when you hit `http://locahost:8083` in your favorite browser, inca will display your `index.mustache` file, by default. **Boom!**\n\n\nHosting Mode\n------------\nYou can also run inca in hosting mode, so you can mount multiple inca projects at once, which is super-useful if you want to stage a bunch of projects, like: `http://localhost:8083/my-fresh-project-1/` and `http://localhost:8083/my-fresh-project-2/`.\n\nJust run `inca host` from the directory *above* your projects. If you have a `/shared` directory, static files in there will be available to all projects. Additionally, `/index.mustache` will be populated with the list of mounted projects when you hit `localhost:8083/`\n\nExample hosted directory structure:\n- `/my-fresh-project-1`\n- `/my-fresh-project-1/json`\n- `/my-fresh-project-1/mustache`\n- `/my-fresh-project-1/public`\n- `/my-fresh-project-2`\n- `/my-fresh-project-2/json`\n- `/my-fresh-project-2/mustache`\n- `/my-fresh-project-2/public`\n- `/shared` -> shared static files for all your projects\n- `/index.mustache` -> renders the list of mounted projects\n\nExample index.mustache:\n```\n{{#projects}}\n<ul>\n  <li><h1><a href=\"{{project}}/\">{{project}}</a></h1></li>\n</ul>\n{{/projects}}\n```\n\n\nExtensions to Mustache Syntax\n-----------------------------\n*will soon have words*\n\n\nVersioning\n----------\n\nFor transparency and insight into our release cycle, and for striving to maintain backwards compatibility, Inca will be maintained under the Semantic Versioning guidelines as much as possible.\n\nReleases will be numbered with the follow format:\n\n`<major>.<minor>.<patch>`\n\nAnd constructed with the following guidelines:\n\n* Breaking backwards compatibility bumps the major\n* New additions without breaking backwards compatibility bumps the minor\n* Bug fixes and misc changes bump the patch\n\nFor more information on SemVer, please visit http://semver.org/.\n\n\nBug tracker\n-----------\n\nHave a bug? Please create an issue here on GitHub!\n\n\nAuthors\n-------\n\n**Rob Stenson**\n\n+ http://twitter.com/blickwickle\n+ http://github.com/stenson\n\n\nCopyright and license\n---------------------\n\nCopyright 2011 Rob Stenson.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this work except in compliance with the License.\nYou may obtain a copy of the License in the LICENSE file, or at:\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n","maintainers":[{"name":"rstenson","email":"rob.stenson@gmail.com"}]}},"maintainers":[{"name":"rstenson","email":"rob.stenson@gmail.com"}],"time":{"modified":"2022-06-19T00:59:52.979Z","created":"2011-09-26T06:51:07.234Z","0.0.1":"2011-09-26T06:51:07.749Z","0.0.2":"2011-10-04T05:27:35.814Z","0.0.3":"2011-10-04T15:40:03.125Z","0.1.0":"2011-10-08T17:45:49.223Z","0.1.1":"2011-10-10T07:07:30.439Z","0.1.2":"2011-10-11T19:28:41.806Z","0.1.3":"2011-10-17T07:15:13.698Z","0.1.4":"2011-10-17T19:58:17.895Z","0.1.5":"2011-10-20T15:46:13.261Z","0.1.6":"2011-10-31T06:10:53.694Z","0.1.7":"2012-03-29T06:05:11.841Z","0.1.8":"2012-04-02T21:47:39.746Z","0.1.9":"2012-04-30T16:50:05.489Z","0.2.0":"2012-08-20T21:53:05.117Z"}}