8000 javascript-exercises/generator-exercise at solutions · SketchTurnerrr/javascript-exercises · GitHub
[go: up one dir, main page]

Skip to content
{"payload":{"allShortcutsEnabled":false,"path":"generator-exercise","repo":{"id":320255627,"defaultBranch":"master","name":"javascript-exercises","ownerLogin":"SketchTurnerrr","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2020-12-10T11:46:06.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/23274681?v=4","public":true,"private":false,"isOrgOwned":false},"currentUser":null,"refInfo":{"name":"solutions","listCacheKey":"v0:1615564540.256578","canEdit":false,"refType":"branch","currentOid":"e5a4a1d2ebd94c7a3d5f8cf86456036d58d67125"},"tree":{"items":[{"name":"generators/app","path":"generator-exercise/generators/app","contentType":"directory","hasSimplifiedPath":true},{"name":".editorconfig","path":"generator-exercise/.editorconfig","contentType":"file"},{"name":".eslintignore","path":"generator-exercise/.eslintignore","contentType":"file"},{"name":".gitattributes","path":"generator-exercise/.gitattributes","contentType":"file"},{"name":".gitignore","path":"generator-exercise/.gitignore","contentType":"file"},{"name":".travis.yml","path":"generator-exercise/.travis.yml","contentType":"file"},{"name":".yo-rc.json","path":"generator-exercise/.yo-rc.json","contentType":"file"},{"name":"LICENSE","path":"generator-exercise/LICENSE","contentType":"file"},{"name":"README.md","path":"generator-exercise/README.md","contentType":"file"},{"name":"package-lock.json","path":"generator-exercise/package-lock.json","contentType":"file"},{"name":"package.json","path":"generator-exercise/package.json","contentType":"file"}],"templateDirectorySuggestionUrl":null,"readme":{"displayName":"README.md","richText":"\u003carticle class=\"markdown-body entry-content container-lg\" itemprop=\"text\"\u003e\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch1 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003egenerator-exercise \u003ca href=\"https://npmjs.org/package/generator-exercise\" rel=\"nofollow\"\u003e\u003cimg src=\"https://camo.githubusercontent.com/b029c89c7e4f0fa1b5b605c369319cb1bdb56f035da9115adae6e04d15395a03/68747470733a2f2f62616467652e667572792e696f2f6a732f67656e657261746f722d65786572636973652e737667\" alt=\"NPM version\" data-canonical-src=\"https://badge.fury.io/js/generator-exercise.svg\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e \u003ca href=\"https://travis-ci.org/codyloyd/generator-exercise\" rel=\"nofollow\"\u003e\u003cimg src=\"https://camo.githubusercontent.com/2179f39cf51b0ce7adf084c9bb614d22d56f12004828e8eaff33d0a727846e4e/68747470733a2f2f7472617669732d63692e6f72672f636f64796c6f79642f67656e657261746f722d65786572636973652e7376673f6272616e63683d6d6173746572\" alt=\"Build Status\" data-canonical-src=\"https://travis-ci.org/codyloyd/generator-exercise.svg?branch=master\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e \u003ca href=\"https://david-dm.org/codyloyd/generator-exercise\" rel=\"nofollow\"\u003e\u003cimg src=\"https://camo.githubusercontent.com/b8e205e85cce526883d1f7280dcd57c78f8a7447f5d43592926d20e2d1038cd4/68747470733a2f2f64617669642d646d2e6f72672f636f64796c6f79642f67656e657261746f722d65786572636973652e7376673f7468656d653d736869656c64732e696f\" alt=\"Dependency Status\" data-canonical-src=\"https://david-dm.org/codyloyd/generator-exercise.svg?theme=shields.io\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/h1\u003e\u003ca id=\"user-content-generator-exercise---\" class=\"anchor\" aria-label=\"Permalink: generator-exercise \" href=\"#generator-exercise---\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cblockquote\u003e\n\u003cp dir=\"auto\"\u003egenerates boilerplate for The Odin Project exercises\u003c/p\u003e\n\u003c/blockquote\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eInstallation\u003c/h2\u003e\u003ca id=\"user-content-installation\" class=\"anchor\" aria-label=\"Permalink: Installation\" href=\"#installation\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eFirst, install \u003ca href=\"http://yeoman.io\" rel=\"nofollow\"\u003eYeoman\u003c/a\u003e and generator-exercise using \u003ca href=\"https://www.npmjs.com/\" rel=\"nofollow\"\u003enpm\u003c/a\u003e (we assume you have pre-installed \u003ca href=\"https://nodejs.org/\" rel=\"nofollow\"\u003enode.js\u003c/a\u003e).\u003c/p\u003e\n\u003cdiv class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"npm install -g yo\nnpm install -g generator-exercise\"\u003e\u003cpre\u003enpm install -g yo\nnpm install -g generator-exercise\u003c/pre\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eThen generate your new project:\u003c/p\u003e\n\u003cdiv class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"yo exercise\"\u003e\u003cpre\u003eyo exercise\u003c/pre\u003e\u003c/div\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eGetting To Know Yeoman\u003c/h2\u003e\u003ca id=\"user-content-getting-to-know-yeoman\" class=\"anchor\" aria-label=\"Permalink: Getting To Know Yeoman\" href=\"#getting-to-know-yeoman\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003eYeoman has a heart of gold.\u003c/li\u003e\n\u003cli\u003eYeoman is a person with feelings and opinions, but is very easy to work with.\u003c/li\u003e\n\u003cli\u003eYeoman can be too opinionated at times but is easily convinced not to be.\u003c/li\u003e\n\u003cli\u003eFeel free to \u003ca href=\"http://yeoman.io/\" rel=\"nofollow\"\u003elearn more about Yeoman\u003c/a\u003e.\u003c/li\u003e\n\u003c/ul\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eLicense\u003c/h2\u003e\u003ca id=\"user-content-license\" class=\"anchor\" aria-label=\"Permalink: License\" href=\"#license\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eMIT © \u003ca href=\"/SketchTurnerrr/javascript-exercises/blob/solutions/generator-exercise/codyloyd.com\"\u003eCody Loyd\u003c/a\u003e\u003c/p\u003e\n\u003c/article\u003e","errorMessage":null,"headerInfo":{"toc":[{"level":1,"text":"generator-exercise ","anchor":"generator-exercise---","htmlText":"generator-exercise "},{"level":2,"text":"Installation","anchor":"installation","htmlText":"Installation"},{"level":2,"text":"Getting To Know Yeoman","anchor":"getting-to-know-yeoman","htmlText":"Getting To Know Yeoman"},{"level":2,"text":"License","anchor":"license","htmlText":"License"}],"siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2FSketchTurnerrr%2Fjavascript-exercises%2Ftree%2Fsolutions%2Fgenerator-exercise"}},"totalCount":11,"showBranchInfobar":true},"fileTree":{"":{"items":[{"name":"caesar","path":"caesar","contentType":"directory"},{"name":"calculator","path":"calculator","contentType":"directory"},{"name":"fibonacci","path":"fibonacci","contentType":"directory"},{"name":"findTheOldest","path":"findTheOldest","contentType":"directory"},{"name":"generator-exercise","path":"generator-exercise","contentType":"directory"},{"name":"getTheTitles","path":"getTheTitles","contentType":"directory"},{"name":"helloWorld","path":"helloWorld","contentType":"directory"},{"name":"leapYears","path":"leapYears","contentType":"directory"},{"name":"node_modules","path":"node_modules","contentType":"directory"},{"name":"palindromes","path":"palindromes","contentType":"directory"},{"name":"pig_latin","path":"pig_latin","contentType":"directory"},{"name":"removeFromArray","path":"removeFromArray","contentType":"directory"},{"name":"repeatString","path":"repeatString","contentType":"directory"},{"name":"reverseString","path":"reverseString","contentType":"directory"},{"name":"snakeCase","path":"snakeCase","contentType":"directory"},{"name":"sumAll","path":"sumAll","contentType":"directory"},{"name":"tempConversion","path":"tempConversion","contentType":"directory"},{"name":".DS_Store","path":".DS_Store","contentType":"file"},{"name":".eslintrc.js","path":".eslintrc.js","contentType":"file"},{"name":".gitignore","path":".gitignore","contentType":"file"},{"name":"README.md","path":"README.md","contentType":"file"},{"name":"package-lock.json","path":"package-lock.json","contentType":"file"},{"name":"package.json","path":"package.json","contentType":"file"}],"totalCount":23}},"fileTreeProcessingTime":7.114979,"foldersToFetch":[],"treeExpanded":true,"symbolsExpanded":false,"csrf_tokens":{"/SketchTurnerrr/javascript-exercises/branches":{"post":"jT8O8iryCcVd7_y6QXekEo4hJtXRVw9nJYQVzgPpDfeqz7hB8OI16GV6WaTwlT_pn12whNK-XfER5ZPIYlFXTg"},"/SketchTurnerrr/javascript-exercises/branches/fetch_and_merge/solutions":{"post":"KWK44Y2rybi8twqY7jirvKuXC9vhTMYyId6mj8Rckuztu7Q7WeRCH8cQJ5pQQP3e7VWL9TdxsHdJTyW4myz8PQ"},"/SketchTurnerrr/javascript-exercises/branches/fetch_and_merge/solutions?discard_changes=true":{"post":"ojPwwgZtlI_S2zcH8DsEazYXX1YaIxaXK6za2fANP39m6vwY0iIfKKl8GgVOQ1IJcNXfeMweYNJDPVnur31Rrg"}}},"title":"javascript-exercises/generator-exercise at solutions · SketchTurnerrr/javascript-exercises","appPayload":{"helpUrl":"https://docs.github.com","findFileWorkerPath":"/assets-cdn/worker/find-file-worker-7d7eb7c71814.js","findInFileWorkerPath":"/assets-cdn/worker/find-in-file-worker-1ae9fa256942.js","githubDevUrl":null,"enabled_features":{"code_nav_ui_events":false,"react_blob_overlay":false,"accessible_code_button":true,"github_models_repo_integration":false}}}
0