{"id":16348004,"url":"https://github.com/ai/file-container","last_synced_at":"2025-10-05T17:23:11.266Z","repository":{"id":20021572,"uuid":"23289409","full_name":"ai/file-container","owner":"ai","description":"Store different languages in one source file","archived":false,"fork":false,"pushed_at":"2014-12-18T12:52:39.000Z","size":129,"stargazers_count":14,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-13T20:52:11.663Z","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/ai.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}},"created_at":"2014-08-24T18:45:38.000Z","updated_at":"2020-04-21T20:29:07.000Z","dependencies_parsed_at":"2022-08-27T03:41:25.927Z","dependency_job_id":null,"html_url":"https://github.com/ai/file-container","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/ai%2Ffile-container","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ai%2Ffile-container/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ai%2Ffile-container/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ai%2Ffile-container/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ai","download_url":"https://codeload.github.com/ai/file-container/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234669996,"owners_count":18869115,"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-10-11T00:48:03.455Z","updated_at":"2025-09-29T22:30:58.912Z","avatar_url":"https://github.com/ai.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# File Container [![Build Status](https://travis-ci.org/ai/file-container.svg)](https://travis-ci.org/ai/file-container)\n\nParser for file format to store different languages in one file:\n\n```js\n$('.signup').click(function () {\n    app.showSignup();\n});\n\nsass:\n  .signup\n    background: green\n    color: white\n\nhaml:\n  %a.signup( href=\"#signup\" )\n    Signup\n```\n\n```js\nvar parser  = require('file-container');\nvar control = parser(code);\n\ncontrol.main //=\u003e $('.signup').click(function () {\n             //=\u003e     app.showSignup();\n             //=\u003e });\ncontrol.sass //=\u003e .signup\n             //=\u003e   background: green\n             //=\u003e   color: white\ncontrol.haml //=\u003e %a.signup( href=\"#signup\" )\n             //=\u003e   Signup\n```\n\n\u003ca href=\"https://evilmartians.com/?utm_source=file-container\"\u003e\n\u003cimg src=\"https://evilmartians.com/badges/sponsored-by-evil-martians.svg\" alt=\"Sponsored by Evil Martians\" width=\"236\" height=\"54\"\u003e\n\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fai%2Ffile-container","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fai%2Ffile-container","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fai%2Ffile-container/lists"}