{"id":28491006,"url":"https://github.com/videojs/vhs-utils","last_synced_at":"2025-07-29T06:08:06.573Z","repository":{"id":43181305,"uuid":"202762117","full_name":"videojs/vhs-utils","owner":"videojs","description":"Objects and functions shared throughout @videojs/http-streaming code","archived":false,"fork":false,"pushed_at":"2024-07-10T06:53:17.000Z","size":1545,"stargazers_count":7,"open_issues_count":3,"forks_count":8,"subscribers_count":20,"default_branch":"main","last_synced_at":"2025-07-08T02:13:37.626Z","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/videojs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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":"2019-08-16T16:26:38.000Z","updated_at":"2025-06-19T19:40:31.000Z","dependencies_parsed_at":"2024-06-18T15:34:15.669Z","dependency_job_id":"4482cee3-f176-4447-a085-729bdfdd817e","html_url":"https://github.com/videojs/vhs-utils","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/videojs/vhs-utils","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/videojs%2Fvhs-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/videojs%2Fvhs-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/videojs%2Fvhs-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/videojs%2Fvhs-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/videojs","download_url":"https://codeload.github.com/videojs/vhs-utils/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/videojs%2Fvhs-utils/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264205351,"owners_count":23572449,"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":"2025-06-08T07:31:04.400Z","updated_at":"2025-07-29T06:08:06.558Z","avatar_url":"https://github.com/videojs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- START doctoc generated TOC please keep comment here to allow auto update --\u003e\n\u003c!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --\u003e\n\n\n- [@videojs/vhs-utils](#videojsvhs-utils)\n  - [Installation](#installation)\n  - [Usage](#usage)\n\n\u003c!-- END doctoc generated TOC please keep comment here to allow auto update --\u003e\n\n# @videojs/vhs-utils\n\nvhs-utils serves two purposes:\n\n1. It extracts objects and functions shared throughout @videojs/http-streaming code to save on package size. See [the original @videojs/http-streaming PR](https://github.com/videojs/http-streaming/pull/637) for details.\n2. It exports generic functions from VHS that may be useful to plugin authors.\n\n## Installation\n\n```sh\nnpm install --save @videojs/vhs-utils\n```\n\n## Usage\n\nAll utility functions are published under dist and can be required/imported like so:\n\n\u003e es import using es dist\n```js\nimport resolveUrl from '@videojs/vhs-utils/es/resolve-url';\n```\n\n\u003e cjs import using cjs dist\n```js\nconst resolveUrl = require('@videojs/vhs-utils/cjs/resolve-url');\n```\n\n\u003e depricated cjs dist\n```js\nconst resolveUrl = require('@videojs/vhs-utils/dist/resolve-url');\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvideojs%2Fvhs-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvideojs%2Fvhs-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvideojs%2Fvhs-utils/lists"}