• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

gregswindle / parse-numeric / 131
100%

Build:
DEFAULT BRANCH: master
Ran 21 Mar 2019 09:16AM UTC
Jobs 8
Files 5
Run time 9min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
131

push

travis-ci-com

web-flow
build(release): publish package (#9)

* build(release): update dependencies

The **parse-numeric** module provides two features:

1. `parseNumeric` is a function that converts numeric strings into Number
    types.
2. `parseNumeric.isNumeric` evaluates a value and determines whether the
    value can be converted to a Number type.

**parse-numeric** differs from similar modules in how it evaluates
`Strings` and what it returns:

```
parseNumeric
    when given a value that is
      a {string} that represents a {number}
        ✓ will convert the {string} to a {number}
      a non-numeric {string}
        ✓ will return the original value
      a {number}
        ✓ will return the {number}
      an empty {string}
        ✓ will return the empty {string}
      {null}
        ✓ will return {null} (1ms)
      {undefined}
        ✓ will return {undefined}
```

and

```
parseNumeric.isNumeric
    ✓ returns false for non-numeric values
    ✓ returns true for numbers and numeric strings
    ✓ returns true for numbers and numeric strings
```

This commit also includes CI build features with quality gates, as well
as documentation.

GH-1

8 of 8 branches covered (100.0%)

Branch coverage included in aggregate %.

24 of 24 relevant lines covered (100.0%)

60.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 131.1 21 Mar 2019 09:16AM UTC 0
100.0
Travis Job 131.1
2 131.2 21 Mar 2019 09:16AM UTC 0
100.0
Travis Job 131.2
3 131.3 21 Mar 2019 09:17AM UTC 0
100.0
Travis Job 131.3
4 131.4 21 Mar 2019 09:19AM UTC 0
100.0
Travis Job 131.4
5 131.5 21 Mar 2019 09:21AM UTC 0
100.0
Travis Job 131.5
6 131.6 21 Mar 2019 09:21AM UTC 0
100.0
Travis Job 131.6
7 131.7 21 Mar 2019 09:22AM UTC 0
100.0
Travis Job 131.7
8 131.8 21 Mar 2019 09:26AM UTC 0
100.0
Travis Job 131.8
Source Files on build 131
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #131
  • 652a09d6 on github
  • Prev Build on master (#121)
  • Next Build on master (#144)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc