{"id":24983697,"url":"https://github.com/posthtml/posthtml-expressions","last_synced_at":"2025-04-04T21:08:47.248Z","repository":{"id":4247882,"uuid":"52497971","full_name":"posthtml/posthtml-expressions","owner":"posthtml","description":"Use variables, JS-like expressions, and even markup-powered logic in your HTML.","archived":false,"fork":false,"pushed_at":"2024-07-25T10:01:18.000Z","size":1205,"stargazers_count":123,"open_issues_count":19,"forks_count":20,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-10-29T21:06:04.995Z","etag":null,"topics":["conditional-statements","expressions","loop","posthtml","posthtml-plugin","switch"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/posthtml.png","metadata":{"files":{"readme":"readme.md","changelog":"changelog.md","contributing":".github/contributing.md","funding":".github/funding.yml","license":"license","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},"funding":{"github":null,"patreon":"posthtml","open_collective":"posthtml","ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2016-02-25T04:56:43.000Z","updated_at":"2024-10-15T20:15:35.000Z","dependencies_parsed_at":"2023-07-05T20:32:20.719Z","dependency_job_id":"13bbfb8f-685e-484f-8986-d248137227b7","html_url":"https://github.com/posthtml/posthtml-expressions","commit_stats":{"total_commits":283,"total_committers":16,"mean_commits":17.6875,"dds":0.607773851590106,"last_synced_commit":"8bd4f9204cdaa6665684ac6618fef408cb550948"},"previous_names":["posthtml/posthtml-exp"],"tags_count":31,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posthtml%2Fposthtml-expressions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posthtml%2Fposthtml-expressions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posthtml%2Fposthtml-expressions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posthtml%2Fposthtml-expressions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/posthtml","download_url":"https://codeload.github.com/posthtml/posthtml-expressions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247182422,"owners_count":20897381,"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":["conditional-statements","expressions","loop","posthtml","posthtml-plugin","switch"],"created_at":"2025-02-04T09:20:21.042Z","updated_at":"2025-04-04T21:08:47.227Z","avatar_url":"https://github.com/posthtml.png","language":"JavaScript","readme":"[![npm][npm]][npm-url]\n[![node][node]][node-url]\n[![tests][tests]][tests-url]\n[![coverage][cover]][cover-url]\n[![code style][style]][style-url]\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg width=\"110\" height=\"100\" title=\"PostHTML Plugin\" vspace=\"50\" src=\"http://michael-ciniawsky.github.io/postcss-load-plugins/logo.svg\"\u003e\n  \u003cimg width=\"220\" height=\"200\" title=\"PostHTML\" src=\"http://posthtml.github.io/posthtml/logo.svg\"\u003e\n  \u003ch1\u003eExpressions Plugin\u003c/h1\u003e\n\u003c/div\u003e\n\n\u003ch2 align=\"center\"\u003eInstall\u003c/h2\u003e\n\n```bash\nnpm i -D posthtml-expressions\n```\n\n\u003ch2 align=\"center\"\u003eUsage\u003c/h2\u003e\n\n```js\nconst { readFileSync } = require('fs')\n\nconst posthtml = require('posthtml')\nconst expressions = require('posthtml-expressions')\n\nposthtml(expressions({ locals: { foo: 'bar' } }))\n  .process(readFileSync('index.html', 'utf8'))\n  .then((result) =\u003e console.log(result.html))\n```\n\nThis plugin provides a syntax for including local variables and expressions in your templates, and also extends custom tags to act as helpers for conditionals and looping.\n\nYou have full control over the delimiters used for injecting locals, as well as the tag names for the conditional and loop helpers, if you need them. All options that can be passed to the `expressions` plugin are shown below:\n\n\u003ch2 align=\"center\"\u003eOptions\u003c/h2\u003e\n\n|Option|Default|Description|\n|:----:|:-----:|:----------|\n| **delimiters** | `['{{', '}}']` | Array containing beginning and ending delimiters for escaped locals os [expressions](#expressions) |\n| [**unescapeDelimiters**](#unescaped-locals) | `['{{{', '}}}']` | Array containing beginning and ending delimiters for unescaped locals |\n| [**locals**](#locals) | `{}` | Object containing any local variables you want to be available inside your expressions |\n| **localsAttr** | `locals` | Attribute name for the tag `script` which contains ***[locals](#locals)***|\n| **removeScriptLocals** | `false` | Will remove tag `script` which contains ***[locals](#locals)***|\n| [**conditionalTags**](#conditionals) | `['if', 'elseif', 'else']` | Array containing names for tags used for [*`if/else` statements*](#conditionals) |\n| [**switchTags**](#switchtags) | `['switch', 'case', 'default']` | Array containing names for tags used for [*`switch/case/default` statements*](#switch-statement) |\n| **loopTags** | `['each']` | Array containing names for `for` loops |\n| **scopeTags** | `['scope']` | Array containing names for scopes |\n| [**ignoredTag**](#ignored-tag) | `'raw'` | String containing name of tag inside which parsing is disabled |\n| **strictMode** | `true` | Boolean value set to `false` will not throw an exception if a value in locals not found or expression could not be evaluated|\n| [**missingLocal**](#missing-locals) | `undefined` | string defining the replacement value in case value not found in locals. May contain `{expression}` placeholder|\n\n### Locals\n\nYou can inject locals into any piece of content in your html templates, other than overwriting tag names. For example, if you passed the following config to the expressions plugin:\n\n```js\nlocals: { className: 'intro', name: 'Marlo', 'status': 'checked' }\n```\n\n```html\n\u003cdiv class=\"{{ className }}\"\u003e\n  \u003cinput type=\"radio\" {{ status }}\u003e\n  My name is {{ name }}\n\u003c/div\u003e\n```\n\n```html\n\u003cdiv class=\"intro\"\u003e\n  \u003cinput type=\"radio\" checked=\"\"\u003e\n  My name is Marlo\n\u003c/div\u003e\n```\n\nYou can also use the script tag with the attribute `locals` or you custome attribute containing data to interpolate in the template.\n\n```html\n\u003cscript locals\u003e\n  module.exports = {\n    name: 'Scrum'\n  }\n\u003c/script\u003e\n\n\u003cdiv\u003eMy name: {{name}}\u003c/div\u003e\n```\n\n```html\n\u003cscript locals\u003e\n  module.exports = {\n    name: 'Scrum'\n  }\n\u003c/script\u003e\n\n\u003cdiv\u003eMy name: Scrum\u003c/div\u003e\n```\n\nIn addition, the use of script tag allow you to use `locals` defined globally to assign data to variables.\n\n```js\nposthtml(expressions({ locals: { foo: 'bar' } }))\n  .process(readFileSync('index.html', 'utf8'))\n  .then((result) =\u003e console.log(result.html))\n```\n\n```html\n\u003cscript locals\u003e\n  module.exports = {\n    name: 'Scrum',\n    foo: locals.foo || 'empty'\n  }\n\u003c/script\u003e\n\n\u003cdiv\u003eMy name: {{name}}\u003c/div\u003e\n\u003cdiv\u003eFoo: {{foo}}\u003c/div\u003e\n```\n\n```html\n\u003cscript locals\u003e\n  module.exports = {\n    name: 'Scrum',\n    foo: locals.foo || 'empty'\n  }\n\u003c/script\u003e\n\n\u003cdiv\u003eMy name: {{name}}\u003c/div\u003e\n\u003cdiv\u003eFoo: bar\u003c/div\u003e\n```\n#### Missing locals\nWhat to produce in case of referencing a value not in `locals` can be configured by the `missingLocal` and `strictMode` options.\n\nWhen `strictMode` is true (default) and leaving the `missingLocal` option `undefined`, then \"'foo' is not defined\" exception is thrown.\n\nSetting `strictMode` false and leaving the `missingLocal` option `undefined` results the string `undefined` in the output\n\nSetting the option `missingLocal` to a string will produce that string in the output regardless the value of option `strictMode`. `missingLocal` can contain the placeholder `{local}` which will be replaced with the name of the missing local in the output. This solution allows to:\n1. Silently ignore missing locals by setting `missingLocal` to `\"\"`\n2. Include the name of the missing local in the output to help detect the which value is missing in `locals` like \"#Missing value: {local}\"\n\n|`missingLocal`|`strictMode`|output|\n|:----:|:-----:|:----------|\n| `undefined` (default) | `true` (default) | Error is thrown |\n| `undefined` (default) | `false` | 'undefined' |\n| `''` | `false`/`true` | `''` (not output)\n| `{local}` | `false`/`true` | original reference like `{{foo}}`\n\n### Unescaped Locals\n\nBy default, special characters will be escaped so that they show up as text, rather than html code. For example, if you had a local containing valid html as such:\n\n```js\nlocals: { statement: '\u003cstrong\u003ewow!\u003c/strong\u003e' }\n```\n\n```html\n\u003cp\u003eThe fox said, {{ statement }}\u003c/p\u003e\n```\n\n```html\n\u003cp\u003eThe fox said, \u0026lt;strong\u0026gt;wow!\u0026lt;strong\u0026gt;\u003c/p\u003e\n```\n\nIn your browser, you would see the angle brackets, and it would appear as intended. However, if you wanted it instead to be parsed as html, you would need to use the `unescapeDelimiters`, which by default are three curly brackets, like this:\n\n```html\n\u003cp\u003eThe fox said, {{{ strongStatement }}}\u003c/p\u003e\n```\n\nIn this case, your code would render as html:\n\n```html\n\u003cp\u003eThe fox said, \u003cstrong\u003ewow!\u003cstrong\u003e\u003c/p\u003e\n```\n\n### Expressions\n\nYou are not limited to just directly rendering local variables either, you can include any type of javascript expressions and it will be evaluated, with the result rendered. For example:\n\n```html\n\u003cp class=\"{{ env === 'production' ? 'active' : 'hidden' }}\"\u003ein production!\u003c/p\u003e\n```\n\nWith this in mind, it is strongly recommended to limit the number and complexity of expressions that are run directly in your template. You can always move the logic back to your config file and provide a function to the locals object for a smoother and easier result. For example:\n\n```js\nlocals: {\n  isProduction: (env) =\u003e env === 'production' ? 'active' : 'hidden'\n}\n```\n\n```html\n\u003cp class=\"{{ isProduction(env) }}\"\u003ein production!\u003c/p\u003e\n```\n\n#### Ignoring Expressions\n\nMany JavaScript frameworks use `{{` and `}}` as expression delimiters. It can even happen that another framework uses the same _custom_ delimiters you have defined in this plugin.\n\nYou can tell the plugin to completely ignore an expression by prepending `@` to the delimiters:\n\n```html\n\u003cp\u003eThe @{{ foo }} is strong with this one.\u003c/p\u003e\n```\n\nResult:\n\n```html\n\u003cp\u003eThe {{ foo }} is strong with this one.\u003c/p\u003e\n```\n\n### Conditionals\n\nConditional logic uses normal html tags, and modifies/replaces them with the results of the logic. If there is any chance of a conflict with other custom tag names, you are welcome to change the tag names this plugin looks for in the options. For example, given the following config:\n\n```js\nlocals: { foo: 'foo' }\n```\n\n```html\n\u003cif condition=\"foo === 'bar'\"\u003e\n  \u003cp\u003eFoo really is bar! Revolutionary!\u003c/p\u003e\n\u003c/if\u003e\n\n\u003celseif condition=\"foo === 'wow'\"\u003e\n  \u003cp\u003eFoo is wow, oh man.\u003c/p\u003e\n\u003c/elseif\u003e\n\n\u003celse\u003e\n  \u003cp\u003eFoo is probably just foo in the end.\u003c/p\u003e\n\u003c/else\u003e\n```\n\n```html\n\u003cp\u003eFoo is probably just foo in the end.\u003c/p\u003e\n```\n\nAnything in the `condition` attribute is evaluated directly as an expressions.\n\nIt should be noted that this is slightly cleaner-looking if you are using the [SugarML parser](https://github.com/posthtml/sugarml). But then again so is every other part of html.\n\n```sml\nif(condition=\"foo === 'bar'\")\n  p Foo really is bar! Revolutionary!\n\nelseif(condition=\"foo === 'wow'\")\n  p Foo is wow, oh man.\n\nelse\n  p Foo is probably just foo in the end.\n```\n\n#### `conditionalTags`\n\nType: `array`\\\nDefault: `['if', 'elseif', 'else']`\n\nYou can define custom tag names to use for creating a conditional.\n\nExample:\n\n```js\nconditionalTags: ['when', 'elsewhen', 'otherwise']\n```\n\n```html\n\u003cwhen condition=\"foo === 'bar'\"\u003e\n  \u003cp\u003eFoo really is bar! Revolutionary!\u003c/p\u003e\n\u003c/when\u003e\n\n\u003celsewhen condition=\"foo === 'wow'\"\u003e\n  \u003cp\u003eFoo is wow, oh man.\u003c/p\u003e\n\u003c/elsewhen\u003e\n\n\u003cotherwise\u003e\n  \u003cp\u003eFoo is probably just foo in the end.\u003c/p\u003e\n\u003c/otherwise\u003e\n```\n\nNote: tag names must be in the exact order as the default ones.\n\n### Switch statement\n\nSwitch statements act like streamline conditionals. They are useful for when you want to compare a single variable against a series of constants.\n\n```js\nlocals: { foo: 'foo' }\n```\n\n```html\n\u003cswitch expression=\"foo\"\u003e\n  \u003ccase n=\"'bar'\"\u003e\n    \u003cp\u003eFoo really is bar! Revolutionary!\u003c/p\u003e\n  \u003c/case\u003e\n  \u003ccase n=\"'wow'\"\u003e\n    \u003cp\u003eFoo is wow, oh man.\u003c/p\u003e\n  \u003c/case\u003e\n  \u003cdefault\u003e\n    \u003cp\u003eFoo is probably just foo in the end.\u003c/p\u003e\n  \u003c/default\u003e\n\u003c/switch\u003e\n```\n\n```html\n\u003cp\u003eFoo is probably just foo in the end.\u003c/p\u003e\n```\n\nAnything in the `expression` attribute is evaluated directly as an expressions.\n\n#### `switchTags`\n\nType: `array`\\\nDefault: `['switch', 'case', 'default']`\n\nYou can define custom tag names to use when creating a switch.\n\nExample:\n\n```js\nswitchTags: ['clause', 'when', 'fallback']\n```\n\n```html\n\u003cclause expression=\"foo\"\u003e\n  \u003cwhen n=\"'bar'\"\u003e\n    \u003cp\u003eFoo really is bar! Revolutionary!\u003c/p\u003e\n  \u003c/when\u003e\n  \u003cwhen n=\"'wow'\"\u003e\n    \u003cp\u003eFoo is wow, oh man.\u003c/p\u003e\n  \u003c/when\u003e\n  \u003cfallback\u003e\n    \u003cp\u003eFoo is probably just foo in the end.\u003c/p\u003e\n  \u003c/fallback\u003e\n\u003c/clause\u003e\n```\n\nNote: tag names must be in the exact order as the default ones.\n\n### Loops\n\nYou can use the `each` tag to build loops. It works with both arrays and objects. For example:\n\n```js\nlocals: {\n  array: ['foo', 'bar'],\n  object: { foo: 'bar' }\n}\n```\n\n**Array**\n```html\n\u003ceach loop=\"item, index in array\"\u003e\n  \u003cp\u003e{{ index }}: {{ item }}\u003c/p\u003e\n\u003c/each\u003e\n```\n\n```html\n\u003cp\u003e1: foo\u003c/p\u003e\n\u003cp\u003e2: bar\u003c/p\u003e\n```\n\n**Object**\n```html\n\u003ceach loop=\"value, key in anObject\"\u003e\n  \u003cp\u003e{{ key }}: {{ value }}\u003c/p\u003e\n\u003c/each\u003e\n```\n\n```html\n\u003cp\u003efoo: bar\u003c/p\u003e\n```\n\nThe value of the `loop` attribute is not a pure expressions evaluation, and it does have a tiny and simple custom parser. Essentially, it starts with one or more variable declarations, comma-separated, followed by the word `in`, followed by an expressions.\n\n\n```html\n\u003ceach loop=\"item in [1,2,3]\"\u003e\n  \u003cp\u003e{{ item }}\u003c/p\u003e\n\u003c/each\u003e\n```\n\nSo you don't need to declare all the available variables (in this case, the index is skipped), and the expressions after `in` doesn't need to be a local variable, it can be any expressions.\n\n#### `loopTags`\n\nType: `array`\\\nDefault: `['each']`\n\nYou can define custom tag names to use for creating loops:\n\nExample:\n\n```js\nloopTags: ['each', 'for']\n```\n\nYou can now also use the `\u003cfor\u003e` tag when writing a loop:\n\n```html\n\u003cfor loop=\"item in [1,2,3]\"\u003e\n  \u003cp\u003e{{ item }}\u003c/p\u003e\n\u003c/for\u003e\n```\n\n#### Loop meta\n\nInside a loop, you have access to a special `loop` object, which contains information about the loop currently being executed:\n\n- `loop.index` - the current iteration of the loop (0 indexed)\n- `loop.remaining` - number of iterations until the end (0 indexed)\n- `loop.first` - boolean indicating if it's the first iteration\n- `loop.last` - boolean indicating if it's the last iteration\n- `loop.length` - total number of items\n\nExample:\n\n```html\n\u003ceach loop='item in [1,2,3]'\u003e\n  \u003cli\u003eItem value: {{ item }}\u003c/li\u003e\n  \u003cli\u003eCurrent iteration of the loop: {{ loop.index }}\u003c/li\u003e\n  \u003cli\u003eNumber of iterations until the end: {{ loop.remaining }} \u003c/li\u003e\n  \u003cli\u003eThis {{ loop.first ? 'is' : 'is not' }} the first iteration\u003c/li\u003e\n  \u003cli\u003eThis {{ loop.last ? 'is' : 'is not' }} the last iteration\u003c/li\u003e\n  \u003cli\u003eTotal number of items: {{ loop.length }}\u003c/li\u003e\n\u003c/each\u003e\n```\n\n### Scopes\n\nYou can replace locals inside certain area wrapped in a `\u003cscope\u003e` tag. For example you can use it after [posthtml-include](https://github.com/posthtml/posthtml-include)\n\n```js\nlocals: {\n  author: { name: 'John'},\n  editor: { name: 'Jeff'}\n}\n```\n\n```html\n\u003cscope with=\"author\"\u003e\n  \u003cinclude src=\"components/profile.html\"\u003e\u003c/include\u003e\n\u003c/scope\u003e\n\u003cscope with=\"editor\"\u003e\n  \u003cinclude src=\"components/profile.html\"\u003e\u003c/include\u003e\n\u003c/scope\u003e\n```\n\n```html\n\u003cdiv class=\"profile\"\u003e\n  \u003cdiv class=\"profile__name\"\u003e{{ name }}\u003c/div\u003e\n  \u003cimg class=\"profile__avatar\" src=\"{{ image }}\" alt=\"{{ name }}'s avatar\" /\u003e\n  \u003ca class=\"profile__link\" href=\"{{ link }}\"\u003emore info\u003c/a\u003e\n\u003c/div\u003e\n```\n\n#### `scopeTags`\n\nType: `array`\\\nDefault: `['scope']`\n\nYou can define a custom tag name to use for creating scopes:\n\nExample:\n\n```js\nscopeTags: ['context']\n```\n\nYou can now also use the `\u003ccontext\u003e` tag when writing a scope:\n\n```html\n\u003ccontext with=\"author\"\u003e\n  \u003cinclude src=\"components/profile.html\"\u003e\u003c/include\u003e\n\u003c/context\u003e\n```\n\n### Ignored tag\n\nAnything inside this tag will not be parsed, allowing you to output delimiters and anything the plugin would normally parse, in their original form.\n\n```html\n\u003craw\u003e\n  \u003cif condition=\"foo === 'bar'\"\u003e\n    \u003cp\u003eOutput {{ foo }} as-is\u003c/p\u003e\n  \u003c/if\u003e\n\u003c/raw\u003e\n```\n\n```html\n\u003cif condition=\"foo === 'bar'\"\u003e\n  \u003cp\u003eOutput {{ foo }} as-is\u003c/p\u003e\n\u003c/if\u003e\n```\n\nYou can customize the name of the tag:\n\n```js\nvar opts = {\n  ignoredTag: 'verbatim',\n  locals: { foo: 'bar' } }\n}\n\nposthtml(expressions(opts))\n  .process(readFileSync('index.html', 'utf8'))\n  .then((result) =\u003e console.log(result.html))\n```\n\n```html\n\u003cverbatim\u003e\n  \u003cif condition=\"foo === 'bar'\"\u003e\n    \u003cp\u003eOutput {{ foo }} as-is\u003c/p\u003e\n  \u003c/if\u003e\n\u003c/verbatim\u003e\n```\n\n```html\n\u003cif condition=\"foo === 'bar'\"\u003e\n  \u003cp\u003eOutput {{ foo }} as-is\u003c/p\u003e\n\u003c/if\u003e\n```\n\n\u003ch2 align=\"center\"\u003eMaintainers\u003c/h2\u003e\n\n\u003ctable\u003e\n  \u003ctbody\u003e\n   \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003cimg width=\"150 height=\"150\"\n      src=\"https://avatars.githubusercontent.com/u/556932?v=3\u0026s=150\"\u003e\n      \u003cbr\u003e\n      \u003ca href=\"https://github.com/jescalan\"\u003eJeff Escalante\u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003cimg width=\"150 height=\"150\"\n      src=\"https://avatars.githubusercontent.com/u/7034281?v=3\u0026s=150\"\u003e\n      \u003cbr\u003e\n      \u003ca href=\"https://github.com/mrmlnc\"\u003eDenis Malinochkin\u003c/a\u003e\n    \u003c/td\u003e\n   \u003c/tr\u003e\n  \u003ctbody\u003e\n\u003c/table\u003e\n\n\u003ch2 align=\"center\"\u003eContributors\u003c/h2\u003e\n\n\u003ctable\u003e\n  \u003ctbody\u003e\n   \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003cimg width=\"150 height=\"150\"\n      src=\"https://avatars.githubusercontent.com/u/5419992?v=3\u0026s=150\"\u003e\n      \u003cbr\u003e\n      \u003ca href=\"https://github.com/michael-ciniawsky\"\u003eMichael Ciniawsky\u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003cimg width=\"150 height=\"150\"\n      src=\"https://avatars.githubusercontent.com/u/17473315?v=3\u0026s=150\"\u003e\n      \u003cbr\u003e\n      \u003ca href=\"https://github.com/xakdog\"\u003eKrillin\u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003cimg width=\"150 height=\"150\"\n      src=\"https://avatars0.githubusercontent.com/u/1656595?s=150\u0026v=4\"\u003e\n      \u003cbr\u003e\n      \u003ca href=\"https://github.com/cossssmin\"\u003eCosmin Popovici\u003c/a\u003e\n    \u003c/td\u003e\n   \u003c/tr\u003e\n  \u003ctbody\u003e\n\u003c/table\u003e\n\n\n[npm]: https://img.shields.io/npm/v/posthtml-expressions.svg\n[npm-url]: https://npmjs.com/package/posthtml-expressions\n\n[node]: https://img.shields.io/node/v/posthtml-expressions.svg\n[node-url]: https://nodejs.org/\n\n[deps]: https://david-dm.org/posthtml/posthtml-expressions.svg\n[deps-url]: https://david-dm.org/posthtml/posthtml-expressions\n\n[tests]: https://github.com/posthtml/posthtml-expressions/workflows/Actions%20Status/badge.svg?style=flat-square\n[tests-url]: https://github.com/posthtml/posthtml-expressions/actions?query=workflow%3A%22CI+tests%22\n\n[cover]: https://coveralls.io/repos/github/posthtml/posthtml-expressions/badge.svg\n[cover-url]: https://coveralls.io/github/posthtml/posthtml-expressions\n\n[style]: https://img.shields.io/badge/code%20style-standard-yellow.svg\n[style-url]: http://standardjs.com/\n","funding_links":["https://patreon.com/posthtml","https://opencollective.com/posthtml"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fposthtml%2Fposthtml-expressions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fposthtml%2Fposthtml-expressions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fposthtml%2Fposthtml-expressions/lists"}