{"id":15355923,"url":"https://github.com/fibo/es6-snippets","last_synced_at":"2025-07-27T13:10:17.683Z","repository":{"id":142183202,"uuid":"42650884","full_name":"fibo/es6-snippets","owner":"fibo","description":null,"archived":false,"fork":false,"pushed_at":"2015-10-02T15:48:54.000Z","size":156,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-22T06:43:45.491Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/fibo.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":"2015-09-17T10:50:38.000Z","updated_at":"2015-09-17T10:51:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"0e05f258-0152-426f-9a62-0f0d66799619","html_url":"https://github.com/fibo/es6-snippets","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fibo/es6-snippets","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fibo%2Fes6-snippets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fibo%2Fes6-snippets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fibo%2Fes6-snippets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fibo%2Fes6-snippets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fibo","download_url":"https://codeload.github.com/fibo/es6-snippets/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fibo%2Fes6-snippets/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267362537,"owners_count":24075140,"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","status":"online","status_checked_at":"2025-07-27T02:00:11.917Z","response_time":82,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-10-01T12:26:19.951Z","updated_at":"2025-07-27T13:10:17.494Z","avatar_url":"https://github.com/fibo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"es6-snippets\n============\n\n\u003e Play with ES6 features\n\nCode is run using [Node.js][2] v4 or greater.\n\nSnippets are in *src/* folder where each subfolder is named according to [ECMAScript 6 compatibility table][1], where a space is replaced with a *dash* and other characters are removed: for example *for of loops* snippets are in folder [src/for-of-loops](https://github.com/fibo/es6-snippets/tree/master/src/for-of-loops), *function \"name\" property* are in folder [src/function-name-property](https://github.com/fibo/es6-snippets/tree/master/src/function-name-property).\n\nSame naming convention applies to file names.\n\nIf code in file *foo.js* needs to be imported, a *test_foo.js* file will contain the corresponding snippet.\nFor example [src/class/Point2d.js](https://github.com/fibo/es6-snippets/blob/master/src/class/Point2d.js) is imported by [src/class/test_Point2d.js](https://github.com/fibo/es6-snippets/blob/master/src/class/test_Point2d.js) so you can run\n\n    node src/class/test_Point2d.js\n\nSome features are not supported yet: in that case the folder or file name containing the code will be prepended with an *underscore* character.\nFor example, at the time of this writing (September 2015), *rest parameters* feature is not implemented at all by [Node.js][2] so its folder will be *src/_rest-parameters*. While *function \"name\" property* is partially implemented, in particular *variable functions* are not, so the file path will be *src/function-name-property/_variables-function.js*.\n\n  [1]: http://kangax.github.io/compat-table/es6/ \"ECMAScript 6 compatibility table\"\n  [2]: http://nodejs.org/ \"Node.js\"\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffibo%2Fes6-snippets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffibo%2Fes6-snippets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffibo%2Fes6-snippets/lists"}