{"id":13803659,"url":"https://github.com/jlongster/es6-macros","last_synced_at":"2025-04-09T14:10:00.063Z","repository":{"id":12078612,"uuid":"14666108","full_name":"jlongster/es6-macros","owner":"jlongster","description":"A collection of sweet.js macros that implement ES6 features for ES5","archived":false,"fork":false,"pushed_at":"2014-07-04T15:45:38.000Z","size":665,"stargazers_count":238,"open_issues_count":13,"forks_count":18,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-04-02T13:04:04.827Z","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":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jlongster.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}},"created_at":"2013-11-24T18:02:26.000Z","updated_at":"2025-03-23T00:16:08.000Z","dependencies_parsed_at":"2022-08-27T05:21:58.175Z","dependency_job_id":null,"html_url":"https://github.com/jlongster/es6-macros","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/jlongster%2Fes6-macros","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlongster%2Fes6-macros/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlongster%2Fes6-macros/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlongster%2Fes6-macros/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jlongster","download_url":"https://codeload.github.com/jlongster/es6-macros/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248054194,"owners_count":21039952,"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-08-04T01:00:36.692Z","updated_at":"2025-04-09T14:10:00.030Z","avatar_url":"https://github.com/jlongster.png","language":"JavaScript","funding_links":[],"categories":["Transpilers"],"sub_categories":[],"readme":"# es6-macros\n\nThis is a collection of [sweet.js](http://sweetjs.org/) macros that\nimplement syntactic ES6 features that can be easily compiled out to\nES5 JavaScript, which can be used today everywhere.\n\n**Warning**: This is still in development and most of these features are not completely compliant with ES6 yet. I wouldn't recommend using it for production code yet.\n\nCurrently implemented:\n\n* destructuring (including elision and rest)\n* classes\n* fat arrow functions\n\nTODO:\n\n* rest and default arguments\n* spread operator for applying arguments\n* possibly limited `for of` support\n* possibly limited module support\n\n## Using\n\n```\n$ npm install sweet.js es6-macros\n```\n\nWrite your improved ES6 JavaScript, and compile it:\n\n```\n$ sjs -m es6-macros file.js\n```\n\nIf you pass `-c` to sjs along with `-o output.js`, it will generate a\nsourcemap so you get good debugging too!\n\n## Contributing\n\nTo run the tests:\n\n```bash\nnpm install\nmake\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjlongster%2Fes6-macros","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjlongster%2Fes6-macros","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjlongster%2Fes6-macros/lists"}