# small2

> do foolish and stay simply.

Latest version **0.1.5** (published 2015-09-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install small2
pnpm add small2
yarn add small2
bun add small2
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.5 |
| Published | 2015-09-30 |
| First published | 2015-08-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | chinaqstar |
| Maintainers | chinaqstar |

## Links

- npm: https://www.npmjs.com/package/small2
- Repository: https://git.oschina.net/qiansy/small2
- npm.io page: https://npm.io/package/small2

## Recent versions

- 0.1.5 (latest) — 2015-09-30
- 0.1.4 — 2015-08-18
- 0.1.3 — 2015-08-18
- 0.1.2 — 2015-08-13
- 0.1.1 — 2015-08-09
- 0.1.0 — 2015-08-09

## README

#small2
Base Tools for myself.Talk less try it. 

Install
---------
```
npm install small2
```

Example
----------
```
var s2 = require('small2');

s2.goneEmpty(null);         // true
s2.goneEmpty(undefined);    // true
s2.goneEmpty(NaN);          // true
s2.goneEmpty(0);            // true
s2.goneEmpty('');           // true
s2.goneEmpty([]);           // true
s2.goneEmpty({});           // true

s2.goneEmpty(['a', 'b']);      // ['a', 'b']
s2.goneEmpty({ a: 'b' });      // { a: 'b' }
s2.goneEmpty('string');        // 'string'
s2.goneEmpty(9527);            // 9527
```

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