{"id":21302229,"url":"https://github.com/lasso-js/lasso-marko","last_synced_at":"2025-07-11T20:31:35.622Z","repository":{"id":14699247,"uuid":"17419379","full_name":"lasso-js/lasso-marko","owner":"lasso-js","description":"Lasso.js plugin to support compilation of Marko template files","archived":false,"fork":false,"pushed_at":"2024-06-01T03:11:49.000Z","size":1402,"stargazers_count":13,"open_issues_count":15,"forks_count":4,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-06-17T04:15:46.599Z","etag":null,"topics":["lasso","marko"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lasso-js.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2014-03-04T22:21:28.000Z","updated_at":"2024-06-01T03:11:52.000Z","dependencies_parsed_at":"2024-05-31T19:29:07.616Z","dependency_job_id":"c4bde882-b42e-4244-ab80-03a231fbc558","html_url":"https://github.com/lasso-js/lasso-marko","commit_stats":{"total_commits":126,"total_committers":8,"mean_commits":15.75,"dds":0.5079365079365079,"last_synced_commit":"373ef9a4aaa02564991195b023c21edc23eabcbf"},"previous_names":["raptorjs/optimizer-marko","raptorjs3/raptor-optimizer-rhtml"],"tags_count":57,"template":false,"template_full_name":null,"purl":"pkg:github/lasso-js/lasso-marko","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lasso-js%2Flasso-marko","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lasso-js%2Flasso-marko/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lasso-js%2Flasso-marko/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lasso-js%2Flasso-marko/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lasso-js","download_url":"https://codeload.github.com/lasso-js/lasso-marko/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lasso-js%2Flasso-marko/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264892301,"owners_count":23679268,"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":["lasso","marko"],"created_at":"2024-11-21T15:55:26.165Z","updated_at":"2025-07-11T20:31:35.257Z","avatar_url":"https://github.com/lasso-js.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"lasso-marko\n===============\n\n_NOTE: lasso-marko@4 requires marko \u003e= 5, @marko/compiler \u003e= 5.33 and lasso \u003e= 3. For older versions use lasso-marko@3._\n\nPlugin for the [Lasso.js](https://github.com/lasso-js/lasso) to support compilation and transport of [Marko](https://github.com/raptorjs/marko) template files. Templates are compiled using the [Marko](https://github.com/raptorjs/marko) compiler that produces a CommonJS module as output.\n\n# Usage\n\n```bash\nnpm install lasso-marko --save\n```\n\nRegister the plugin when configuring the lasso. For example:\n```js\nrequire('lasso').configure({\n    \"plugins\": [\n        ...\n        \"lasso-marko\"\n    ]\n    ...\n});\n```\n\nRequired Marko templates will automatically be found via static code analysis when loaded, eg like:\n\n```javascript\nvar template = require('./template.marko');\n\ntemplate.render({\n        name: 'Frank'\n    },\n    function(err, output) {\n        console.log(output);\n    });\n```\n\nTo explicitly declare templates that may not be discovered via static code analysis of CommonJS modules, you can also choose to declare Marko template dependencies in an `browser.json` file.\n\n```json\n{\n    \"dependencies\": [\n        \"marko-dependencies: ./template.marko\"\n    ]\n}\n```\n\n# Contributors\n\n* [Patrick Steele-Idem](https://github.com/patrick-steele-idem) (Twitter: [@psteeleidem](http://twitter.com/psteeleidem))\n* [Phillip Gates-Idem](https://github.com/philidem/) (Twitter: [@philidem](https://twitter.com/philidem))\n\n# Contribute\n\nPull Requests welcome. Please submit Github issues for any feature enhancements, bugs or documentation problems.\n\n# License\n\nApache License v2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flasso-js%2Flasso-marko","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flasso-js%2Flasso-marko","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flasso-js%2Flasso-marko/lists"}