{"id":19267252,"url":"https://github.com/molingyu/macrocc","last_synced_at":"2025-02-23T19:30:15.940Z","repository":{"id":95786596,"uuid":"89448882","full_name":"molingyu/macroCC","owner":"molingyu","description":"JavaScript Conditional Compilation Macro.","archived":false,"fork":false,"pushed_at":"2017-07-06T13:14:56.000Z","size":78,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-05T15:03:06.259Z","etag":null,"topics":["conditional-compilation","es6","macro"],"latest_commit_sha":null,"homepage":null,"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/molingyu.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":"2017-04-26T07:00:27.000Z","updated_at":"2022-11-02T14:21:10.000Z","dependencies_parsed_at":"2023-04-23T20:26:33.396Z","dependency_job_id":null,"html_url":"https://github.com/molingyu/macroCC","commit_stats":{"total_commits":30,"total_committers":2,"mean_commits":15.0,"dds":"0.19999999999999996","last_synced_commit":"5fd65ff8905d466de7411832279ca81d60e8a6fe"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/molingyu%2FmacroCC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/molingyu%2FmacroCC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/molingyu%2FmacroCC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/molingyu%2FmacroCC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/molingyu","download_url":"https://codeload.github.com/molingyu/macroCC/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240367782,"owners_count":19790316,"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":["conditional-compilation","es6","macro"],"created_at":"2024-11-09T20:11:20.107Z","updated_at":"2025-02-23T19:30:15.911Z","avatar_url":"https://github.com/molingyu.png","language":"JavaScript","readme":"# MacroCC\n[![Build Status](https://travis-ci.org/molingyu/macroCC.svg?branch=master)](https://travis-ci.org/molingyu/macroCC)\n[![Coverage Status](https://coveralls.io/repos/github/molingyu/macroCC/badge.svg?branch=master)](https://coveralls.io/github/molingyu/macroCC?branch=master)\n[![npm version](https://badge.fury.io/js/macro-cc.svg)](https://badge.fury.io/js/macro-cc)\n[![Join the chat](https://badges.gitter.im/macro-cc/lobby.svg)](https://gitter.im/macro-cc/lobby)\n[![Dependency Status](https://www.versioneye.com/user/projects/594880870fb24f0032ea1b44/badge.svg?style=flat-square)](https://www.versioneye.com/user/projects/594880870fb24f0032ea1b44)\n\n[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fmolingyu%2FmacroCC.svg?type=large)](https://app.fossa.io/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fmolingyu%2FmacroCC?ref=badge_large)\n\n\nA useful javascript Conditional Compilation macro.\n\n# Example\n\n```javascript\n//#define a = 233\nvar a = /*# a */ / 2\n//#if a \u003e 100\nconsole.log(100)\n//#else\nconsole.log(0)\n//#end\nconsole.log('hello macroCC!')\n```\n\ncc:\n```javascript\nvar a = 233 / 2\nconsole.log(100)\nconsole.log('hello macroCC!')\n```\n\n# License\n\n[MIT](/LICENSE)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmolingyu%2Fmacrocc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmolingyu%2Fmacrocc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmolingyu%2Fmacrocc/lists"}