# @domoinc/summary-number

> A basic starter template for building reusable modules

Latest version **0.1.1** (published 2016-02-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install @domoinc/summary-number
pnpm add @domoinc/summary-number
yarn add @domoinc/summary-number
bun add @domoinc/summary-number
```

## 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.1 |
| Published | 2016-02-02 |
| First published | 2016-01-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Nick Randall |
| Maintainers | aharris88, dallasnorton, jaxry, jgalb, jmstewart, jonathan-law, morganjohn12, nicksrandall |

## Links

- npm: https://www.npmjs.com/package/@domoinc/summary-number
- npm.io page: https://npm.io/package/@domoinc/summary-number

## Recent versions

- 0.1.1 (latest) — 2016-02-02
- 0.1.0 — 2016-01-27

## README

# Summary Number
This module crates a service that can convert numbers to abbeviated summary numbers.

### Usage
- `$ npm start` to run webpack-dev-server
- `$ npm test` to run unit tests
- `$ npm tdd` to continuously run tests
- `$ npm run jshint` to lint code
- `$ npm run build` to build (and minify)
- `$ npm version (patch|minor|major)` to create git release

## Library Example
```js
// init with language config
var service = new SummaryNumber(/* optional language config */);

// usage
var summaryNumber = service.summaryNumber(1234); // 1.23K
```

### Language Config Example
```js
var defaultConfig = {
  decimal: '.',
  thousands: ',',
  summary: ['', 'K', 'M', 'B', 'T', 'Q'],
  grouping: 3
};
```

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