open-index/open-npm huggingface dataset:
npm package: @peacechen/react-portal-overlay
Description: A lightweight and performant fullscreen overlay component using React portals to render anywhere you need them to
Author: Sean King
Latest version: 1.1.1

# React Portal Overlay

[![NPM](https://img.shields.io/npm/v/@peacechen/react-portal-overlay)](https://www.npmjs.com/package/@peacechen/react-portal-overlay) [![License](https://img.shields.io/npm/l/react-portal-overlay)](https://github.com/seaneking/react-portal-overlay/blob/master/LICENSE.md)

This is a fork of https://madeleineostoja.github.io/react-portal-overlay and published as a separate package on [npmjs.com](https://www.npmjs.com/package/@peacechen/react-portal-overlay) to unlock the peer dependencies.

A lightweight and performant fullscreen overlay component using React portals to render anywhere you need them to

## Installation

```sh
npm i @peacechen/react-portal-overlay
```

## Usage

See the [API Docs](https://madeleineostoja.github.io/react-portal-overlay/) for a full overview of props and options.

```js
import React, { useState } from 'react';
import { Overlay } from '@peacechen/react-portal-overlay';

export default () => {
  const [open, setOpen] = useState(false);

  return (
    <Overlay open={open} onClose={() => setOpen(false)}>
      <h1>My overlay</h1>
    </Overlay>
  );
};
```
npm package: @peacefulbit/list-machine
Description: Lisp-like interpreter written on Node.js
Author: Roman Lakhtadyr
Latest version: 0.5.2

# list-machine
[![Build Status](https://travis-ci.org/pldin601/list-machine.svg?branch=master)](https://travis-ci.org/pldin601/list-machine)
[![Coverage Status](https://coveralls.io/repos/github/pldin601/list-machine/badge.svg?branch=master)](https://coveralls.io/github/pldin601/list-machine?branch=master)

Lisp-like interpreter written on Javascript.

Demo is [here](https://asciinema.org/a/BQyYaWpI6VC5xbamOzybJN4Bk).
npm package: @peacefultruth/butterfly
Description: process arguments from a data description.
Author: Peaceful Truth
Latest version: 11.0.0

# butterfly

process arguments from a data description.

just pass me the description of the process argv,
I will return you the parsed format.

```bash
yarn add @peacefultruth/butterfly
````

```js

import butterfly from '@peacefultruth/butterfly';

const process_arguments = (
  process.argv || (
    [
      'node',
      'entry.js',

      'blah',
      '3.14',
      '-b',
      '4.14',
      '--blah',
      '5.14',

      'blahblah',
      '100',
      '-bb',
      '200',
      '--blahblah',
      '300',
      '--blah-blah',
      '400',
    ]
  )
);

expect(
  butterfly(
    {
      blah: {
        aliases: ['-b', '--blah'],
        is_multiple_lazy: true,
        type: Number,
        value: -1,
      },
      blahblah: {
        aliases: ['-bb', '--blahblah', '--blah-blah'],
        is_multiple_lazy: true,
        type: Number,
        value: -1,
      },
    },
    process_arguments
  )
).toEqual(
  {
    blah: {
      aliases: ['-b', '--blah'],
      is_multiple_lazy: true,
      type: Number,
      value: [3.14, 4.14, 5.14],
    },
    blahblah: {
      aliases: ['-bb', '--blahblah', '--blah-blah'],
      is_multiple_lazy: true,
      type: Number,
      value: [100, 200, 300, 400],
    },
  }
)

````