open-index/open-npm huggingface dataset:
npm package: @gluedigital/tooltip
Description: A customizable tooltip component
Author: Glue.digital
Latest version: 1.0.2

# @gluedigital/tooltip

[![NPM](https://img.shields.io/npm/v/tooltip.svg)](https://www.npmjs.com/package/tooltip) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

A customizable tooltip component.

## Install

```bash
yarn add @gluedigital/tooltip
```

## Usage

Simply wrap the `Tooltip` component around the element that will show a tooltip when hovered over.

You can customize the tooltip with the following props:
 - **content**: Tooltip's content. Can be a string or a JSX element.
 - **position**: Position of the tooltip with respect of the element. Can be `top`, `bottom`, `right` or `left`.
 - **className**: Additional styles to apply to the tooltip.

### Example

```jsx
import React from 'react'
import { Tooltip } from '@gluedigital/tooltip'

const App = () => {
  return (
    <Tooltip
      content='Tooltip content here'
      position='left'
      className='custom-css'
    >
      <div className='element-with-tooltip'>
        Hover over me to show a tooltip!
      </div>
    </Tooltip>
  )
}

export default App
```
npm package: @gluedigital/universal-plugin-electron
Description: A helper to add Electron support to Universal apps
Author: Glue.digital
Latest version: 2.0.0

# universal-plugin-electron

A plugin to package [Universal-Scripts](https://github.com/GlueDigital/universal-scripts) apps as Electron redistributables.

## Usage

You need to configure your project for Electron first. This usually involve some of the following steps:

- Adding a index generation step to the build process
- Disabling SSR
- Generating an Electron build for the main thread

Once you're done, this plugin will help you package your app for the different platforms.

To install it, start with:

> npm install --save-dev @gluedigital/universal-plugin-electron

Then add this line to your `package.json` in the `scripts` section:

```
  "package": "universal-plugin-electron",
```

Finally, to generate a build just run:

> npm run package

A redistributable installer for your current platform will be generated at `out/installers/`.

## Config

If you want to pass some settings to the different packagers, just add a `electronOptions` key to your `package.json`, with an object with any of these keys:

- `packager` with options for `electron-packager`
- `win` with options related to InnoSetup`
- `osx` with options for `electron-installer-dmg`
- `deb` with options for `electron-installer-debian`

## Why to use this?

This package doesn't do anything big, but helps you keep the Electron bundler dependencies managed, so you only need to care about a single package.