open-index/open-npm huggingface dataset:
npm package: @nooks-ai/nooks-zoominfo-api-auth-client
Description: Zoominfo API Authentication Client (Nooks fork)
Author: Nooks
Latest version: 1.2.0

# Zoominfo API Auth Client

An API Authentication client to generate access token for Zoominfo API

### Installation
```
npm i zoominfo-api-auth-client
```

### Usage

#### Get access token using client id and private key
```
var authClient = require('zoominfo-api-auth-client');
var pkiAuthPromise = authClient.getAccessTokenViaPKI("username", "clientId", "privateKey");
pkiAuthPromise.then(token => console.log(token));
```
#### Get access token using username and password
```
var authClient = require('zoominfo-api-auth-client');
var basicAuthPromise = authClient.getAccessTokenViaBasicAuth("username", "password");
basicAuthPromise.then(token => console.log(token));
```
npm package: @nooks-by-jonghwa/use-title
Description: React Hook to update your document's title.
Author: jonghwa
Latest version: 1.0.1

# @nooks-by-jonghwa/use-title

React Hook to update your document's title.

## Installation

#### yarn

`yarn add @nooks-by-jonghwa/use-title`

#### npm

`npm i @nooks-by-jonghwa/use-title`

## Usage

```js
import React from "react";
import useTitle from "@nooks-by-jonghwa/use-title";

function App() {
  useTitle("Welcome");
  return <h1>Welcome</h1>;
}
```

### Arguments

| Argument | Type   | Description                                | Required |
| -------- | ------ | ------------------------------------------ | -------- |
| title    | string | The title you want to use on your document | yes      |
npm package: @nooks-practice/use-axios
Description: React Hook to use Axios
Author: Margot
Latest version: 1.0.2

# @nooks-practice/use-axios

React Hook to use Axios

## Installation

#### yarn

`yarn add @nooks-practice/use-axios`

#### npm

`npm i @nooks-practice/use-axios`

## Usage

```js
import React from "react";
import useAxios from "@nooks-practice/use-axios";

function App() {
  const { loading, data, error, refetch } = useAxios({
    url: "https://yts-proxy.now.sh/list_movies.json"
  });

  return (
    <div className="App">
      <div className="content">
        <h1>{!loading && data && data.status}</h1>
        <h2>{loading && "loading"}</h2>
        <div>{error && error.message}</div>
        <button onClick={refetch}>Refetch</button>
      </div>
    </div>
  );
};
```

### Arguments

| Argument     | Type          | Description                                                                             | Required |
| ------------ | ------------- | --------------------------------------------------------------------------------------- | -------- |
| options      | object        | [Config options for Axios requests](https://www.npmjs.com/package/axios#request-config) | yes      |
| axiosInstance| AxiosInstance | Customized axios instance (or default axios instance)                                   | no       |

### Return

| Return value | Type      | Description                                                     | Default value |
| ------------ | --------- | --------------------------------------------------------------- | ------------- |
| loading      | boolean   | A boolean representing if response is loading or not            | true          |
| error        | object    | Axios error                                                     | null          |
| data         | object    | Axios response data                                             | null          |
| refetch      | function  | Function to refetch data                                        |               |
npm package: @nooks/use-before-leave
Description: React Hook to execute a function when the mouse leaves the document.
Author: Nicolás Serrano Arévalo
Latest version: 1.0.2

# @nooks/use-before-leave

React Hook to execute a function when the mouse leaves the page. Useful to show a popup or for analytics.

## Installation

#### yarn

`yarn add @nooks/use-before-leave`

#### npm

`npm i @nooks/use-before-leave`

## Usage

```js
import React from "react";
import useBeforeLeave from "@nooks/use-before-leave";

function App() {
  const beforeLeave = () => console.log("User is leaving...");
  useBeforeLeave(beforeLeave);
  return <h1>Hello Nooks</h1>;
}
```

### Arguments

| Argument      | Type     | Description                                              | Required |
| ------------- | -------- | -------------------------------------------------------- | -------- |
| onBeforeLeave | function | Function to be called when the mouse leaves the document | yes      |
npm package: @nooks/use-confirm
Description: React Hook to prompt a confirmation before executing a function
Author: Nicolás Serrano Arévalo
Latest version: 1.0.4

# @nooks/use-confirm

React Hook to ask the user for a confirmation before executing a function.

## Installation

#### yarn

`yarn add @nooks/use-confirm`

#### npm

`npm i @nooks/use-confirm`

## Usage

```js
import React from "react";
import useConfirm from "@nooks/use-confirm";

function App() {
  const deleteWorld = () => console.log("Deleting world...");
  const confirmDelete = useConfirm("Are you sure?", deleteWorld);
  return <button onClick={confirmDelete}>Delete the world</button>;
}
```

### Arguments

| Argument  | Type     | Description                                         | Required |
| --------- | -------- | --------------------------------------------------- | -------- |
| message   | string   | Message to show the user on the confirmation propmt | yes      |
| onConfirm | function | Function to be executed when the user confirms      | yes      |
| onCancel  | function | Function to be executed when the user cancels       | no       |

### Return

| Return value | Type     | Description                                    | Default value |
| ------------ | -------- | ---------------------------------------------- | ------------- |
| function     | function | Function wrapped around the confirmation logic | null          |
npm package: @nooks/use-fade-in
Description: React Hook to fade in any element.
Author: Nicolás Serrano Arévalo
Latest version: 1.0.1

# @nooks/use-fade-in

React Hook to fade in any element.

## Installation

#### yarn

`yarn add @nooks/use-fade-in`

#### npm

`npm i @nooks/use-fade-in`

## Usage

```js
import React from "react";
import useFadeIn from "@nooks/use-fade-in";

function App() {
  const fadeIn = useFadeIn(5, 10);
  return <h1 {...fadeIn}>This will fade in.</h1>;
}
```

### Arguments

| Argument | Type   | Description                                     | Required | Default value |
| -------- | ------ | ----------------------------------------------- | -------- | ------------- |
| duration | number | Sets the duration of the transition. In seconds | no       | 1             |
| delay    | number | Delays of transition's start. In seconds        | no       | 0             |

### Return

`useScroll` returns an object containing the following:

| Name  | Type      | Description                                                               |
| ----- | --------- | ------------------------------------------------------------------------- |
| ref   | React Ref | A ref created to fadeIn the element                                       |
| style | Object    | Style object containing `{opacity:0}` to give to the element as a default |

It's recommended to just spread the returned object on the element as shown in the Usage section above.
npm package: @nooks/use-fullscreen
Description: React Hook to make any element go Fullscreen
Author: Nicolás Serrano Arévalo
Latest version: 1.0.2

# @nooks/use-fullscreen

React Hook to make any element go Fullscreen

## Installation

#### yarn

`yarn add @nooks/use-fullscreen`

#### npm

`npm i @nooks/use-fullscreen`

## Usage

```js
import React from "react";
import useFullscreen from "@nooks/use-fullscreen";

function App() {
  const onChange = isFull =>
    console.log(isFull ? "We are in Fullscreen" : "We are not in Fullscreen");
  const { element, triggerFull, exitFull } = useFullscreen(onChange);
  return (
    <div ref={element}>
      <h1>Hello</h1>
      <button onClick={triggerFull}>Make this Fullscreen</button>
      <button onClick={exitFull}>Exit Fullscreen</button>
    </div>
  );
}
```

### Arguments

| Argument | Type     | Description                                                       | Arguments        | Required |
| -------- | -------- | ----------------------------------------------------------------- | ---------------- | -------- |
| onChange | function | Function to be called when the screen goes Fullscreen or exits is | isFull : Boolean | no       |

### Return

`useFullscreen` returns an object containing the following:

| Return value | Type      | Description                                                |
| ------------ | --------- | ---------------------------------------------------------- |
| element      | React Ref | Ref to add to the element that you want to make fullscreen |
| triggerFull  | Function  | Function to make the element enter fullscreen              |
| exitFull     | Function  | Function to make the document exit fullscreen              |
npm package: @nooks/use-hover
Description: React Hook to detect a hover on an any React Element
Author: Nicolás Serrano Arévalo
Latest version: 1.0.4

# @nooks/use-hover

React Hook to detect a hover on an any React Element

## Installation

#### yarn

`yarn add @nooks/use-hover`

#### npm

`npm i @nooks/use-hover`

## Usage

```js
import React from "react";
import useHover from "@nooks/use-hover";

function App() {
  const onHover = () => console.log("Somebody hovered!");
  const markedRef = useClick(onHover);
  return <h1 ref={markedRef}>Hello Nooks</h1>;
}
```

### Arguments

| Argument | Type     | Description                                       | Required |
| -------- | -------- | ------------------------------------------------- | -------- |
| onHover  | function | Function to be called when the element is hovered | yes      |

### Return

| Return value | Type      | Description                                                     | Default value |
| ------------ | --------- | --------------------------------------------------------------- | ------------- |
| ref          | React Ref | A React Ref listening to the hover event, add it to any element | null          |
npm package: @nooks/use-network
Description: React Hook to listen when the user goes online or offline.
Author: Nicolás Serrano Arévalo
Latest version: 1.0.1

# @nooks/use-network

React Hook to listen when the user goes online or offline.

## Installation

#### yarn

`yarn add @nooks/use-network`

#### npm

`npm i @nooks/use-network`

## Usage

```js
import React from "react";
import useNetwork from "@nooks/use-network";

function App() {
  const onNetworkChange = isOnline =>
    console.log(isOnline ? "We are back online" : "We just got offline");
  const isOnline = useNetwork(onNetworkChange);
  return <h1>{isOnline ? "We are online" : "We are offline"}</h1>;
}
```

### Arguments

| Argument        | Type     | Description                                           | Arguments          | Required |
| --------------- | -------- | ----------------------------------------------------- | ------------------ | -------- |
| onNetworkChange | function | Function to be called when the network status changes | isOnline : Boolean | no       |

### Return

| Return value | Type    | Description                                         | Default value |
| ------------ | ------- | --------------------------------------------------- | ------------- |
| isOnline     | Boolean | A boolean representing if the user is online or not | true          |
npm package: @nooks/use-prevent-leave
Description: React Hook to prompt the user for confirmation before leaving the page.
Author: Nicolás Serrano Arévalo
Latest version: 1.0.1

# @nooks/use-prevent-leave

React Hook to prompt the user for confirmation before leaving the page. Useful when changes haven't been saved.

## Installation

#### yarn

`yarn add @nooks/use-prevent-leave`

#### npm

`npm i @nooks/use-prevent-leave`

## Usage

```js
import React from "react";
import usePreventLeave from "@nooks/use-prevent-leave";

function App() {
  const { enablePrevent, disablePrevent } = usePreventLeave();
  const saveChanges = async () => {
    enablePrevent();
    await sendToApi();
    disablePrevent();
  };
  return <button onClick={saveChanges}>Save changes</button>;
}
```

### Return

| Return value | Type   | Description                                                                                                                     |
| ------------ | ------ | ------------------------------------------------------------------------------------------------------------------------------- |
| Functions    | Object | A object containing functions `enablePrevent` and `disablePrevent`, use this functions to enable/disable the leaving prevention |
npm package: @nooks/use-scroll
Description: React Hook to get X/Y coordinates of current position of the scroll.
Author: Nicolás Serrano Arévalo
Latest version: 1.0.1

# @nooks/use-scroll

React Hook to get X/Y coordinates of current position of the scroll.

## Installation

#### yarn

`yarn add @nooks/use-scroll`

#### npm

`npm i @nooks/use-scroll`

## Usage

```js
import React from "react";
import useScroll from "@nooks/use-scroll";

function App() {
  const { x, y } = useScroll();
  return (
    <h1>
      We are in: {x} / {y}
    </h1>
  );
}
```

### Return

| Return value | Type   | Description                                                             | Default value |
| ------------ | ------ | ----------------------------------------------------------------------- | ------------- |
| Coords       | Object | An object containing the x/y coordinates of the current scroll position | `{x:0, y:0}`  |
npm package: @nooks/use-title
Description: React Hook to update your document's title
Author: Nicolás Serrano Arévalo
Latest version: 1.0.2

# @nooks/use-title

React Hook to update your document's title.

## Installation

#### yarn

`yarn add @nooks/use-title`

#### npm

`npm i @nooks/use-title`

## Usage

```js
import React from "react";
import useTitle from "@nooks/use-title";

function App() {
  useTitle("Welcome");
  return <h1>Welcome</h1>;
}
```

### Arguments

| Argument | Type   | Description                                | Required |
| -------- | ------ | ------------------------------------------ | -------- |
| title    | string | The title you want to use on your document | yes      |
npm package: @nooks_seo/use-axios
Description: React Hook to fetch data using Axios with ease.
Author: Seoyoon Choi
Latest version: 1.2.0

# @nooks_seo/use-axios

React Hook to fetch data using Axios with ease.

## 설치
```bash
npm install @nooks_seo/use-axios
# 또는
yarn add @nooks_seo/use-axios
```

##사용 방법
```jsx
import React from "react";
import useAxios from "@nooks_seo/use-axios";

function App() {
  const { loading, error, data, refetch } = useAxios({
    url: "https://yts.mx/api/v2/list_movies.json"
  });

  if (loading) return <h1>Loading...</h1>;
  if (error) return <h1>Error occurred: {error.message}</h1>;

  return (
    <div>
      <h1>{data.status}</h1>
      <button onClick={refetch}>Refetch</button>
    </div>
  );
}

export default App;
```
npm package: @nooks_seo/use-before-leave
Description: `useBeforeLeave` is a React Hook that executes a specified callback function when the user is about to leave the browser window (for example, when the mouse moves toward the top of the screen).
Author: Seoyoon Choi
Latest version: 2.1.0

# @nooks_seo/use-before-leave

`useBeforeLeave` is a React Hook that executes a specified callback function when the user is about to leave the browser window (for example, when the mouse moves toward the top of the screen).

`useBeforeLeave`는 사용자가 브라우저 화면을 떠나려고 할 때(마우스가 창 상단으로 이동) 지정한 콜백 함수를 실행하는 React Hook입니다.

## 설치

```bash
npm install @nooks_seo/use-before-leave
# 또는
yarn add @nooks_seo/use-before-leave
```

## 사용 방법

```jsx
import React from "react";
import { useBeforeLeave } from "@nooks_seo/use-before-leave";

function App() {
  const begForLife = () => console.log("Please don't leave!");
  useBeforeLeave(begForLife);

  return <h1>Don't go!</h1>;
}

export default App;
```
npm package: @nooks_seo/use-click
Description: React Hook to detect click events on a specific element easily.
Author: Seoyoon Choi
Latest version: 1.0.0

# @nooks_seo/use-click

React Hook to detect click events on a specific element easily.

## 설치

```bash
npm install @nooks_seo/use-click
# 또는
yarn add @nooks_seo/use-click
```

## 사용 방법

```jsx
import React from "react";
import { useClick } from "@nooks/use-click";

function App() {
  const handleClick = () => console.log("Element clicked!");
  const titleRef = useClick(handleClick);

  return <h1 ref={titleRef}>Click Me!</h1>;
}

export default App;
```
npm package: @nooks_seo/use-confirm
Description: React Hook to ask for user confirmation before executing an action
Author: Seoyoon Choi
Latest version: 1.0.0

# @nooks_seo/use-confirm

React Hook to ask for user confirmation before executing an action

## 설치

```bash
npm install @nooks_seo/use-confirm
# 또는
yarn add @nooks_seo/use-confirm
```

## 사용 방법

```jsx
import React from "react";
import { useConfirm } from "@nooks_seo/use-confirm";

function App() {
  const deleteWorld = () => console.log("Deleting the world...");
  const abort = () => console.log("Aborted!");

  const confirmDelete = useConfirm(
    "Are you sure you want to delete the world?",
    deleteWorld,
    abort
  );

  return (
    <div>
      <button onClick={confirmDelete}>Delete World</button>
    </div>
  );
}

export default App;
```
npm package: @nooks_seo/use-fade-in
Description: React Hook to easily add a fade-in animation to any element.
Author: Seoyoon Choi
Latest version: 1.0.0

# @nooks_seo/use-fade-in

React Hook to easily add a fade-in animation to any element.

---

## 📦 설치

```bash
npm install @nooks_seo/use-fade-in
# 또는
yarn add @nooks_seo/use-fade-in
```

## 사용 방법
```jsx
import React from "react";
import { useFadeIn } from "@nooks_seo/use-fade-in";

function App() {
  const fadeInH1 = useFadeIn(2, 1); // 2초 동안, 1초 뒤에 fade-in

  return (
    <div>
      <h1 {...fadeInH1}>Hello Fade In</h1>
    </div>
  );
}

export default App;
```
npm package: @nooks_seo/use-fullscreen
Description: React Hook to easily make any element go fullscreen and exit fullscreen.
Author: Seoyoon Choi
Latest version: 1.0.0

# @nooks_seo/use-fullscreen

React Hook to easily make any element go fullscreen and exit fullscreen.

---

## 📦 설치

```bash
npm install @nooks_seo/use-fullscreen
# 또는
yarn add @nooks_seo/use-fullscreen
```

## 사용 방법

```jsx
import React from "react";
import { useFullscreen } from "@nooks_seo/use-fullscreen";

function App() {
  const onFullS = (isFull) => console.log(isFull ? "Full Screen" : "Exit Full Screen");
  const { element, triggerFull, exitFull } = useFullscreen(onFullS);

  return (
    <div>
      <div ref={element} style={{ width: "300px", height: "200px", backgroundColor: "tomato" }}>
        <h1>Hello Fullscreen</h1>
      </div>
      <button onClick={triggerFull}>Go Fullscreen</button>
      <button onClick={exitFull}>Exit Fullscreen</button>
    </div>
  );
}

export default App;
```
npm package: @nooks_seo/use-hover
Description: React Hook to detect when the user hovers over a specific element.
Author: Seoyoon Choi
Latest version: 1.0.0

# @nooks_seo/use-hover

React Hook to detect when the user hovers over a specific element.

---

## 📦 설치

```bash
npm install @nooks_seo/use-hover
# 또는
yarn add @nooks_seo/use-hover
```

## 사용 방법

```jsx
import React from "react";
import { useHover } from "@nooks_seo/use-hover";

function App() {
  const sayHello = () => console.log("Hello!");

  const hoverRef = useHover(sayHello);

  return (
    <div>
      <h1 ref={hoverRef}>Hover over me!</h1>
    </div>
  );
}

export default App;
```
npm package: @nooks_seo/use-input
Description: React Hook to manage input values with optional validation logic.
Author: Seoyoon Choi
Latest version: 2.0.0

# @nooks_seo/use-input

React Hook to manage input values with optional validation logic.

> ✅ **TypeScript-friendly:** this package now includes JSDoc type annotations so editors/TypeScript-aware IDEs get proper hints.

If you want to provide full `.d.ts` declarations for consumers, see the suggestions at the bottom of this message.

---

## 📦 설치

```bash
npm install @nooks_seo/use-input
# 또는
yarn add @nooks_seo/use-input
```

## 사용 방법

```jsx
import React from "react";
import { useInput } from "@nooks_seo/use-input";

function App() {
  // 최소 10자 이상 입력해야 하는 validator
  const maxLength = (value) => value.length <= 10;

  const name = useInput("", maxLength);

  return (
    <div>
      <input placeholder="Name" {...name} />
    </div>
  );
}

export default App;
```
npm package: @nooks_seo/use-notification
Description: React Hook to send browser notifications easily using the **Notification API**.
Author: Seoyoon Choi
Latest version: 1.0.0

# @nooks_seo/use-notification

React Hook to send browser notifications easily using the **Notification API**.

---

## 📦 설치

```bash
npm install @nooks_seo/use-notification
# 또는
yarn add @nooks_seo/use-notification
```

## 사용 방법

```jsx
import React from "react";
import { useNotification } from "@nooks_seo/use-notification";

function App() {
  const triggerNotif = useNotification("안녕하세요!", {
    body: "이건 알림 메시지 내용이에요.",
    icon: "https://cdn-icons-png.flaticon.com/512/1827/1827392.png"
  });

  return (
    <div>
      <h1>알림 예제</h1>
      <button onClick={triggerNotif}>알림 보내기</button>
    </div>
  );
}

export default App;
```
npm package: @nooks_seo/use-prevent-leave
Description: React Hook to prevent users from accidentally leaving or closing the page.
Author: Seoyoon Choi
Latest version: 1.0.0

# @nooks_seo/use-prevent-leave

React Hook to prevent users from accidentally leaving or closing the page.

---

## 📦 설치

```bash
npm install @nooks_seo/use-prevent-leave
# 또는
yarn add @nooks_seo/use-prevent-leave
```

## 사용 방법

```jsx
import React from "react";
import { usePreventLeave } from "@nooks_seo/use-prevent-leave";

function App() {
  const { enablePrevent, disablePrevent } = usePreventLeave();

  return (
    <div>
      <h1>Prevent Leaving Example</h1>
      <button onClick={enablePrevent}>Enable Prevent</button>
      <button onClick={disablePrevent}>Disable Prevent</button>
    </div>
  );
}

export default App;
```
npm package: @nooks_seo/use-scroll
Description: React Hook to track the current scroll position (x, y) of the window.
Author: Seoyoon Choi
Latest version: 1.0.0

# @nooks_seo/use-scroll

React Hook to track the current scroll position (x, y) of the window.

---

## 📦 설치

```bash
npm install @nooks_seo/use-scroll
# 또는
yarn add @nooks_seo/use-scroll
```

## 사용 방법

```jsx
import React from "react";
import { useScroll } from "@nooks_seo/use-scroll";

function App() {
  const { x, y } = useScroll();

  return (
    <div style={{ height: "200vh", padding: "20px" }}>
      <h1>Scroll Position</h1>
      <p>X: {x}px</p>
      <p>Y: {y}px</p>
    </div>
  );
}

export default App;
```
npm package: @nooks_seo/use-tab
Description: React Hook to easily manage tab navigation by controlling active content.
Author: Seoyoon Choi
Latest version: 1.0.0

# @nooks_seo/use-tab

React Hook to easily manage tab navigation by controlling active content.

---

## 📦 설치

```bash
npm install @nooks_seo/use-tab
# 또는
yarn add @nooks_seo/use-tab
```

## 사용 방법

```jsx
import React from "react";
import { useTabs } from "@nooks_seo/use-tab";

const content = [
  {
    tab: "Section 1",
    content: "I'm the content of the Section 1"
  },
  {
    tab: "Section 2",
    content: "I'm the content of the Section 2"
  }
];

function App() {
  const { currentItem, changeItem } = useTabs(0, content);

  return (
    <div>
      {content.map((section, index) => (
        <button key={index} onClick={() => changeItem(index)}>
          {section.tab}
        </button>
      ))}
      <div>{currentItem.content}</div>
    </div>
  );
}

export default App;
```
npm package: @nooks_seo/use-title
Description: React Hook to update your document's title
Author: Seoyoon Choi
Latest version: 1.2.0

# @nooks_seo/use-title

React Hook to update the document title easily.

---

## 📦 설치

```bash
npm install @nooks_seo/use-title
# 또는
yarn add @nooks_seo/use-title
```

## 사용 방법

```jsx
import React, { useEffect } from "react";
import { useTitle } from "@nooks_seo/use-title";

function App() {
  const titleUpdater = useTitle("Loading...");

  useEffect(() => {
    const timer = setTimeout(() => titleUpdater("Home"), 2000);
    return () => clearTimeout(timer);
  }, [titleUpdater]);

  return (
    <div>
      <h1>Hello!</h1>
    </div>
  );
}

export default App;
```
npm package: @nooksbazaar/locize-lastused
Description: Using API lastUsed using in node.js, in the browser and for deno.
Author: locize
Latest version: 3.0.3

[![Actions](https://github.com/locize/locize-lastused/workflows/node/badge.svg)](https://github.com/locize/locize-lastused/actions?query=workflow%3Anode)
[![Travis](https://img.shields.io/travis/locize/locize-lastused/master.svg?style=flat-square)](https://travis-ci.org/locize/locize-lastused)
[![npm version](https://img.shields.io/npm/v/locize-lastused.svg?style=flat-square)](https://www.npmjs.com/package/locize-lastused)
[![David](https://img.shields.io/david/locize/locize-lastused.svg?style=flat-square)](https://david-dm.org/locize/locize-lastused)

This is an i18next plugin or standalone scriot to be used for [locize](http://locize.com) service. It will update last used timestamps on reference keys from your locize project using xhr. It sets the last used date on your reference language's namespaces.

# Getting started

Source can be loaded via [npm](https://www.npmjs.com/package/locize-lastused) or [downloaded](https://cdn.rawgit.com/locize/locize-lastused/master/locizeLastUsed.min.js) from this repo.

```
# npm package
$ npm install locize-lastused
```

## Options

**IMPORTANT** make sure you do not add your apiKey in the production build to avoid misuse by strangers

```js
{
  // the id of your locize project
  projectId: '[PROJECTID]',

  // add an api key if you want to send missing keys
  apiKey: '[APIKEY]',

  // the reference language of your project
  referenceLng: '[LNG]',

  // version - defaults to latest
  version: '[VERSION]',

  // debounce interval to send data in milliseconds
  debounceSubmit: 90000,

  // hostnames that are allowed to send last used data
  // please keep those to your local system, staging, test servers (not production)
  allowedHosts: ['localhost']
}
```

## Using with i18next

Options can be passed in by setting options.locizeLastUsed in i18next.init:

```js
import i18next from 'i18next';
import locizeLastUsed from 'locize-lastused';
// or
const i18next = require('i18next');
const locizeLastUsed = require('locize-lastused');

i18next.use(locizeLastUsed).init({
  locizeLastUsed: options
});
```

- If you don't use a module loader it will be added to `window.locizeLastUsed`

## Using without i18next

Directly call locizeLastUsed.init:

```js
import locizeLastUsed from 'locize-lastused';

locizeLastUsed.init(options);
```

then call used function with namespace and key:

```js
import locizeLastUsed from 'locize-lastused';

locizeLastUsed.used('myNamespace', 'myKey.as.in.locize');
```
npm package: @nookuio/nuxt
Description: Nuxt module to connect with nooku
Author: nooku
Latest version: 2.0.0

# nooku Nuxt Module

[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![License][license-src]][license-href]

[Nuxt](https://nuxt.com/) module for [nooku](https://nooku.io) ⚡️

This Nuxt module enables connection and interaction between your nuxt app and nooku.

-   [&nbsp;Learn more about nooku](https://nooku.io)

## Quick Setup

1. Install: Add `@nooku/nuxt` to your project

```bash
# Using npm
npm install -D @nooku/nuxt

# Using pnpm
pnpm add -D @nooku/nuxt
```

2. Configure: Add `@nooku/nuxt` to your Nuxt Integrations array `nuxt.config.{js,ts}`

```js
//nuxt.config.js (or) nuxt.config.ts

export default defineNuxtConfig({
	modules: [
		'@nooku/nuxt',
		//...
	],
	nooku: {
		enabled: true // default true
	},
	//...
})
```

Now, open your Nuxt project in nooku. ✨

## License

[MIT License](./LICENSE)

Copyright (c) nooku

<!-- Badges -->

[npm-version-src]: https://img.shields.io/npm/v/@nooku/nuxt/latest.svg?style=flat&colorA=18181B&colorB=28CF8D
[npm-version-href]: https://npmjs.com/package/@nooku/nuxt
[npm-downloads-src]: https://img.shields.io/npm/dm/@nooku/nuxt.svg?style=flat&colorA=18181B&colorB=28CF8D
[npm-downloads-href]: https://npmjs.com/package/@nooku/nuxt
[license-src]: https://img.shields.io/npm/l/@nooku/nuxt.svg?style=flat&colorA=18181B&colorB=28CF8D
[license-href]: https://npmjs.com/package/@nooku/nuxt