{"id":21405353,"url":"https://github.com/karimsa/fly-mz","last_synced_at":"2025-03-16T16:51:03.803Z","repository":{"id":57239236,"uuid":"93981616","full_name":"karimsa/fly-mz","owner":"karimsa","description":"Write flyfile.js with modern JS (ES2015+).","archived":false,"fork":false,"pushed_at":"2017-06-11T08:27:19.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-11T21:03:58.036Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/karimsa.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":"2017-06-11T04:30:27.000Z","updated_at":"2017-06-11T05:01:03.000Z","dependencies_parsed_at":"2022-08-30T00:11:13.202Z","dependency_job_id":null,"html_url":"https://github.com/karimsa/fly-mz","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karimsa%2Ffly-mz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karimsa%2Ffly-mz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karimsa%2Ffly-mz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karimsa%2Ffly-mz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/karimsa","download_url":"https://codeload.github.com/karimsa/fly-mz/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243902293,"owners_count":20366259,"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-22T16:24:43.978Z","updated_at":"2025-03-16T16:51:03.777Z","avatar_url":"https://github.com/karimsa.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fly-mz\n\nWrite `flyfile.js` with modern JS (ES2015+).\n\n[![NPM](https://nodei.co/npm/fly-mz.png?downloads=true\u0026downloadRank=true\u0026stars=true)](https://nodei.co/npm/fly-mz/)\n\n## Usage\n\nTo use, first install via npm (see above) and then just call fly normally.\n\nYou should now be able to write your `flyfile.js` with all the ES2015+ code\nyou want. For instance:\n\n```javascript\nconst fly = require('fly-load')()\n\nexport default function* () {\n  yield fly.source(/* do magic */)\n}\n```\n\n### Advantages over `fly-esnext`\n\nThis project is based on the ideas of `fly-esnext`, but uses babel instead\nof regexp. Due to this, you can space your code the way you like and you will\nautomatically have ES2015+ support and not just limited features (like async/await).\n\nThe only drawback to this is that on older versions of node that require more\ntranspiling (i.e. node v4), it will be marginally slower than using `fly-esnext`. But\nthe trade off is between the marginal performance and proper feature support.\n\n`fly-mz` also uses proper contextualized script running so you can write regular node\ncode in your `flyfile.js` (like use `console.log()`) which is not supported by `fly-esnext`.\n\n## License\n\nCopyright (C) 2017 Karim Alibhai.\n\nLicensed under MIT license.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkarimsa%2Ffly-mz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkarimsa%2Ffly-mz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkarimsa%2Ffly-mz/lists"}