{"id":21525804,"url":"https://github.com/bkwld/vue-unorphan","last_synced_at":"2025-04-15T03:41:32.589Z","repository":{"id":32125000,"uuid":"131655765","full_name":"BKWLD/vue-unorphan","owner":"BKWLD","description":"A Vue directive that implements the \"unorphan\" package to prevent line breaks between the last two words of an element.","archived":false,"fork":false,"pushed_at":"2023-10-20T00:49:02.000Z","size":118,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T15:15:04.540Z","etag":null,"topics":["directive","vue"],"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/BKWLD.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,"governance":null}},"created_at":"2018-04-30T23:13:41.000Z","updated_at":"2023-01-05T04:33:26.000Z","dependencies_parsed_at":"2023-10-03T02:27:06.884Z","dependency_job_id":"67979b9c-475c-4c6b-85ec-d3cf168dced1","html_url":"https://github.com/BKWLD/vue-unorphan","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BKWLD%2Fvue-unorphan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BKWLD%2Fvue-unorphan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BKWLD%2Fvue-unorphan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BKWLD%2Fvue-unorphan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BKWLD","download_url":"https://codeload.github.com/BKWLD/vue-unorphan/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249003935,"owners_count":21196794,"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":["directive","vue"],"created_at":"2024-11-24T01:38:31.232Z","updated_at":"2025-04-15T03:41:32.571Z","avatar_url":"https://github.com/BKWLD.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vue-unorphan\n\nA Vue directive that implements [unorphan](https://github.com/rstacruz/unorphan).\n\n## Install\n\n`yarn add vue-unorphan or npm install --save vue-unorphan`\n\n#### Vue\n\n```js\nVue = require('vue')\nVue.directive('unorphan', require('vue-unorphan'))\n```\n\n#### Nuxt\n\nIn `nuxt.config.js`:\n\n```js\n{\n  modules: [ 'vue-unorphan/nuxt/module' ]\n}\n```\n\n## Usage\n\nUse in a Vue template like:\n\n```html\n\u003ch1 v-unorphan\u003eA long title with many words that will wrap to multiple lines\u003c/h1\u003e\n```\n\n## Example\n\nBefore:\n\n![](http://yo.bkwld.com/2z0v35071m0F/Image%202018-04-30%20at%204.18.46%20PM.png)\n\nAfter:\n\n![](http://yo.bkwld.com/423M193i352i/Image%202018-04-30%20at%204.27.27%20PM.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbkwld%2Fvue-unorphan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbkwld%2Fvue-unorphan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbkwld%2Fvue-unorphan/lists"}