{"id":30694157,"url":"https://github.com/harshmandan/capacitor-npe","last_synced_at":"2025-09-02T06:04:16.578Z","repository":{"id":302655653,"uuid":"1013224185","full_name":"harshmandan/capacitor-npe","owner":"harshmandan","description":"NPE wrapper for capacitor - Android only","archived":false,"fork":false,"pushed_at":"2025-07-03T15:00:35.000Z","size":406,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-31T03:03:52.819Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://harsh.ink/blog/capacitor-plugin","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/harshmandan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"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,"zenodo":null}},"created_at":"2025-07-03T14:47:50.000Z","updated_at":"2025-07-03T15:00:38.000Z","dependencies_parsed_at":"2025-07-03T15:05:20.755Z","dependency_job_id":"65cd5b1c-e078-4fa5-a036-b7162fc5e8e7","html_url":"https://github.com/harshmandan/capacitor-npe","commit_stats":null,"previous_names":["harshmandan/capacitor-npe"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/harshmandan/capacitor-npe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harshmandan%2Fcapacitor-npe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harshmandan%2Fcapacitor-npe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harshmandan%2Fcapacitor-npe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harshmandan%2Fcapacitor-npe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/harshmandan","download_url":"https://codeload.github.com/harshmandan/capacitor-npe/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harshmandan%2Fcapacitor-npe/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273238762,"owners_count":25069762,"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","status":"online","status_checked_at":"2025-09-02T02:00:09.530Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-09-02T06:04:15.847Z","updated_at":"2025-09-02T06:04:16.550Z","avatar_url":"https://github.com/harshmandan.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# capacitor-npe\n\nNPE Wrapper that allows you to call the Java APIs for NPE\n\n## Install\n\n```bash\nnpm install capacitor-npe\nnpx cap sync\n```\n\n## API\n\n\u003cdocgen-index\u003e\n\n* [`extractStreamInfo(...)`](#extractstreaminfo)\n* [Interfaces](#interfaces)\n\n\u003c/docgen-index\u003e\n\n\u003cdocgen-api\u003e\n\u003c!--Update the source file JSDoc comments and rerun docgen to update the docs below--\u003e\n\n### extractStreamInfo(...)\n\n```typescript\nextractStreamInfo(options: { videoUrl: string; }) =\u003e any\n```\n\nExtract YouTube video stream information\n\n| Param         | Type                               | Description             |\n| ------------- | ---------------------------------- | ----------------------- |\n| **`options`** | \u003ccode\u003e{ videoUrl: string; }\u003c/code\u003e | - The video URL options |\n\n**Returns:** \u003ccode\u003eany\u003c/code\u003e\n\n--------------------\n\n\n### Interfaces\n\n\n#### StreamInfoResult\n\n| Prop             | Type                                                                                                                                                                   |\n| ---------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| **`success`**    | \u003ccode\u003eboolean\u003c/code\u003e                                                                                                                                                   |\n| **`error`**      | \u003ccode\u003estring\u003c/code\u003e                                                                                                                                                    |\n| **`streamInfo`** | \u003ccode\u003e{ title: string; duration: number; uploader: string; viewCount: number; thumbnailUrl: string; videoStreams: {}; audioStreams: {}; videoOnlyStreams: {}; }\u003c/code\u003e |\n\n\n#### VideoStream\n\n| Prop             | Type                |\n| ---------------- | ------------------- |\n| **`url`**        | \u003ccode\u003estring\u003c/code\u003e |\n| **`format`**     | \u003ccode\u003estring\u003c/code\u003e |\n| **`resolution`** | \u003ccode\u003estring\u003c/code\u003e |\n| **`fps`**        | \u003ccode\u003enumber\u003c/code\u003e |\n\n\n#### AudioStream\n\n| Prop          | Type                |\n| ------------- | ------------------- |\n| **`url`**     | \u003ccode\u003estring\u003c/code\u003e |\n| **`format`**  | \u003ccode\u003estring\u003c/code\u003e |\n| **`bitrate`** | \u003ccode\u003enumber\u003c/code\u003e |\n\n\u003c/docgen-api\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharshmandan%2Fcapacitor-npe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharshmandan%2Fcapacitor-npe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharshmandan%2Fcapacitor-npe/lists"}