{"id":19217493,"url":"https://github.com/lwdgit/fis-parser-js-macro","last_synced_at":"2026-06-12T01:31:32.425Z","repository":{"id":36344229,"uuid":"40648961","full_name":"lwdgit/fis-parser-js-macro","owner":"lwdgit","description":"A simple js macro for fis \u0026 fis3","archived":false,"fork":false,"pushed_at":"2015-09-01T14:18:02.000Z","size":168,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-18T22:05:03.867Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lwdgit.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-08-13T08:57:37.000Z","updated_at":"2015-08-16T12:17:47.000Z","dependencies_parsed_at":"2022-08-26T14:04:15.200Z","dependency_job_id":null,"html_url":"https://github.com/lwdgit/fis-parser-js-macro","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/lwdgit%2Ffis-parser-js-macro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lwdgit%2Ffis-parser-js-macro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lwdgit%2Ffis-parser-js-macro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lwdgit%2Ffis-parser-js-macro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lwdgit","download_url":"https://codeload.github.com/lwdgit/fis-parser-js-macro/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240292365,"owners_count":19778311,"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-11-09T14:22:30.719Z","updated_at":"2025-11-14T01:03:25.613Z","avatar_url":"https://github.com/lwdgit.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A simple js macro for fis \u0026 fis3\n\n\n## Install\n\n    npm install -g fis-parser-js-macro\n    \n## Demo\n\n```javascript\n\n{{if (define.product=='mobile')}}\n    console.log(\"true\");\n    {{if (true)}}\n        console.log('fsdffs')\n        {{if (!false)}}console.log('false'){{else}}\n            console.log('success');\n        {{/if}}\n        console.log('fsdffs true')\n    {{/if}}\n{{else if (2==12)}}\n    console.log('hello');\n{{else if (3==3)}}\n    console.log(\"false\");\n    var c='1';\n{{/if}}\n\n```\n\n```javascript\n//fis3-conf\nfis.match('**.js', {\n  parser: fis.plugin('js-macro', {\n    define: {\n        product: 'mobile'\n    }\n  })\n});\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flwdgit%2Ffis-parser-js-macro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flwdgit%2Ffis-parser-js-macro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flwdgit%2Ffis-parser-js-macro/lists"}