{"id":20428249,"url":"https://github.com/imranbarbhuiya/tagscript","last_synced_at":"2025-04-09T20:03:46.828Z","repository":{"id":36964451,"uuid":"483122756","full_name":"imranbarbhuiya/TagScript","owner":"imranbarbhuiya","description":"A simple and safe template engine.","archived":false,"fork":false,"pushed_at":"2025-04-09T16:35:03.000Z","size":19112,"stargazers_count":27,"open_issues_count":12,"forks_count":6,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-09T17:43:08.307Z","etag":null,"topics":["hacktoberfest","safe-parsing","string-parser","tagscript"],"latest_commit_sha":null,"homepage":"https://tagscript.js.org","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/imranbarbhuiya.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["imranbarbhuiya"]}},"created_at":"2022-04-19T06:26:01.000Z","updated_at":"2025-04-03T02:20:49.000Z","dependencies_parsed_at":"2023-12-22T08:31:50.329Z","dependency_job_id":"a0030d3b-c122-4974-9e18-4118dc0b0b03","html_url":"https://github.com/imranbarbhuiya/TagScript","commit_stats":{"total_commits":705,"total_committers":8,"mean_commits":88.125,"dds":"0.42269503546099296","last_synced_commit":"d0cc35154a1c506abfe6ad44a9c68d524a737aed"},"previous_names":[],"tags_count":67,"template":false,"template_full_name":"imranbarbhuiya/package-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imranbarbhuiya%2FTagScript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imranbarbhuiya%2FTagScript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imranbarbhuiya%2FTagScript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imranbarbhuiya%2FTagScript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imranbarbhuiya","download_url":"https://codeload.github.com/imranbarbhuiya/TagScript/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248084190,"owners_count":21045123,"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":["hacktoberfest","safe-parsing","string-parser","tagscript"],"created_at":"2024-11-15T07:24:49.406Z","updated_at":"2025-04-09T20:03:46.788Z","avatar_url":"https://github.com/imranbarbhuiya.png","language":"TypeScript","readme":"\u003cdiv align=\"center\"\u003e\n\n\u003cimg alt=\"TagScript Logo\" src=\"https://raw.githubusercontent.com/imranbarbhuiya/TagScript/main/.github/logo_short.png\" height=\"200\"/\u003e\n\n# TagScript\n\n**A simple and safe template engine.**\n\n[![Continuous Integration](https://github.com/imranbarbhuiya/TagScript/actions/workflows/continuous-integration.yml/badge.svg)](https://github.com/imranbarbhuiya/TagScript/actions/workflows/continuous-integration.yml)\n[![codecov](https://codecov.io/gh/imranbarbhuiya/tagscript/branch/main/graph/badge.svg?precision=2)](https://codecov.io/gh/imranbarbhuiya/tagscript)\n\n## Packages\n\n[![npm](https://img.shields.io/npm/v/tagscript?color=crimson\u0026logo=npm\u0026style=flat-square)](https://www.npmjs.com/package/tagscript)\n[![codecov](https://codecov.io/gh/imranbarbhuiya/tagscript/branch/main/graph/badge.svg?precision=2\u0026flag=tagscript)](https://codecov.io/gh/imranbarbhuiya/tagscript)\n[![npm-tagscript](https://img.shields.io/npm/dw/tagscript)](https://www.npmjs.com/package/tagscript)\n[![npm](https://img.shields.io/npm/v/@tagscript/plugin-discord?color=crimson\u0026logo=npm\u0026style=flat-square\u0026label=@tagscript/plugin-discord)](https://www.npmjs.com/package/@tagscript/plugin-discord)\n[![codecov-tagscript](https://codecov.io/gh/imranbarbhuiya/tagscript/branch/main/graph/badge.svg?precision=2\u0026flag=plugin-discord)](https://codecov.io/gh/imranbarbhuiya/tagscript)\n[![npm-tagscript-plugin-discord](https://img.shields.io/npm/dw/@tagscript/plugin-discord)](https://www.npmjs.com/package/@tagscript/plugin-discord)\n\n\u003c/div\u003e\n\n## Description\n\nTagScript is a drop in easy to use string interpreter that lets you provide users with ways of customizing their profiles or chat rooms with interactive text.\n\nRead Full Documentation [here](https://tagscript.js.org/).\n\n## Features\n\n- Written In Typescript\n- Offers CJS, ESM and UMD builds\n- Full TypeScript \u0026 JavaScript support\n- Blazingly Fast ⚡\n- Simple, expressive and safe template engine.\n- Supports many [plugins](https://github.com/imranbarbhuiya/tagscript/packages/).\n\n## Usage\n\n---\n\n**Note:** While examples uses `import`, it maps 1:1 with CommonJS' require syntax. For example,\n\n```ts\nimport { Interpreter } from 'tagscript';\n```\n\nis the same as\n\n```js\nconst { Interpreter } = require('tagscript');\n```\n\n---\n\n```ts showLineNumbers\nimport { Interpreter, RandomParser, RangeParser, FiftyFiftyParser, IfStatementParser, SliceParser } from 'tagscript';\nconst ts = new Interpreter(new SliceParser(), new FiftyFiftyParser(), new RandomParser(), new IfStatementParser());\n\nconst result = await ts.run(\n\t`\n    {random: Parbez,Rkn,Priyansh} attempts to pick the lock!,\n    I pick {if({5050:.}!=):heads|tails}\n    `\n); // Parbez attempts to pick the lock!, I pick heads\n```\n\nFor more usage, check out the documentation [here](https://tagscript.js.org/).\n\n## Buy me some doughnuts\n\nIf you want to support me by donating, you can do so by using any of the following methods. Thank you very much in advance!\n\n\u003ca href=\"https://www.buymeacoffee.com/parbez\" target=\"_blank\"\u003e\u003cimg src=\"https://cdn.buymeacoffee.com/buttons/default-orange.png\" alt=\"Buy Me A Coffee\" height=\"41\" width=\"174\"\u003e\u003c/a\u003e\n\u003ca href='https://ko-fi.com/Y8Y1CBIJH' target='_blank'\u003e\u003cimg height='36' style='border:0px;height:36px;' src='https://cdn.ko-fi.com/cdn/kofi4.png?v=3' border='0' alt='Buy Me a Coffee at ko-fi.com' /\u003e\u003c/a\u003e\n\n## Contributors ✨\n\nThanks goes to these wonderful people:\n\n\u003ca href=\"https://github.com/imranbarbhuiya/TagScript/graphs/contributors\"\u003e\n    \u003cimg src=\"https://contrib.rocks/image?repo=imranbarbhuiya/TagScript\" /\u003e\n\u003c/a\u003e\n","funding_links":["https://github.com/sponsors/imranbarbhuiya","https://www.buymeacoffee.com/parbez","https://ko-fi.com/Y8Y1CBIJH'"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimranbarbhuiya%2Ftagscript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimranbarbhuiya%2Ftagscript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimranbarbhuiya%2Ftagscript/lists"}