brace-expansion

  • Version 5.0.9
  • Published
  • 70.7 kB
  • 1 dependency
  • MIT license

Install

npm i brace-expansion
yarn add brace-expansion
pnpm add brace-expansion

Overview

Brace expansion as known from sh/bash

Index

Variables

variable EXPANSION_MAX

const EXPANSION_MAX: number;

    variable EXPANSION_MAX_LENGTH

    const EXPANSION_MAX_LENGTH: number;

      Functions

      function expand

      expand: (str: string, options?: BraceExpansionOptions) => string[];

        Type Aliases

        type BraceExpansionOptions

        type BraceExpansionOptions = {
        max?: number;
        maxLength?: number;
        };

          Package Files (1)

          Dependencies (1)

          Dev Dependencies (7)

          Peer Dependencies (0)

          No peer dependencies.

          Badge

          To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

          You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/brace-expansion.

          • Markdown
            [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/brace-expansion)
          • HTML
            <a href="https://www.jsdocs.io/package/brace-expansion"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>