open-index/open-npm huggingface dataset:
npm package: @nandomoreira.me/money-format
Description: 💵 Format your money however you want 💵
Author: Fernando Moreira
Latest version: 1.2.0

# Format your Money [![Build Status](https://travis-ci.org/nandomoreirame/lib-money-format.svg?branch=master)](https://travis-ci.org/nandomoreirame/lib-money-format)

> 💵 Format your money however you want 💵

## Table of Contents

- [Installation](#installation)
- [Usage](#usage)
- [Examples](#examples)
- [Support](#support)
- [Contributing](#contributing)
- [History](#history)
- [License](#license)

## Installation

```sh
yarn add @@nandomoreira.me/money-format # or npm install -S @nandomoreira.me/money-format
```

## Usage

## Examples

**Example 01**

```sh
# Write Example 01 here
```

**Example 02**

```sh
# Write Example 02 here
```

Feel free to remove any sections that aren't applicable to your project.

## Support

Please [open an issue](../../issues/new) for support.

## Contributing

Please contribute using [Github Flow](https://guides.github.com/introduction/flow/). Create a branch, add commits, and [open a pull request](../../compare?expand=1).
Contributing

1. Fork it!
2. Create your feature branch: git checkout -b my-new-feature
3. Commit your changes: git commit -m 'Add some feature'
4. Push to the branch: git push origin my-new-feature
5. Submit a pull request :D

## History

See [Releases](../../releases) for detailed changelog.

## Author

| [![twitter/oseunando](https://avatars6.githubusercontent.com/u/1318271?v=4&s=120)](http://twitter.com/oseunando "Follow @oseunando on Twitter") |
| ----------------------------------------------------------------------------------------------------------------------------------------------- |
| [Fernando Moreira](http://twitter.com/oseunando)                                                                                                |

## License

```
WWWWWW||WWWWWW
 W W W||W W W
      ||
    ( OO )__________
     /  |           \
    /o o|    MIT     \
    \___/||_||__||_|| *
         || ||  || ||
        _||_|| _||_||
       (__|__|(__|__|
```

Code is under [MIT License](/LICENSE) - © Fernando Moreira

## Buy me a coffee?

It will encourage me to keep it going, fix whatever bugs you find and spend time making it better :D

<a href="https://www.paypal.me/nandomoreira/5">
  <img src="https://img.shields.io/badge/Buy%20me%20a%20coffee%3F-US%24%205-blue.svg" alt="Buy me a coffee? - https://www.paypal.me/nandomoreira/5">
</a>
npm package: @nandorojo/electron-clipboard
Description: Electron clipboard extended with event handler for Text and Image change
Author: Arjun G
Latest version: 0.0.2

# Electron Better Clipboard

For of extended clipboard.

It's the same, but it adds this function too:

```js
import clipboard from "@nandorojo/electron-clipboard";

clipboard.setInterval(400); // default is 200
```

This lets you customize how often the interval checks for new items.

> Electron clipboard extended with event handler for Text and Image change

```bash
yarn add @nandorojo/electron-clipboard
```

This library has all methods of electron's clipboard api with added functionalities for listening to changes in clipboard. As of now only Text and Image changes are captured.

## Usage

```javascript
import clipboard from "@nandorojo/electron-clipboard";

clipboard
  .on("text-changed", () => {
    let currentText = clipboard.readText();
  })
  .once("text-changed", () => {
    console.log("TRIGGERED ONLY ONCE");
  })
  .on("image-changed", () => {
    let image = clipboard.readImage();
    image.toDataURL();
  })
  .startWatching();

clipboard.off("text-changed");

clipboard.stopWatching();
```

## Methods

All methods of electron's clipboard api plus the methods listed below

### startWatching()

Returns clipboard - Chainable method, Only after startWatching is called changes to clipboard will be watched.

### stopWatching()

Returns clipboard - Chainable method, Changes to clipboard will not be watched after calling this

### on(event, listener), once(event, listener)

- `event` String - Can be either `text-changed` or `image-changed`
- `listener` Function - Callback function

Returns clipboard - Chainable method

### off(event[, listener])

- `event` String - Can be either `text-changed` or `image-changed`
- `listener` Function (optional) - If `listener` is not passed all listeners of the event will be removed

Returns clipboard - Chainable method