open-index/open-npm huggingface dataset:
npm package: @pega/inquirer-fuzzy-path
Description: Fuzzy file/directory search and select prompt for inquirer.
Author: Pegasystems, based upon version created by: adelsz
Latest version: 3.0.0

# @pega/inquirer-fuzzy-path

## Overview

This @pega project is based upon fuzzy-path found here: https://www.npmjs.com/package/inquirer-fuzzy-path

Fuzzy path works with npm [inquirer](https://github.com/SBoudrias/Inquirer.js) to help when typing in paths.

Fuzzy file/directory search and select prompt for Inquirer.js 

![inquirer-fuzzy-path demo](https://raw.githubusercontent.com/adelsz/inquirer-fuzzy-path/master/recording.gif)

Project has been modified:
- fixed bugs 
- updated dependenices
- updated to module to be used in modules
- internal for Pegasystems usage (according to MIT license)

## Teams responsible
- Sprockets
- Torque

## Usage

Register the prompt with inquirer:
```javascript
inquirer.registerPrompt('fuzzypath', require('inquirer-fuzzy-path'))
```

Call the prompt:
```javascript
  return inquirer.prompt([
    {
      type: 'fuzzypath',
      name: 'path',
      excludePath: nodePath => nodePath.startsWith('node_modules'),
        // excludePath :: (String) -> Bool
        // excludePath to exclude some paths from the file-system scan
      excludeFilter: nodePath => nodePath == '.',
        // excludeFilter :: (String) -> Bool
        // excludeFilter to exclude some paths from the final list, e.g. '.'
      itemType: 'any',
        // itemType :: 'any' | 'directory' | 'file'
        // specify the type of nodes to display
        // default value: 'any'
        // example: itemType: 'file' - hides directories from the item list
      rootPath: 'app',
        // rootPath :: String
        // Root search directory
      message: 'Select a target directory for your component:',
      default: 'components/',
      suggestOnly: false,
        // suggestOnly :: Bool
        // Restrict prompt answer to available choices or use them as suggestions
      depthLimit: 5,
        // depthLimit :: integer >= 0
        // Limit the depth of sub-folders to scan
        // Defaults to infinite depth if undefined
    }
  ]);
```

## Change log
* In version 3.0.0 brought in @pega and fixed search crash with defaults for choice values
Based upon:
  * In version 2.2.0 new option `excludeFilter` was added.
  * In version 2.1.0 new option `depthLimit` was added.
  * In version 2.0.0 option `filterPath` was deprecated. Please use `excludePath` and `itemType` instead.

## Related

- [inquirer](https://github.com/SBoudrias/Inquirer.js) - A collection of common interactive command line user interfaces

## License

MIT © [adelsz](https://github.com/adelsz)
npm package: @pegakit/pegakit
Description: The living styleguide, pattern library, UI ToolKit, and front-end build tools that power Pega's digital web properties.
Author: Salem Ghoweri
Latest version: 1.0.0-beta.1

# PegaKit
The living styleguide, pattern library, UI ToolKit, and front-end build tools that power Pega's digital web properties.


## Pattern Lab Twig Standard Edition for Drupal 

The Standard Edition for Drupal gives developers and designers a clean and stable base from which to develop a Drupal compatible pattern library.

## Prerequistes 

- [`composer`](https://getcomposer.org)

## First Time Install

1. Run `composer create-project pattern-lab/edition-drupal-standard FOLDERNAME` (Assuming you wanted it in a directory called `FOLDERNAME`).
1. Select a starterkit from menu. If asked about replacing files, do it.
1. Commit new files generated.

## Using It

After installing and committing, others cloning the repo need to run `composer install` to install dependencies.

## Helpful Commands

These are some helpful commands you can use on the command line for working with Pattern Lab.

### One line start

This will compile PL and watch for changes while running the local server:

    composer start

### Generate Pattern Lab

To generate the front-end for Pattern Lab type:

    php core/console --generate

### Start a server to view Pattern Lab

You can use PHP's built-in web server to review your Pattern Lab project in a browser. In a separate window type:

    php core/console --server

Then open [http://localhost:8080](http://localhost:8080) in your browser.

### Install a StarterKit

To install a near-empty StarterKit as a starting point for your project type:

    php core/console --starterkit --init

To install a specific StarterKit from GitHub type:

    php core/console --starterkit --install <starterkit-vendor/starterkit-name>

### Updating Pattern Lab

  composer update

## Other Documentation

These are crucial pieces that contains documentation that is good to understand:

- [`pattern-lab/patternengine-twig`](https://github.com/pattern-lab/patternengine-php-twig)
- [`aleksip/plugin-data-transform`](https://github.com/aleksip/plugin-data-transform)
- [Twig templating language](http://twig.sensiolabs.org/documentation)