{"id":20449842,"url":"https://github.com/didel/front-end-challenge","last_synced_at":"2026-06-06T17:31:17.344Z","repository":{"id":69586671,"uuid":"166604631","full_name":"Didel/Front-end-Challenge","owner":"Didel","description":null,"archived":false,"fork":false,"pushed_at":"2019-01-20T00:11:01.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-15T22:29:11.140Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Didel.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":"2019-01-19T23:33:45.000Z","updated_at":"2019-01-20T00:11:03.000Z","dependencies_parsed_at":"2023-03-12T04:30:18.036Z","dependency_job_id":null,"html_url":"https://github.com/Didel/Front-end-Challenge","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/Didel%2FFront-end-Challenge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Didel%2FFront-end-Challenge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Didel%2FFront-end-Challenge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Didel%2FFront-end-Challenge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Didel","download_url":"https://codeload.github.com/Didel/Front-end-Challenge/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241997892,"owners_count":20055177,"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-15T10:48:45.889Z","updated_at":"2026-06-06T17:31:16.997Z","avatar_url":"https://github.com/Didel.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Front-end Challenge\n\n## Installation\nTo install this project, clone the project into a directory on your machine and run `npm install` from within the project folder.\n\n## Building\nTo build the template, you can run `npm run build` from within the project folder.\n\n## Setup\nThe file located at [./build/twig.js](./build/twig.js) can be used to compile Twig files to HTML. It can be used in the following way:\n\n`node ./build/twig.js [param1] [param2]`\n\nThe first parameter is mandatory, and should be used to indicate which twig template should be rendered. Variables in the Twig file can be defined in a .json file at the same location and with the exact same name as the .twig file it should be added for. By using this naming convention, it will automatically be included when rendering a twig file, without the need to define it as a separate option. If you want to use another filename, you will have to explicitly include it as the second parameter.\n\nFor example, `node ./build/twig.js ./menu.twig` will render the ./menu.twig file using the data defined in ./menu.json\n\nThe resulting HTML will be written to an HTML file with the same name as the twig file (except for the file extension). In the above example, the resulting file will be named ./menu.html","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdidel%2Ffront-end-challenge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdidel%2Ffront-end-challenge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdidel%2Ffront-end-challenge/lists"}