{"id":22609415,"url":"https://github.com/flamesx-128/denotag","last_synced_at":"2025-04-11T06:30:14.854Z","repository":{"id":62422408,"uuid":"426416654","full_name":"FlamesX-128/denoTag","owner":"FlamesX-128","description":"A simple html preprocessor for deno.","archived":false,"fork":false,"pushed_at":"2025-02-21T02:58:16.000Z","size":12,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-10T18:01:44.632Z","etag":null,"topics":["deno","preprocessor","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/FlamesX-128.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2021-11-09T23:14:24.000Z","updated_at":"2025-02-21T02:58:20.000Z","dependencies_parsed_at":"2022-11-01T17:33:11.770Z","dependency_job_id":null,"html_url":"https://github.com/FlamesX-128/denoTag","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FlamesX-128%2FdenoTag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FlamesX-128%2FdenoTag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FlamesX-128%2FdenoTag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FlamesX-128%2FdenoTag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FlamesX-128","download_url":"https://codeload.github.com/FlamesX-128/denoTag/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248355163,"owners_count":21089958,"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":["deno","preprocessor","typescript"],"created_at":"2024-12-08T15:12:14.200Z","updated_at":"2025-04-11T06:30:14.833Z","avatar_url":"https://github.com/FlamesX-128.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Deno Tag\n\nA simple HTML preprocessor for Deno.\n\n## Example\n\n```ts, deno@2.2.0\nimport { render } from \"https://deno.land/x/denotag@0.2.0/mod.ts\";\n\nconst html = Deno.readTextFileSync(\n    new URL(\"assets/main.html\", import.meta.url)\n);\n\nconsole.log(\n    await render(html, {\n        params: {\n            timestamp: Date.now()\n        }\n    })\n)\n```\n\n```html\n\u003c!-- You can use \u003cdeno\u003e, \u003cscript type=\"application/typescript\"\u003e, or a custom query by adjusting the configuration. --\u003e\n\u003cbody\u003e\n    \u003cp\u003e\n        The value of the fibonacci sequence is:\n        \u003cscript type=\"application/typescript\"\u003e\n            function fibonacci(n: number): number {\n                if (n \u003c= 1) {\n                    return n;\n                }\n                return fibonacci(n - 1) + fibonacci(n - 2);\n            }\n    \n            return fibonacci(20);\n        \u003c/script\u003e\n    \u003c/p\u003e\n\n    \u003cdeno\u003e\n        return Date.now() - params.timestamp;\n    \u003c/deno\u003e\n\u003c/body\u003e\n```\n\n```html\n\u003c!-- When evaluated, it becomes into this --\u003e\n\u003cbody\u003e\n    \u003cp\u003e\n        The value of the fibonacci sequence is:\n        6765\n    \u003c/p\u003e\n\n    13\n\u003c/body\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflamesx-128%2Fdenotag","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflamesx-128%2Fdenotag","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflamesx-128%2Fdenotag/lists"}