<commit_before># braid

## Usage

```javascript
const createExecutor = require('braid');
const executor = createExecutor();

const taskData = [
  {
    name: 'echo start message',
    message: 'start.',
  },
  {
    name: 'enter number',
    stdin: true, //Obtain values from standard input.
    message: 'Please enter one of numbers from 1 to 4.',
    validate: {
      logic: (str) => [1, 2, 3, 4].indexOf(parseInt(str, 10)) !== -1, //Input value verification logic
      message: 'Please enter a number from 1 to 4',
    },
    task: (str) => parseInt(str, 10) + 1,
  },
  {
    name: 'number to string',
    task: (before) => `number: ${before}`,
  },
];

executor.exec(taskData)
.then((data) => {
  // {'enter number': n + 1, 'number to string': 'number: ${n}'};
  console.log(data);
});
```<commit_msg>update: package name<commit_after># braid

## Usage

```javascript
const createExecutor = require('braid-cli');
const executor = createExecutor();

const taskData = [
  {
    name: 'echo start message',
    message: 'start.',
  },
  {
    name: 'enter number',
    stdin: true, //Obtain values from standard input.
    message: 'Please enter one of numbers from 1 to 4.',
    validate: {
      logic: (str) => [1, 2, 3, 4].indexOf(parseInt(str, 10)) !== -1, //Input value verification logic
      message: 'Please enter a number from 1 to 4',
    },
    task: (str) => parseInt(str, 10) + 1,
  },
  {
    name: 'number to string',
    task: (before) => `number: ${before}`,
  },
];

executor.exec(taskData)
.then((data) => {
  // {'enter number': n + 1, 'number to string': 'number: ${n}'};
  console.log(data);
});
```
{'fraction_non_alphanumeric': 0.18684695759065764, 'fraction_numerical': 0.01843884449907806, 'mean_word_length': 3.1319796954314723, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4272864', 'n_tokens_mistral': 574, 'n_tokens_neox': 547, 'n_words': 172}