{"id":16758170,"url":"https://github.com/foo123/sweet-macros","last_synced_at":"2025-09-02T01:36:09.899Z","repository":{"id":19020687,"uuid":"22243947","full_name":"foo123/sweet-macros","owner":"foo123","description":"various sweet.js macros for javascript","archived":false,"fork":false,"pushed_at":"2014-07-26T20:19:32.000Z","size":140,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-02T01:36:09.321Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://foo123.github.io/examples/","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/foo123.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":"2014-07-25T03:41:47.000Z","updated_at":"2025-08-28T18:17:49.000Z","dependencies_parsed_at":"2022-08-28T14:40:50.068Z","dependency_job_id":null,"html_url":"https://github.com/foo123/sweet-macros","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/foo123/sweet-macros","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foo123%2Fsweet-macros","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foo123%2Fsweet-macros/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foo123%2Fsweet-macros/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foo123%2Fsweet-macros/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/foo123","download_url":"https://codeload.github.com/foo123/sweet-macros/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foo123%2Fsweet-macros/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273218422,"owners_count":25065913,"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-09-01T02:00:09.058Z","response_time":120,"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-13T04:04:21.727Z","updated_at":"2025-09-02T01:36:09.861Z","avatar_url":"https://github.com/foo123.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"sweet-macros\n============\n\nvarious sweet.js macros for javascript (in progress)\n\n1. **Class** macro, see [classy.js](https://github.com/foo123/classy.js) \n\n\n2. **ES6 function** with default arguments and rest arguments (in progress)\n\n**Example:**\n\n```javascript\n\nfunction afunc(arg1=123, arg2=null, ...rest)\n{\n    // func body etc..\n}\n\n```\n\n3. C-preprocessor-like **define** macro (in progress)\n\n**Example:**\n\n```javascript\n\n#define ABC 'abc'\n\nconsole.log(ABC);\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoo123%2Fsweet-macros","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffoo123%2Fsweet-macros","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoo123%2Fsweet-macros/lists"}