# butter-js-tools

> A frontend javascript tools libiary.

Latest version **1.0.4** (published 2020-05-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install butter-js-tools
pnpm add butter-js-tools
yarn add butter-js-tools
bun add butter-js-tools
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2020-05-07 |
| First published | 2020-05-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 7.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | anblandy |
| Maintainers | anblandy |
| Keywords | javascript, tool |

## Links

- npm: https://www.npmjs.com/package/butter-js-tools
- npm.io page: https://npm.io/package/butter-js-tools

## Alternatives

- [lodash.assign](https://npm.io/package/lodash.assign.md) — 2.3M weekly downloads
- [lodash.chunk](https://npm.io/package/lodash.chunk.md) — 1.8M weekly downloads
- [react-native-ios-utilities](https://npm.io/package/react-native-ios-utilities.md) — 138.5K weekly downloads
- [@technically/lodash](https://npm.io/package/@technically/lodash.md) — 50.9K weekly downloads
- [@fluid-topics/ft-icon](https://npm.io/package/@fluid-topics/ft-icon.md) — 20.6K weekly downloads

## Recent versions

- 1.0.4 (latest) — 2020-05-07
- 1.0.3 — 2020-05-07
- 1.0.2 — 2020-05-07
- 1.0.1 — 2020-05-07
- 1.0.0 — 2020-05-07

## README

# butter-js-tools

----

A javascript tools library

----

## Installation

using npm:

```bash
npm i -g npm
npm i --save butter-js-tools
```

----

## Usage

The `$b` object is exposed on the global object, and all APIs are mounted on this object

----

## API List

- `isFunction(method)`

  - **Description**: Check if the parameter is a function type

  - **Return**: Boolean

  - **Arguments Required**: yes

- `isArray(array)`

  - **Description**: Check if the parameter is an array type

  - **Return**: Boolean

  - **Arguments Required**: yes

- `isFilledArray(array)`

  - **Description**: Check that the parameter is an array type and is not an empty array

  - **Return**: Boolean

  - **Arguments Required**: yes

- `getQueryParam(name)`

  - **Description**: Returns the parameter value of the corresponding query parameter on the browser address

  - **Return**: String

  - **Arguments Required**: yes

- `getAllQueryParams()`

  - **Description**: Returns the object of all parameters and parameter values ​​on the browser address

  - **Return**: String

  - **Arguments Required**: no

----

## EXAMPLE

```javascript
import $ from 'butter-js-tools'

$.isFunction(()=>{})

// or

window.$b.isArray([])

```

----

  *MY E-MAIL:* `butter_npm@outlook.com`

---
_Source: https://npm.io/package/butter-js-tools · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
