{"id":13424185,"url":"https://github.com/lithiumjake/vue-placeholders","last_synced_at":"2025-03-15T18:34:09.542Z","repository":{"id":77466498,"uuid":"16946886","full_name":"lithiumjake/vue-placeholders","owner":"lithiumjake","description":"A simple Vue (http://vuejs.org) directive for placeholder images and lorem-ipsum text.","archived":false,"fork":false,"pushed_at":"2014-02-18T15:52:13.000Z","size":152,"stargazers_count":70,"open_issues_count":1,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-10-26T23:54:35.509Z","etag":null,"topics":[],"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/lithiumjake.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":"2014-02-18T11:34:52.000Z","updated_at":"2023-08-17T02:19:20.000Z","dependencies_parsed_at":"2023-02-27T11:45:59.315Z","dependency_job_id":null,"html_url":"https://github.com/lithiumjake/vue-placeholders","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/lithiumjake%2Fvue-placeholders","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lithiumjake%2Fvue-placeholders/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lithiumjake%2Fvue-placeholders/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lithiumjake%2Fvue-placeholders/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lithiumjake","download_url":"https://codeload.github.com/lithiumjake/vue-placeholders/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243775779,"owners_count":20346259,"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-07-31T00:00:49.896Z","updated_at":"2025-03-15T18:34:04.528Z","avatar_url":"https://github.com/lithiumjake.png","language":"JavaScript","funding_links":[],"categories":["Awesome Vue.js [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome)","UI组件","Awesome Vue.js"],"sub_categories":["Libraries \u0026 Plugins"],"readme":"\n# vue-placeholders\n\nA simple [Vue](http://vuejs.org) directive for placeholder images and lorem-ipsum text.\n\n## Usage \n\n For a placeholder image:\n\n```Html\n  \u003cimg v-phimg=\"200x200\"\u003e\n```\n\nFor lorem-ipsum text:\n\n```Html\n  \u003cdiv v-phtxt=\"4p6s\"\u003e\u003c/div\u003e\n```\n\n### You can check out a demo [here](http://lithiumjake.github.io/vue-placeholders/) \n\n## API\n\nThe **v-phimg** directive expects a string describing the dimensions in  pixels, seperated by an 'x', ie \"200x200\" \n\nThe **v-phtxt** directive expects a string describing a number of paragraphs, ie \"4p\", the number of sentences, ie \"5s\",\nor the number of paragraphs and sentences per paragraph, ie \"3p8s\". \n\n## Attribution\n\nBased entirely on the work of Josh David Miller https://github.com/joshdmiller/angular-placeholders\nwhich is itself based, in part, on https://github.com/fkadeveloper/loremjs\n\nPorted with love from AngularJS to [Vue.js](http://vuejs.org/)\n\n\n## License\n\n  The MIT License (MIT)\n\n  Copyright (c) 2014 Jeremy Suntheimer\n\n  Permission is hereby granted, free of charge, to any person obtaining a copy\n  of this software and associated documentation files (the \"Software\"), to deal\n  in the Software without restriction, including without limitation the rights\n  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n  copies of the Software, and to permit persons to whom the Software is\n  furnished to do so, subject to the following conditions:\n\n  The above copyright notice and this permission notice shall be included in\n  all copies or substantial portions of the Software.\n\n  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n  THE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flithiumjake%2Fvue-placeholders","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flithiumjake%2Fvue-placeholders","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flithiumjake%2Fvue-placeholders/lists"}