Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/parse-github-url

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/parse-github-url

TypeScript definitions for parse-github-url

  • 1.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
9.7K
increased by11.37%
Maintainers
1
Weekly downloads
 
Created
Source

Installation

npm install --save @types/parse-github-url

Summary

This package contains type definitions for parse-github-url (https://github.com/jonschlinkert/parse-github-url).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/parse-github-url.

index.d.ts

// Type definitions for parse-github-url 1.0
// Project: https://github.com/jonschlinkert/parse-github-url
// Definitions by: Klaus Meinhardt <https://github.com/ajafff>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

/// <reference types="node" />

import { Url } from "url";

declare namespace gh {
    interface Result extends Url {
        filepath: string | null;
        owner: string | null;
        name: string | null;
        repo: string | null;
        repository: string | null;
        branch: string;
    }
}

declare function gh(url: string): gh.Result | null;

export = gh;

Additional Details

  • Last updated: Sun, 24 Sep 2023 06:37:27 GMT
  • Dependencies: @types/node
  • Global values: none

Credits

These definitions were written by Klaus Meinhardt.

FAQs

Package last updated on 24 Sep 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc