New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@types/issue-parser

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/issue-parser

TypeScript definitions for issue-parser

ts3.6
ts3.7
ts3.8
ts3.9
ts4.0
ts4.1
ts4.2
ts4.3
ts4.4
Source
npmnpm
Version
3.0.1
Version published
Weekly downloads
4.1K
93.95%
Maintainers
1
Weekly downloads
 
Created
Source

Installation

npm install --save @types/issue-parser

Summary

This package contains type definitions for issue-parser (https://github.com/pvdlg/issue-parser#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/issue-parser.

index.d.ts

// Type definitions for issue-parser 3.0
// Project: https://github.com/pvdlg/issue-parser#readme
// Definitions by: Leko <https://github.com/Leko>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.2

declare function issueParser(
    authOptions?: issueParser.Options,
    extension?: issueParser.Overrides
): issueParser.Parser;

declare namespace issueParser {
    type Parser = (text: string) => Result;
    interface Overrides {
        actions?: {
            [type: string]: ReadonlyArray<string>;
        } | undefined;
        delimiters?: string | ReadonlyArray<string> | undefined;
        mentionsPrefixes?: string | ReadonlyArray<string> | undefined;
        issuePrefixes?: string | ReadonlyArray<string> | undefined;
        hosts?: string | ReadonlyArray<string> | undefined;
        issueURLSegments?: string | ReadonlyArray<string> | undefined;
        overrides?: string | ReadonlyArray<string> | undefined;
    }
    type Options = "github" | "gitlab" | "bitbucket" | "waffle" | Overrides;
    interface Reference {
        raw: string;
        slug: string | undefined;
        prefix: string | undefined;
        issue: string;
    }
    interface Mention {
        raw: string;
        prefix: string;
        user: string;
    }
    interface Action {
        raw: string;
        action: string;
        slug: string | undefined;
        prefix: string | undefined;
        issue: string;
    }
    interface Actions {
        [action: string]: ReadonlyArray<Action>;
    }
    interface Result {
        refs: ReadonlyArray<Reference>;
        mentions: ReadonlyArray<Mention>;
        actions: Actions;
        allRefs: Array<Reference | Action>;
    }
}

export = issueParser;

Additional Details

  • Last updated: Thu, 08 Jul 2021 14:23:21 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Leko.

FAQs

Package last updated on 08 Jul 2021

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