{"id":22188839,"url":"https://github.com/qwreey/lune-minify-js","last_synced_at":"2025-04-10T23:32:18.939Z","repository":{"id":262433223,"uuid":"887218637","full_name":"qwreey/lune-minify-js","owner":"qwreey","description":"minify-js binding for lune runtime","archived":false,"fork":false,"pushed_at":"2024-11-12T18:02:12.000Z","size":19,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-05T08:11:32.402Z","etag":null,"topics":["luau","lune","minify-javascript","web"],"latest_commit_sha":null,"homepage":"","language":"Luau","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/qwreey.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,"zenodo":null}},"created_at":"2024-11-12T11:21:01.000Z","updated_at":"2024-11-24T21:29:31.000Z","dependencies_parsed_at":"2025-04-10T23:31:23.612Z","dependency_job_id":null,"html_url":"https://github.com/qwreey/lune-minify-js","commit_stats":null,"previous_names":["qwreey/lune-minify-js"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qwreey%2Flune-minify-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qwreey%2Flune-minify-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qwreey%2Flune-minify-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qwreey%2Flune-minify-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qwreey","download_url":"https://codeload.github.com/qwreey/lune-minify-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248316097,"owners_count":21083382,"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":["luau","lune","minify-javascript","web"],"created_at":"2024-12-02T11:12:50.377Z","updated_at":"2025-04-10T23:32:18.917Z","avatar_url":"https://github.com/qwreey.png","language":"Luau","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lune-minify-js\n\nSimple [minify-js](https://github.com/wilsonzlin/minify-js) wrapper for lune runtime, with ffi edge feature.\n\n## Example usage\n\nRun `cargo build --profile=release` first to get shared object.\n\n```luau\nlocal minify_js = require(\"./minify-js\")\n    .new(\"./minify-js/target/release/liblune_minify_js.so\")\n\n-- Throw error if syntax error in code\nlocal result = minify_js:minify([[\n    // Javascript code here\n    return function (numberA, numberB) {\n        return numberA + numberB\n    }\n]], minify_js.TopLevelMode.Global)\n\nprint(result) -- return ((a,b)=\u003ea+ b)\n\nminify_js:drop() -- Drop library datas\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqwreey%2Flune-minify-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqwreey%2Flune-minify-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqwreey%2Flune-minify-js/lists"}