open-index/open-npm huggingface dataset:
npm package: @socheatsok78/axios-authorization
Description: Axios authorization plugin 🎫
Author: Socheat Sok
Latest version: 1.0.5

# @socheatsok78/axios-authorization

Axios authorization plugin 🎫 

[![@npm][npm-badge]][npm-url]
[![license][license-badge]](LICENSE)

## Features

- [x] Add support for `BasicToken`
- [x] Add support for `BearerToken`
- [ ] Add support for `Oauth 1.0`
- [ ] Add support for `Oauth 2.0`
- [ ] Add support for `Microsoft NTLM`
- [ ] Add support for `AWS IAM v4`

## Install

```sh
npm install @socheatsok78/axios-authorization
# or
yarn add @socheatsok78/axios-authorization
```

## Usage

```js
import axios from 'axios'
import { useAuthorization } from '@socheatsok78/axios-authorization'

// Register the plugin
useAuthorization(axios)

// Create token object
const token = axios.credentials.create('Bearer', { token: 'your-bearer-token' })

// Set the Authorization token to the request header
axios.credentials.store(token) 

// Remove the Authorization token from the request header
axios.credentials.clear()
```

**Create a `Bearer` token**

```js
import { BearerToken } from '@socheatsok78/axios-authorization'

// Create Bearer token object
const token = axios.credentials.create('Bearer', { token: 'your-bearer-token' })

// or

const token = new BearerToken({
    token: 'your-bearer-token',
    prefix: 'Bearer' // optional
})

// Set the Authorization token to the request header
axios.credentials.store(token) 
```
**Create a `Basic` token**

```js
import { BasicToken } from '@socheatsok78/axios-authorization'

// Create Basic token object
const token = axios.credentials.create('Basic', {
    username: 'your-username',
    password: 'your-secure-password'
})

// or

const token = new BasicToken({
    username: 'your-username',
    password: 'your-secure-password'
})

// Set the Authorization token to the request header
axios.credentials.store(token) 
```

## License

Licensed under the [MIT License](LICENSE).

<!-- variables -->
[npm-badge]: https://img.shields.io/npm/dw/@socheatsok78/axios-authorization
[npm-url]: https://npm.im/@socheatsok78/axios-authorization
[license-badge]: https://img.shields.io/github/license/socheatsok78/axios-authorization
npm package: @socheatsok78/flow-fonts
Description: > ⚠️⚠️ I'm not the designer of this fonts. Please check the below descriptions for detail.
Author: Socheat Sok
Latest version: 1.1.2

# @socheatsok78/flow-fonts

> ⚠️⚠️ I'm not the designer of this fonts. Please check the below descriptions for detail.

Flow is a typeface built for wireframing. It's free and it comes in three weights – circular, rounded, and block.

It's not perfect, but neither are your wireframes. Flow has sub-pixels, artifacts, overlaps, and other imperfections.

Designing with real content is important, but sometimes we need something more abstract. Flow aims to provide an efficient and flexible way to create abstracted content.

**Designer**: https://twitter.com/HYPD  
**Website**: http://danross.co/flow/


### Installation

```sh
npm install @socheatsok78/flow-fonts
# or
yarn add @socheatsok78/flow-fonts
```

### Usage

Usage with **JavaScript**

```js
import '@socheatsok78/flow-fonts'
```

Usage with **SCSS**

```scss
@import "~@socheatsok78/flow-fonts/style.css";
```

# Preview

**Flow** or **Flow-Circular**

```css
font-family: 'Flow';
/* or */
font-family: 'Flow-Circular';
```

<img src="https://user-images.githubusercontent.com/4363857/132119821-324b21b3-6f11-4d88-ae75-4855dc8247a6.png" width="50%">

---

**Flow-Rounded**

```css
font-family: 'Flow-Rounded';
```

<img src="https://user-images.githubusercontent.com/4363857/132119819-e45fc129-f4ea-44f0-a790-ceda493c799d.png" width="50%">

---

**Flow-Block**

```css
font-family: 'Flow-Block';
```

<img src="https://user-images.githubusercontent.com/4363857/132119815-d7c1026b-e9ee-4a2a-97e9-5b36faf11912.png" width="50%">