open-index/open-npm huggingface dataset:
npm package: @idct/axios-jwt-oobe-for-nuxt
Description: Nuxt module wrapper around the `@idct/axios-jwt-oobe` package
Author: IDCT Bartosz Pachołek
Latest version: 0.1.2

@idct/axios-jwt-oobe-for-nuxt
=============================

Nuxt module wrapper around the `@idct/axios-jwt-oobe` package:
https://www.npmjs.com/package/@idct/axios-jwt-oobe

**pre-alpha version, for learning and debug purposes only**

Installation
============

In your nuxt project first load using npm or yarn:
```
npm install @idct/axios-jwt-oobe-for-nuxt
```

Then in `nuxt.config.json` replace `@nuxtjs/axios` with `'@idct/axios-jwt-oobe-for-nuxt`.

Later, under `axios` module config section add the required parameters - for example:
```
  axios: {
    tokenFieldName: "token",
    refreshTokenFieldName: "refresh_token",
    refreshTokenRetrievalUrl: "https://mywebsite.com/auth/refresh",
    loginActionInfo: {
      "url": "https://mywebsite.com/auth/login",
      "usernameField": "username",
      "passwordField": "password"
    },
    baseURL: 'https://mywebsite.com'
  },
```

If you wish to perform any actions on actual logout (when refresh token could not refresh token) then somewhere in your code add a callback for `onLogout`:

```js
this.$axios.onLogout(() => {
    alert("whoos you have been signed out as refresh token could not refresh the token!");
})
```

you can also use the built-in login and logout methods:
```js
this.$axios.jwtHandler.login("marian","marianspassword123")
```

```js
this.$axios.jwtHandler.logout()
```

For actual methods of the `jwtHandler` please refer to the readme of axios-jwt-oobe:
`https://github.com/ideaconnect/axios-jwt-oobe`
npm package: @iddan/git-publish
Description: Publish packages to a dedicated Git branch instead of to NPM
Latest version: 1.0.2

# Git Publish

Publish packages to a dedicated Git branch instead of to NPM

```bash
npm install --save-dev @iddan/git-publish
```

_or_

```bash
yarn add --dev @iddan/git-publish
```

### Why?

To allow publishing private node modules for free

### Usage

```bash
$(npm bin)/git-publish
```

_or_

```bash
yarn run git-publish
```

And then install it by

```bash
npm install $GIT_REPOSITORY"#v"$VERSION
```

_or_

```bash
yarn add $GIT_REPOSITORY"#v"$VERSION
```

### Prior Art

* [npm-git-publish](https://github.com/theoy/npm-git-publish)
npm package: @iddan/react-giphy
Description: React components for GIPHY
Author: Iddan Aaronsohn
Latest version: 1.0.0-beta.4

<div align="center" href="">
  <img height="140" src="assets/giphy.png" alt="Giphy Logo" align="center" />
  <img width="167" src="assets/react.svg" alt="React Logo" align="center" />
  <h1>React GIPHY</h1>
  <p>React components for <a href="https://developers.giphy.com/docs/">GIPHY</a></p>
</div>

```bash
npm install @iddan/react-giphy
# or yarn add @iddan/react-giphy
```

### Features

 - Typed
 - Components match the API endpoints


### Usage

```javascript
import * as Giphy from '@iddan/react-giphy';
```

### Components

#### `<Giphy.Translate />`

##### props

 - apiKey - `string` (required)
 - searchTerm - `number` (required)
 - size - `"fixed_height" | "fixed_height_still" | "fixed_height_downsampled" | "fixed_width" | "fixed_width_still" | "fixed_width_downsampled" | "fixed_height_small" | "fixed_height_small_still" | "fixed_width_small" | "fixed_width_small_still" | "downsized_still" | "downsized_large" | "downsized_medium" | "downsized_small"` (defaults to `"fixed_height"`)