{"id":20601636,"url":"https://github.com/rolling-scopes-school/core-js-strings","last_synced_at":"2025-05-14T04:09:44.568Z","repository":{"id":205438168,"uuid":"695784565","full_name":"rolling-scopes-school/core-js-strings","owner":"rolling-scopes-school","description":"Tasks for learning methods of String class","archived":false,"fork":false,"pushed_at":"2025-03-12T19:03:34.000Z","size":130,"stargazers_count":23,"open_issues_count":2,"forks_count":2666,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-13T15:54:22.671Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rolling-scopes-school.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-24T08:02:08.000Z","updated_at":"2025-04-04T04:38:38.000Z","dependencies_parsed_at":"2025-02-23T01:00:20.831Z","dependency_job_id":"e25ba7df-c7bc-4256-8480-f2e6bfdfea36","html_url":"https://github.com/rolling-scopes-school/core-js-strings","commit_stats":null,"previous_names":["rolling-scopes-school/core-js-strings"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rolling-scopes-school%2Fcore-js-strings","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rolling-scopes-school%2Fcore-js-strings/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rolling-scopes-school%2Fcore-js-strings/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rolling-scopes-school%2Fcore-js-strings/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rolling-scopes-school","download_url":"https://codeload.github.com/rolling-scopes-school/core-js-strings/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254070108,"owners_count":22009559,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-16T09:11:28.221Z","updated_at":"2025-05-14T04:09:39.548Z","avatar_url":"https://github.com/rolling-scopes-school.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Core JS Strings\n\n:warning: **Please note that you mustn't open PRs that contains the answers to this repo!**\n\nHowever, PRs with the fixes or proposals are welcomed!\n\n## Task\n\nThe goal of the assignment is to learn how to work with strings in JS.\n\n**Active usage of [documentation](https://developer.mozilla.org/en-US/) is strongly recommended!**\n\n## Prepare and test\n\n1. Install Node.js\n2. Fork this repository: \u003chttps://github.com/rolling-scopes-school/core-js-strings\u003e\n3. Clone your newly created repo: `https://github.com/\u003c%your_github_username%\u003e/core-js-strings/`\n4. Go to folder `core-js-strings`\n5. To install all dependencies use `npm install`\n6. Each task is usually a regular function:\n\n   ```javascript\n   /**\n    * Returns the result of concatenation of two strings.\n    *\n    * @param {string} value1\n    * @param {string} value2\n    * @return {string}\n    *\n    * @example\n    *   'aa', 'bb' =\u003e 'aabb'\n    *   'aa',''    =\u003e 'aa'\n    *   '',  'bb'  =\u003e 'bb'\n    */\n   function concatenateStrings(value1, value2) {\n     throw new Error('Not implemented');\n   }\n   ```\n\n   Read the task description in the comment above the function. Try to understand the idea. You can see the tests prepared if you don't understand it.\n7. Write your code in `src/*.js`.\n\n   Remove the throwing error line from function body:\n\n   ```javascript\n   throw new Error('Not implemented');\n   ```\n\n   Implement the function by any way and verify your solution by running tests until the failed test become passed (green).\n\n8. Run `npm test` in command line. If everything is OK you can try to resolve the next task.\n9. You will see the number of passing and pending tests.\n\n## Submit to [rs app](https://app.rs.school/)\n\n1. Commit and push your solutions to your fork\n2. Open rs app and login\n3. Go to submit task page\n4. Select your task (Core JS Strings)\n5. Press submit button and enjoy\n\n## Notes\n\nWe recommend you to use nodejs of version 22. If you using any of features that does not supported by node `v22`, score won't be submitted.\nPlease be sure that each of your test in limit of 30sec.\nYou will get 0 (zero) if you have any eslint's errors or warnings.\n\n## FAQ\n\n**Question:** I use Windows machine and have received a lot of errors like \"Expected linebreaks to be 'LF' but found 'CRLF'\". How to handle it?\n\n**Answer**:\n\n- First, you need to install Gitbash properly: you need to choose option \"Checkout as-is, commit as-is\" in section \"Configuring the line ending conversions\". It'll let you download repos with line endings set \"as-is\" as well as commit. In other words, not to change them at all, because by default it converts them.\n- Second, install `editorconfig` plugin to your editor. For VS Code you can find it here:\n  \u003chttps://marketplace.visualstudio.com/items?itemName=EditorConfig.EditorConfig\u003e\n\n  I'll let you apply some rules when you saving your files in the repo. This plugin will use config-file `.editorconfig` that you can see in the root folder. It lets you save the file with needed line endings, trim whitespaces, etc.\n\n- Finally, you need to apply linter's autofix feature in order to fix all linebreaks that was already changed to \"CLRF\":\n\n```bash\nnpm run lint:fix\n```\n\n---\n\nThe task based on \u003chttps://github.com/rolling-scopes-school/js-assignments\u003e.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frolling-scopes-school%2Fcore-js-strings","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frolling-scopes-school%2Fcore-js-strings","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frolling-scopes-school%2Fcore-js-strings/lists"}