{"_id":"550ada9e921b7d0d00228882","version":{"_id":"550ada9d921b7d0d00228876","forked_from":"550a3b2542fff40d00ae5ffb","project":"550a379f635c660d00527fd8","__v":3,"createdAt":"2015-03-19T14:18:05.245Z","releaseDate":"2015-03-19T14:18:05.245Z","categories":["550ada9d921b7d0d00228877","550ada9d921b7d0d00228878","550ada9d921b7d0d00228879","550ada9d921b7d0d0022887a","550ada9d921b7d0d0022887b","550ada9d921b7d0d0022887c","550ada9d921b7d0d0022887d","5523e61e71c0542100993493","55246f72ccc28a0d0062c560"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"3.0.0","version":"3.0.0"},"category":{"_id":"550ada9d921b7d0d00228879","version":"550ada9d921b7d0d00228876","__v":4,"pages":["550ada9e921b7d0d00228882","550ada9e921b7d0d00228883","550ada9e921b7d0d00228884","550ada9e921b7d0d00228885","55235488b4a0de0d00de800f","5523ceb87a46cc1700026b52","5523e1117a36b22b0088654b"],"project":"550a379f635c660d00527fd8","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-03-19T02:50:29.906Z","from_sync":false,"order":1,"slug":"getting-started","title":"Getting Started"},"project":"550a379f635c660d00527fd8","user":"550a378e635c660d00527fd7","__v":7,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-03-19T02:51:29.855Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"auth":"required","params":[],"url":""},"isReference":false,"order":0,"body":"## Install\n\n**[npm](https://www.npmjs.org/)**\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"npm install snoocore\",\n      \"language\": \"text\"\n    }\n  ]\n}\n[/block]\n\n**[bower](http://bower.io/)**\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"bower install snoocore\",\n      \"language\": \"shell\"\n    }\n  ]\n}\n[/block]\n## Include\n\n**[Node.js](http://nodejs.org/)**\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"var Snoocore = require('snoocore');\\nvar reddit = new Snoocore(/* config options */);\",\n      \"language\": \"javascript\"\n    }\n  ]\n}\n[/block]\n\n**[Browserify](http://browserify.org/)**\n\nSame as Node.js\n\n**[Vanilla JS](http://vanilla-js.com/)**\n\nMust use the standalone variant. Exposes `Snoocore` globally on the [window object](https://developer.mozilla.org/en-US/docs/Web/API/Window).\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"<script src=\\\"/path/to/snoocore/dist/Snoocore-browser.js\\\"></script>\\n<script>\\n\\tvar Snoocore = window.Snoocore;\\n\\tvar reddit = new Snoocore(/* config options */);\\n</script>\",\n      \"language\": \"html\"\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"install-include","type":"basic","title":"Install & Include"}
## Install **[npm](https://www.npmjs.org/)** [block:code] { "codes": [ { "code": "npm install snoocore", "language": "text" } ] } [/block] **[bower](http://bower.io/)** [block:code] { "codes": [ { "code": "bower install snoocore", "language": "shell" } ] } [/block] ## Include **[Node.js](http://nodejs.org/)** [block:code] { "codes": [ { "code": "var Snoocore = require('snoocore');\nvar reddit = new Snoocore(/* config options */);", "language": "javascript" } ] } [/block] **[Browserify](http://browserify.org/)** Same as Node.js **[Vanilla JS](http://vanilla-js.com/)** Must use the standalone variant. Exposes `Snoocore` globally on the [window object](https://developer.mozilla.org/en-US/docs/Web/API/Window). [block:code] { "codes": [ { "code": "<script src=\"/path/to/snoocore/dist/Snoocore-browser.js\"></script>\n<script>\n\tvar Snoocore = window.Snoocore;\n\tvar reddit = new Snoocore(/* config options */);\n</script>", "language": "html" } ] } [/block]