{"id":19884149,"url":"https://github.com/plsankar/yeeted","last_synced_at":"2026-05-10T21:51:17.406Z","repository":{"id":174703119,"uuid":"652656354","full_name":"plsankar/yeeted","owner":"plsankar","description":"Detect and escape HTML Iframe embedding","archived":false,"fork":false,"pushed_at":"2023-06-12T17:28:39.000Z","size":35,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-11T23:45:43.065Z","etag":null,"topics":["embed","escape-embed","escape-iframe","html","iframe","web"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/yeeted","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/plsankar.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-12T14:21:07.000Z","updated_at":"2023-06-12T15:09:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"f06cb04d-e224-412a-914a-b169a6f528f1","html_url":"https://github.com/plsankar/yeeted","commit_stats":null,"previous_names":["plsankar/yeeted"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plsankar%2Fyeeted","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plsankar%2Fyeeted/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plsankar%2Fyeeted/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plsankar%2Fyeeted/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/plsankar","download_url":"https://codeload.github.com/plsankar/yeeted/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241313207,"owners_count":19942415,"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":["embed","escape-embed","escape-iframe","html","iframe","web"],"created_at":"2024-11-12T17:25:17.913Z","updated_at":"2026-05-10T21:51:17.389Z","avatar_url":"https://github.com/plsankar.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# yeeted\n\nDetect and escape embedding.\n\n[![MIT License](https://img.shields.io/badge/License-MIT-green.svg)](https://choosealicense.com/licenses/mit/)\n![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/plsankar/yeeted/npm-publish.yml)\n[![npm](https://img.shields.io/npm/dt/yeeted)](https://npmjs.com/package/yeeted)\n[![GitHub issues](https://img.shields.io/github/issues/plsankar/yeeted)](https://github.com/plsankar/yeeted/issues)\n[![npm bundle size](https://img.shields.io/bundlephobia/min/yeeted)](https://npmjs.com/package/yeeted)\n![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/plsankar/yeeted)\n[![GitHub all releases](https://img.shields.io/github/downloads/plsankar/yeeted/total)](https://github.com/plsankar/yeeted/releases)\n\n## How does it work?\n\nWhen the function is called it checks whether the current site is embeded (ie. inside a iframe), if yes then it changes the parents url to this url (ie. escape).\n\n## Use cases\n\nThe script can be used escape iframes in demo sites, scripts and templates.\n\n## Installation\n\nInstall `yeeted` with npm\n\n```bash\n  npm install yeeted\n```\n\nor, Add via CDN Powered by [unpkg.com](https://www.unpkg.com/)\n\n```html\n\u003cscript src=\"https://www.unpkg.com/yeeted\"\u003e\u003c/script\u003e\n```\n\n## Usage\n\n```javascript\nyeeted();\n```\n\n```javascript\nyeeted({\n    delay: 1000,\n});\n```\n\n## API Reference\n\n#### Get all items\n\n```javascript\nyeeted(options);\n```\n\n| Parameter | Type     | Description           |\n| :-------- | :------- | :-------------------- |\n| `delay`   | `number` | Delay in milliseconds |\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)\n\n## Run Locally\n\nClone the project\n\n```bash\n  git clone https://github.com/plsankar/yeeted\n```\n\nGo to the project directory\n\n```bash\n  cd yeeted\n```\n\nInstall dependencies\n\n```bash\n  npm install\n```\n\nBuild the library\n\n```bash\n  npm run build\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplsankar%2Fyeeted","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplsankar%2Fyeeted","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplsankar%2Fyeeted/lists"}