{"id":18481678,"url":"https://github.com/outluch/leetcode-js-tdd","last_synced_at":"2025-05-13T19:38:58.047Z","repository":{"id":49681769,"uuid":"233404423","full_name":"outluch/leetcode-js-tdd","owner":"outluch","description":"Simple boilerplate for LeetCode warriors","archived":false,"fork":false,"pushed_at":"2021-06-10T22:22:09.000Z","size":63,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-16T21:20:15.283Z","etag":null,"topics":["javascript","leetcode","tdd"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/outluch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-01-12T14:22:57.000Z","updated_at":"2020-01-19T15:55:13.000Z","dependencies_parsed_at":"2022-09-07T23:51:51.008Z","dependency_job_id":null,"html_url":"https://github.com/outluch/leetcode-js-tdd","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outluch%2Fleetcode-js-tdd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outluch%2Fleetcode-js-tdd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outluch%2Fleetcode-js-tdd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outluch%2Fleetcode-js-tdd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/outluch","download_url":"https://codeload.github.com/outluch/leetcode-js-tdd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254014447,"owners_count":21999602,"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":["javascript","leetcode","tdd"],"created_at":"2024-11-06T12:24:58.811Z","updated_at":"2025-05-13T19:38:58.027Z","avatar_url":"https://github.com/outluch.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# leetcode-js-tdd\n\nSimple boilerplate for leetcode warriors\n\n## How to use\n\n1. Clone this repo\n2. Install [LeetCode extension](https://marketplace.visualstudio.com/items?itemName=shengchen.vscode-leetcode) in your vscode\n3. Configure extension to use `problems` folder in the repo\n4. Export solution with cases as in `1.two-sum.js`\n\n```js\nmodule.exports = {\n  // ignore: true,\n  fn: twoSum,\n  cases: [\n    { in: [[2, 7, 11, 15], 9], out: [0, 1] },\n    { in: [[11, 2, 15, 7], 9], out: [1, 3] },\n  ],\n}\n```\n\n5. `npm start`\n\n## Features\n\n### Ignoring problems\n\nYou can ignore problem if you export `ignore: true`\n\n### Testing for unordered results\n\nIf you are asked to provide an array of solutions without particular order, you can use helper method to test your functions. See `49.group-anagrams.js`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foutluch%2Fleetcode-js-tdd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foutluch%2Fleetcode-js-tdd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foutluch%2Fleetcode-js-tdd/lists"}