{"id":15091882,"url":"https://github.com/bendera/handlebars-helper-placeholder","last_synced_at":"2025-03-22T11:40:48.055Z","repository":{"id":57260543,"uuid":"75227704","full_name":"bendera/handlebars-helper-placeholder","owner":"bendera","description":"Holder.js inspired placeholder image helper for Handlebars","archived":false,"fork":false,"pushed_at":"2016-12-02T23:21:58.000Z","size":9,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-28T14:46:24.737Z","etag":null,"topics":["handlebars","handlebars-helper","handlebars-helpers","handlebars-js"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/bendera.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2016-11-30T21:13:54.000Z","updated_at":"2025-02-23T18:39:39.000Z","dependencies_parsed_at":"2022-08-25T02:40:15.539Z","dependency_job_id":null,"html_url":"https://github.com/bendera/handlebars-helper-placeholder","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendera%2Fhandlebars-helper-placeholder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendera%2Fhandlebars-helper-placeholder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendera%2Fhandlebars-helper-placeholder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendera%2Fhandlebars-helper-placeholder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bendera","download_url":"https://codeload.github.com/bendera/handlebars-helper-placeholder/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244952554,"owners_count":20537467,"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":["handlebars","handlebars-helper","handlebars-helpers","handlebars-js"],"created_at":"2024-09-25T11:00:37.028Z","updated_at":"2025-03-22T11:40:48.019Z","avatar_url":"https://github.com/bendera.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# handlebars-helper-placeholder\n\nHandlebars helper which generate an inline placeholder svg.\n\n## Usage example\n\n```\n\u003cimg src=\"{{placeholder width='100' height='100'}}\" width=\"100\" height=\"100\" alt=\"example image\"\u003e\n```\n\n## Options\n\n* `width` Image width. Default: `100%`\n* `height` Image height. Default: `100%`\n* `bg` Background color. Default: `#dddddd`\n* `fg` Foreground color. Default: `#ffffff`\n* `font` Font family. Dfeault: `sans-serif`\n* `size` Font size. Default: `14px`\n* `weight` Font weight. Default: `bold`\n* `text` Custom text. Default: `[width]x[height]`\n\n## Installation\n\n`npm install handlebars-helper-placeholder --save`\n\n### Usage with [Fractal](http://fractal.build)\n\n```\nconst placeholder = require('handlebars-helper-placeholder');\n\nconst hbs = require('@frctl/handlebars')({\n    helpers: {\n        placeholder: placeholder\n    }\n});\n\nfractal.components.engine(hbs);\nfractal.docs.engine(hbs);\n```\n\n### Usage with [Assemble](http://assemble.io/)\n\nComing soon...\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbendera%2Fhandlebars-helper-placeholder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbendera%2Fhandlebars-helper-placeholder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbendera%2Fhandlebars-helper-placeholder/lists"}