{"name":"@videojs/vhs-utils","version":"4.1.2","keywords":["videojs","videojs-plugin"],"author":{"name":"brandonocasey","email":"brandonocasey@gmail.com"},"license":"MIT","_id":"@videojs/vhs-utils@4.1.2","maintainers":[{"name":"ronaldqualabs","email":"ronaldu@qualabs.com"},{"name":"cpillsburymux","email":"cpillsbury@mux.com"},{"name":"abarstow","email":"alexander.barstow@gmail.com"},{"name":"awaldron","email":"awaldron@brightcove.com"},{"name":"brandonocasey","email":"brandonocasey@gmail.com"},{"name":"essk","email":"sarah@teaandbiscuits.net"},{"name":"gesinger","email":"gesinger@gmail.com"},{"name":"gkatsev","email":"me@gkatsev.com"},{"name":"heff","email":"npm@heff.me"},{"name":"hswaminathan","email":"hswaminathan@brightcove.com"},{"name":"imbcmdth","email":"jon.carlos.rivera@gmail.com"},{"name":"lday","email":"ldayananda@brightcove.com"},{"name":"mmcclure","email":"npm@htbx.net"},{"name":"usmanonazim","email":"usmanonazim@gmail.com"},{"name":"videojs-user","email":"videojs@gkatsev.com"},{"name":"ddashkevich","email":"ddashkevich@brightcove.com"},{"name":"phale","email":"phale@brightcove.com"}],"homepage":"https://github.com/videojs/vhs-utils#readme","bugs":{"url":"https://github.com/videojs/vhs-utils/issues"},"dist":{"shasum":"d49053b23d63cb73660858403bf78d248de764e9","tarball":"http://registry-npm.ywwl.com/@videojs/vhs-utils/download/@videojs/vhs-utils-4.1.2.tgz","fileCount":834,"integrity":"sha512-1Dsv5dtWOq0LP1G37O46FQFA2tKAZON5UMe6dFPxT7JvPhEx8QIXcFQxan8+hHI3fX6aomFRFrUBJNgRYQDSXA==","signatures":[{"sig":"MEUCIHEtYKnD5jmhQ6lPKUitXn6pp/rvXK4qIoSmmCbvbyhRAiEAgsAketQxkjLv+C4dUGKynMSz/naIiCvPlk/vdL3WL4M=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4476553,"size":559484,"noattachment":false,"key":"/@videojs/vhs-utils/-/@videojs/vhs-utils-4.1.2.tgz"},"main":"./cjs/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"module":"./es/index.js","browser":"./dist/vhs-utils.js","engines":{"npm":">=5","node":">=8"},"gitHead":"afd8949071d9b32595ca6c9b48fe6471955ad53c","scripts":{"lint":"vjsstandard","test":"npm-run-all lint build-test && npm-run-all test:*","build":"npm-run-all -s clean -p build:*","clean":"shx rm -rf ./dist ./test/dist ./cjs ./es && shx mkdir -p ./test/dist ./cjs ./es","start":"npm-run-all -p server watch","watch":"npm-run-all -p watch:*","server":"karma start scripts/karma.conf.js --singleRun=false --auto-watch","version":"is-prerelease || npm run update-changelog && git add CHANGELOG.md","build:es":"babel-config-es -d ./es ./src","build:js":"rollup -c scripts/rollup.config.js","posttest":"shx cat test/dist/coverage/text.txt","watch:es":"npm run build:es -- -w","watch:js":"npm run build:js -- -w","build:cjs":"babel-config-cjs -d ./cjs ./src","test:node":"qunit test/dist/bundle.js","watch:cjs":"npm run build:cjs -- -w","build-prod":"cross-env-shell NO_TEST_BUNDLE=1 'npm run build'","build-test":"cross-env-shell TEST_BUNDLE_ONLY=1 'npm run build'","test:browser":"karma start scripts/karma.conf.js","prepublishOnly":"npm-run-all build-prod && vjsverify --verbose --skip-es-check","update-changelog":"conventional-changelog -p videojs -i CHANGELOG.md -s"},"_npmUser":{"name":"essk","email":"sarah@teaandbiscuits.net"},"repository":{"url":"git+ssh://git@github.com/videojs/vhs-utils.git","type":"git"},"_npmVersion":"10.8.2","description":"Objects and functions shared throughtout @videojs/http-streaming code","directories":{},"lint-staged":{"*.js":"vjsstandard --fix","README.md":"doctoc --notitle"},"vjsstandard":{"ignore":["dist","cjs","es","docs","test/dist"]},"_nodeVersion":"20.20.0","dependencies":{"global":"^4.4.0","@babel/runtime":"^7.12.5"},"_hasShrinkwrap":false,"devDependencies":{"karma":"^5.2.3","rollup":"^2.38.0","@babel/cli":"^7.12.8","videojs-standard":"^8.0.4","@videojs/babel-config":"^0.2.0","videojs-generator-verify":"~3.0.3","@videojs/generator-helpers":"~2.0.1","@brandonocasey/spawn-promise":"~0.2.0","videojs-generate-karma-config":"^8.0.1","videojs-generate-rollup-config":"~7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/vhs-utils_4.1.2_1781862220448_0.7874089376723636","host":"s3://npm-registry-packages-npm-production"},"generator-videojs-plugin":{"version":"7.7.1"},"readme":"<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n\n- [@videojs/vhs-utils](#videojsvhs-utils)\n  - [Installation](#installation)\n  - [Usage](#usage)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\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> es import using es dist\n```js\nimport resolveUrl from '@videojs/vhs-utils/es/resolve-url';\n```\n\n> cjs import using cjs dist\n```js\nconst resolveUrl = require('@videojs/vhs-utils/cjs/resolve-url');\n```\n\n> depricated cjs dist\n```js\nconst resolveUrl = require('@videojs/vhs-utils/dist/resolve-url');\n```\n","publish_time":1781862220623,"_cnpm_publish_time":1781862220623,"dist-tags":{"experimental":"2.2.1","latest":"4.1.3","next":"4.1.3"}}