@types/globjoin
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

Installation

npm install --save @types/globjoin

Summary

This package contains type definitions for globjoin (https://github.com/amobiz/globjoin).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/globjoin.

index.d.ts

/**
 * Joins paths and globs.
 *
 * Like Node's {@link https://nodejs.org/api/path.html#path_path_join_path1_path2 path.join()}
 * that join all arguments together and normalize the resulting path,
 * globjoin takes arbitrary number of paths and/or arrays of paths,
 * join them together and take care of negative globs.
 *
 * @param globs
 *
 * @return the result glob, or array of globs if any of the paths/globs are array.
 */
declare function globjoin(...globs: string[]): string;
declare function globjoin(...globs: Array<string | string[]>): string[];

export = globjoin;

Additional Details

  • Last updated: Tue, 07 Nov 2023 03:09:37 GMT
  • Dependencies: none

Credits

These definitions were written by Gareth Jones.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/globjoin

Weekly Downloads

1,346

Version

0.1.2

License

MIT

Unpacked Size

3.67 kB

Total Files

5

Last publish

Collaborators

  • types