open-index/open-npm huggingface dataset:
npm package: @nwbm/use-changes
Description: React hooks for tracking value changes
Author: Jeron Diovis
Latest version: 1.0.0

# @nwbm/use-changes

Pack of hooks for convenient values comparison.

## Installation

```sh
npm install @nwbm/use-changes
```

## Available hooks

### [useOnChange](/packages/use-changes/docs/useOnChange.md)

Execute callback when the given value has changed, accordingly to given comparator logic.

### [useChanged](/packages/use-changes/docs/useChanged.md)

Returns new value of given one only if it has changed, accordingly to given comparator logic.

### [useDiff](/packages/use-changes/docs/useDiff.md)

Calculate new value from given one, based on its current a previous value.

### [useChanges](/packages/use-changes/docs/useChanges.md)

Low-level hook, returning "meta" data about the comparison: current value, previous value, and whether the value has changed.
npm package: @nwbm/use-event
Description: React hook for listening to events
Author: Jeron Diovis
Latest version: 1.2.0

# @nwbm/use-event

React hooks for subscribing to event emitters.

## Installation

```sh
npm install @nwbm/use-event
```

---

## [useDomEvent](/packages/use-event/docs/useDomEvent.md)

Subscribe to events on DOM elements.

```ts
import { useDomEvent } from '@nwbm/use-event'

const Component = () => {
  const ref = useRef(null)
  useDomEvent(ref, 'click', e => console.log(e))
  return <div ref = {ref} />
}

// Listener options 
useDomEvent(ref, 'scroll', e => console.log(e), { passive: true })

// Listen to multiple events at once
useDomEvent(ref, ['click', 'keypress'], e => console.log(e))
```

More details in [dedicated page](/packages/use-event/docs/useDomEvent.md).

---
## [useEvent](/packages/use-event/docs/useEvent.md)

Low-level hook for subscribing to arbitrary event emitters.

Supports targets providing any of following interfaces:
- `on` / `off`
- `addEventListener` / `removeEventListener`
- `addListener` / `removeListener`

```ts  
import { useEvent } from '@nwbm/use-event'

// With EventEmitter
const emitter = new EventEmitter()
...
useEvent(emitter, 'my-event', e => console.log(e))
...
emitter.emit('my-event')
```

See detailed usage examples in [dedicated page](/packages/use-event/docs/useEvent.md).
npm package: @nwgweb/react-components
Description: NWG React Component Library
Author: nwgweb
Latest version: 1.0.7

# @nwgweb/react-components

> NWG React Component Library

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

## Install

```bash
npm install --save @nwgweb/react-components
```

## Usage

```tsx
import React from "react";
import { Button } from "@nwgweb/react-components";

const button = () => {
  return (
    <Button mode="pill" size={35} color="red" onClick={activateLasers}>
      Activate lasers
    </Button>
  );
};
```

## License

MIT © [nwgweb](https://github.com/nwgweb)
npm package: @nwing/fetch-github-repo
Description: Download and extract a GitHub repository from node.
Author: NimbleWing
Latest version: 1.0.2

![GitHub Workflow Status](https://img.shields.io/github/workflow/status/NimbleWing/fetch-github-repo/CI?style=plastic)
![NPM](https://img.shields.io/npm/l/@nwing/fetch-github-repo?style=plastic)
![npm (scoped)](https://img.shields.io/npm/v/@nwing/fetch-github-repo)
# Fetch Github Repo
Download and extract a GitHub repository from node.

# Installation

```shell
$ npm @nwing/fetch-github-repo
```

# Usage
```javascript
import fetchGithubRepo from '@nwing/fetch-github-repo';

(async ()=> {
  await fetchGithubRepo('NimbleWing/fetch-github-repo', '.');
})();
```

# License

MIT
npm package: @nwing/koa
Description: koa wrapper
Author: NimbleWing
Latest version: 1.1.0

![GitHub Workflow Status](https://img.shields.io/github/workflow/status/NimbleWing/koa/CI?style=plastic)
![GitHub](https://img.shields.io/github/license/NimbleWing/koa?style=plastic)
![npm (scoped)](https://img.shields.io/npm/v/@nwing/koa)
# Koa
koa wrapper

# Installation

```shell
$ npm @nwing/koa
```

# Usage
```javascript
import Koa from '@nwing/koa';
import Router from 'koa-router';
(async ()=>{
  const port = 8080;
  const router = new Router();
  const staticPath = '.';
  await Koa(port,{router,staticPath})
})();
```
# License

MIT
npm package: @nwing/logger
Description: ![GitHub Workflow Status](https://img.shields.io/github/workflow/status/NimbleWing/logger/CI?style=plastic) ![GitHub](https://img.shields.io/github/license/NimbleWing/logger?style=plastic) ![npm (scoped)](https://img.shields.io/npm/v/@nwing/logger) # Logg
Author: NimbleWing
Latest version: 1.0.1

![GitHub Workflow Status](https://img.shields.io/github/workflow/status/NimbleWing/logger/CI?style=plastic)
![GitHub](https://img.shields.io/github/license/NimbleWing/logger?style=plastic)
![npm (scoped)](https://img.shields.io/npm/v/@nwing/logger)
# Logger


# Installation

```shell
$ npm @nwing/logger
```

# Usage
```javascript

```
# License

MIT
npm package: @nwing/node-module-generator
Description: Generate a practical skeleton/boilerplate for a new Node.js module.
Author: NimbleWing
Latest version: 1.1.3

# Node Module Generator 

> Node Module Generator is a cli tool to Generate a practical skeleton/boilerplate for a new Node.js module.

## Installation

```shell
$ npm install -g @nwing/node-module-generator
```

## Usage
```shell
$ node-module-generator
```

## License

MIT
npm package: @nwjs-binaries/linux-ia32
Description: This npm package contains `nwjs-sdk-v0.87.0-linux-ia32` from <https://nwjs.io>.
Latest version: 0.87.0-sdk

# `@nwjs-binaries/linux-ia32`

This npm package contains `nwjs-sdk-v0.87.0-linux-ia32` from <https://nwjs.io>.
npm package: @nwjs-binaries/linux-x64
Description: This npm package contains `nwjs-sdk-v0.87.0-linux-x64` from <https://nwjs.io>.
Latest version: 0.87.0-sdk

# `@nwjs-binaries/linux-x64`

This npm package contains `nwjs-sdk-v0.87.0-linux-x64` from <https://nwjs.io>.
npm package: @nwjs-binaries/osx-arm64
Description: This npm package contains `nwjs-sdk-v0.87.0-osx-arm64` from <https://nwjs.io>.
Latest version: 0.87.0-sdk

# `@nwjs-binaries/osx-arm64`

This npm package contains `nwjs-sdk-v0.87.0-osx-arm64` from <https://nwjs.io>.
npm package: @nwjs-binaries/osx-x64
Description: This npm package contains `nwjs-sdk-v0.87.0-osx-x64` from <https://nwjs.io>.
Latest version: 0.87.0-sdk

# `@nwjs-binaries/osx-x64`

This npm package contains `nwjs-sdk-v0.87.0-osx-x64` from <https://nwjs.io>.
npm package: @nwjs-binaries/win-ia32
Description: This npm package contains `nwjs-sdk-v0.61.0-win-ia32` from <https://nwjs.io>.
Latest version: 0.87.0-sdk

# `@nwjs-binaries/win-ia32`

This npm package contains `nwjs-sdk-v0.61.0-win-ia32` from <https://nwjs.io>.
npm package: @nwjs-binaries/win-x64
Description: This npm package contains `nwjs-sdk-v0.87.0-win-x64` from <https://nwjs.io>.
Latest version: 0.87.0-sdk

# `@nwjs-binaries/win-x64`

This npm package contains `nwjs-sdk-v0.87.0-win-x64` from <https://nwjs.io>.