open-index/open-npm huggingface dataset:
npm package: @joshmccall/cli
Description: cli for my various tools
Author: Josh McCall
Latest version: 1.22.1

# @joshmccall/cli

cli for my various tools

<!-- status badges -->
[![Build Status](https://img.shields.io/travis/joshmccall/cli.svg?branch=master)](https://travis-ci.org/joshmccall/cli)
[![Codecov](https://img.shields.io/codecov/c/github/joshmccall/cli.svg)](https://codecov.io/github/joshmccall/cli)

<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->

* [Usage](#usage)
  * [Installation](#installation)
* [Contributing](#contributing)
  * [Dependencies](#dependencies)
  * [Verification](#verification)
* [Related Projects](#related-projects)

<!-- END doctoc generated TOC please keep comment here to allow auto update -->

## Usage

<!-- consumer badges -->
[![npm](https://img.shields.io/npm/v/@joshmccall/cli.svg)](https://www.npmjs.com/package/@joshmccall/cli)
[![license](https://img.shields.io/github/license/joshmccall/cli.svg)](LICENSE)

### Installation

```sh
$ npm install @joshmccall/cli -g
```

## Contributing

<!-- contribution badges -->
[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg)](https://conventionalcommits.org)
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
[![Greenkeeper badge](https://badges.greenkeeper.io/joshmccall/cli.svg)](https://greenkeeper.io/)
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](http://makeapullrequest.com)

### Dependencies

```sh
$ nvm install
$ npm install
```

### Verification

```sh
$ npm test
```

## Related Projects

* [project-scaffolder](https://npm.im/@travi/project-scaffolder)
* [javascript-scaffolder](https://npm.im/@travi/javascript-scaffolder)
npm package: @joshmccall221/hook
Description: >
Author: joshmccall221
Latest version: 1.0.0

# hook

> 

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

## Install

```bash
npm install --save hook
```

## Usage

```tsx
import * as React from 'react'

import { useMyHook } from 'hook'

const Example = () => {
  const example = useMyHook()
  return (
    <div>
      {example}
    </div>
  )
}
```

## License

MIT © [joshmccall221](https://github.com/joshmccall221)

---

This hook is created using [create-react-hook](https://github.com/hermanya/create-react-hook).
npm package: @joshmg-77/debounce-helper
Description: Debounce helper created with vanilla js
Author: joshmg-77
Latest version: 0.0.2

# Debounce helper
![NPM](https://img.shields.io/npm/v/@joshmg-77/debounce-helper?color=green&logo=npm)

Simple debounce for all javascript environments, can be used in React, Vanilla js, Svelte, Node and more.   Easy to use and lightweight

## Features
- Multiple callbacks
- Optional Delay 
- default delay 350 miliseconds

## Installation

Debounce-helper can use any version of Node to run.

**Npm**
```sh
npm i @joshmg-77/debounce-helper --save-dev
```
**Yarn**

```sh
yarn add @joshmg-77/debounce-helper --dev
```

## Example

Using ES6 Modules
```js
import debounce from '@joshmg-77/debounce-helper'

const fn = debounce((params) => console.log("avoid excessive clicks", params), 5000)

fn()
```
After 5 second
```js
Result: avoid excessive clicks
```
***
Without ES6 Modules
```js
const debounce = require('@joshmg-77/debounce-helper')

const fn = debounce((params) => console.log("avoid excessive clicks", params), 5000)

fn()
```
After 5 second
```js
Result: avoid excessive clicks
```
***
### Another example:

```js
import debounce from '@joshmg-77/debounce-helper'

const fn1 = () => console.log('some code')
const fn2 = () => console.log('foo bar')
const fn3 = () => console.log('service call')
const [Fn1, Fn2, Fn3] = debounce([fn1, fn2, fn3])

Fn1()
Fn2()
Fn3()

```
After 350 miliseconds
```js
Result: 
'some code'
'foo bar'
'service call'
```

## License
GPL
npm package: @joshmorony/nx-netlify
Description: An Nx plugin for deploying your sites to Netlify
Author: Josh Morony
Latest version: 0.0.10

# nx-netlify

## Usage

```
npm install netlify-cli@3.39.4 @joshmorony/nx-netlify --save-dev
```

Add the following target to your project in `workspace.json`:

```json
"deploy": {
    "executor": "@joshmorony/nx-netlify:deploy",
    "options": {
        "siteId": "<your site id from Netlify>", // from the Netlify site you want to deploy to
        "deployDir": "public", // folder that contains the built output to be deployed
        "functionsDir": "functions", // optional, folder must contain only compiled lambda functions
    }
},
```

**IMPORTANT:** You will need to define a Personal access token from Netlify as `NETLIFY_TOKEN` in your `.env` file or otherwise you will need to pass it manually as an option through the executor using the `auth` option.

Trigger deploy:

```
nx deploy mysite
```

### Supported options

```
siteId: string;
deployDir: string;
functionsDir?: string;
buildTarget?: string;
skipBuild?: boolean;
alias?: string;
auth?: string;
json?: boolean;
message?: string;
open?: boolean;
prod?: boolean;
prodIfUnlocked?: boolean;
skipFunctionsCache?: boolean;
timeout?: string;
debug?: boolean;
httpProxy?: string;
httpProxyCertificateFilename?: string;
```