{"id":18779267,"url":"https://github.com/webcaetano/gulp-jinx-inject","last_synced_at":"2025-08-29T02:37:52.089Z","repository":{"id":31447326,"uuid":"35011102","full_name":"webcaetano/gulp-jinx-inject","owner":"webcaetano","description":"GulpJS plugin for inject Jinx .AS packages files","archived":false,"fork":false,"pushed_at":"2015-05-05T10:10:34.000Z","size":172,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-30T05:49:30.769Z","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/webcaetano.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-05-04T03:01:23.000Z","updated_at":"2015-05-05T10:10:34.000Z","dependencies_parsed_at":"2022-08-25T21:22:41.422Z","dependency_job_id":null,"html_url":"https://github.com/webcaetano/gulp-jinx-inject","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/webcaetano/gulp-jinx-inject","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webcaetano%2Fgulp-jinx-inject","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webcaetano%2Fgulp-jinx-inject/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webcaetano%2Fgulp-jinx-inject/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webcaetano%2Fgulp-jinx-inject/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webcaetano","download_url":"https://codeload.github.com/webcaetano/gulp-jinx-inject/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webcaetano%2Fgulp-jinx-inject/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272612178,"owners_count":24964388,"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-08-29T02:00:10.610Z","response_time":87,"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-11-07T20:19:26.320Z","updated_at":"2025-08-29T02:37:52.030Z","avatar_url":"https://github.com/webcaetano.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/webcaetano/gulp-jinx-inject.svg?branch=master)](https://travis-ci.org/webcaetano/gulp-jinx-inject) [![npm version](https://badge.fury.io/js/gulp-jinx-inject.svg)](http://badge.fury.io/js/gulp-jinx-inject)\n\n# [![Imgur](http://i.imgur.com/FHjshUv.png)](https://github.com/webcaetano/jinx)\n\n#### DEPRECATED \n\nJinx now have a [compiler](https://github.com/webcaetano/jinx-compiler), and module exports\n\n### Gulp Jinx Inject\n\nThis is an GulpJS plugin for inject [Jinx](https://github.com/webcaetano/jinx) .AS packages files\n\n### Installation\n\n```\nnpm install gulp-jinx-inject\n```\n\n### Usage \n\n```javascript\nvar jinxInject = require('gulp-jinx-inject');\nvar tmpMainFile = '.tmp/as/app/flash/main.as';\nvar pkgs = require('jinx-loader')(tmpMainFile);\n\nreturn gulp.src(tmpMainFile) // file path to inject\n\t.pipe(jinxInject(pkgs.as))\n\t.pipe(gulp.dest(path.dirname(tmpMainFile))); // injected file\n```\n\n### Result example\n```javascript\n// before \n\npackage {\n\nimport flash.display.*;\n\npublic class main extends Sprite {\npublic function main() {\n\n\t// [[inject:jinx]]\n\n\tinclude 'partials/bar.as';\n}}}\n\n// after\n\npackage {\n\nimport flash.display.*;\n\npublic class main extends Sprite {\npublic function main() {\n\n\tinclude '../../../node_modules/jinx-mempanel/index.as';\n \tinclude '../../../node_modules/jinx.as/jinx.as';\n\n\tinclude 'partials/bar.as';\n}}}\n```\n\n\n---------------------------------\n\nThe MIT [License](https://raw.githubusercontent.com/webcaetano/gulp-jinx-inject/master/LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebcaetano%2Fgulp-jinx-inject","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebcaetano%2Fgulp-jinx-inject","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebcaetano%2Fgulp-jinx-inject/lists"}