# @panda-clouds/number

> A javascript helper class for numbers

Latest version **1.0.0** (published 2019-03-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install @panda-clouds/number
pnpm add @panda-clouds/number
yarn add @panda-clouds/number
bun add @panda-clouds/number
```

## 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.0 |
| Published | 2019-03-19 |
| First published | 2019-03-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 8 |
| Dependencies | 0 |
| Unpacked size | 4.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Marc Smith |
| Maintainers | mrmarcsmith |

## Links

- npm: https://www.npmjs.com/package/@panda-clouds/number
- Repository: https://github.com/panda-clouds/number
- Homepage: https://github.com/panda-clouds/number#readme
- Issues: https://github.com/panda-clouds/number/issues
- npm.io page: https://npm.io/package/@panda-clouds/number

## Recent versions

- 1.0.0 (latest) — 2019-03-19

## README

PCNumber
=========
maintained by [PandaClouds.com](https://pandaclouds.com)

`PCNumber` is a lightweight JavaScript library for Node.js that provides additional Number methods.


Installation
------------

1. If you want to use this library, you first need to install the [Node.js](https://nodejs.org/en/).

2. When you install node.js, will also be installed [npm](https://www.npmjs.com/).

3. Please run the following command.

```
npm install --save @panda-clouds/number
```

Usage
-----

### Node.js

```javascript
const PCNumber = require('@panda-clouds/number');

// example usage
PCNumber.isNumber(5) // => true
PCNumber.isNumber("5") // => false
```

You can replace PCNumber with any variable.


Methods
-------

[Unit Tests] are an additional resource for learning functionality.

### - isNumber()

returns if the object is a number object

Example:

```javascript
PCNumber.isNumber(-5) // => true
PCNumber.isNumber(0) // => true
PCNumber.isNumber(5) // => true

PCNumber.isNumber("5") // => false
PCNumber.isNumber(null) // => false
PCNumber.isNumber() // => false
```

Contributions
-------------

Pull requests are welcome! here is a checklist to speed things up:

- modify `PCNumber.js`
- add unit tests in `PCNumber.spec.js`
- run `npm test`
- document method in `README.md`
- add your name to 'Contributors' in `README.md`


### Contributors

(Add your name)

- [*] [Marc Smith](https://github.com/mrmarcsmith)


[Unit Tests]: https://github.com/panda-clouds/string/blob/master/spec/PCNumber.spec.js

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