# string-add

> Add int and floats for crossing Infinity in Javascript

Latest version **1.0.1** (published 2017-07-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install string-add
pnpm add string-add
yarn add string-add
bun add string-add
```

## Health

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

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2017-07-06 |
| First published | 2017-07-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=8.0.0 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | duxiaodong |
| Maintainers | duxiaodong |

## Links

- npm: https://www.npmjs.com/package/string-add
- Repository: https://github.com/doxiaodong/string-add
- Homepage: https://github.com/doxiaodong/string-add#readme
- Issues: https://github.com/doxiaodong/string-add/issues
- npm.io page: https://npm.io/package/string-add

## Recent versions

- 1.0.1 (latest) — 2017-07-06
- 1.0.0 — 2017-07-06

## README

[![CircleCI](https://img.shields.io/circleci/project/github/doxiaodong/string-add.svg?style=flat-square)](https://circleci.com/gh/doxiaodong/string-add)
[![Coverage](https://img.shields.io/codecov/c/github/doxiaodong/string-add/master.svg?style=flat-square)](https://codecov.io/github/doxiaodong/string-add?branch=master)
[![Version](https://img.shields.io/npm/v/string-add.svg?style=flat-square)](https://www.npmjs.com/package/string-add)
[![License](https://img.shields.io/npm/l/string-add.svg?style=flat-square)]()

# string-add

Add int and floats for crossing Infinity in Javascript

## Usage

```
import add from 'string-add'

add() // '0'
add('1') // '1'
add('1.3', '1.2') // '2.5'
add('1', '2', '3', '4') // '10'
add('-312', '121') // '-191'
add('9007199254740992.9007199254740992', '1') // '9007199254740993.9007199254740992'

add(1) // Error
add('1', '1.2.2') // Error
```

## Api

```
* function add(...args: string[]): string
```

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