JSPM

Found 31 results for parseInt

is-number

Returns true if a number or string value is a finite number. Useful for regex matches, parsing, user input, etc.

  • v7.0.0
  • 127.87
  • Published

parse-int

Strict integer parsing

  • v1.0.3
  • 75.10
  • Published

multi-integer-range

Parses and manipulates multiple comma-separated integer ranges (eg 1-3,8-10)

  • v5.2.0
  • 74.00
  • Published

parse-int-x

Parses a string argument and returns an integer of the specified radix.

  • v3.2.2
  • 62.94
  • Published

number-parsing

A tool to parse numbers from different locales

  • v0.3.2
  • 55.83
  • Published

chinese-parseint2

parse Chinese numeric strings to integer

  • v2.0.6
  • 54.94
  • Published

express-query-int

Convert query strings to numbers for express/connect applications.

  • v3.0.0
  • 53.59
  • Published

@alwatr/is-number

A simple utility to Check the value is number or can convert to a number, for example string ' 123 ' can be converted to 123.

  • v5.7.17
  • 51.17
  • Published

prototyped.js

Common typescript ready prototypes available in both CommonJS and ECMAScript

  • v3.0.5
  • 50.50
  • Published

parse-value

Generic value parser for javascript

  • v0.1.2
  • 47.49
  • Published

parseint

An ES-spec-compliant `parseInt` shim/polyfill/replacement that works as far down as ES3

  • v2.0.1
  • 46.30
  • Published

chinese-parseint

parse Chinese numeric strings to integer

  • v1.2.1
  • 42.00
  • Published

abaco

Abaco an ultra fast number parser for Buffers. It parses a Buffer or a portion of it to get the Number value stored as (ASCII) String.

  • v1.11.2
  • 38.97
  • Published

oddguard

Utility functions to check if a value is an odd integer within JavaScript's safe range, and to validate whether a value (number or string) is a finite number for input parsing, regex matches, and user validation.

  • v1.0.3
  • 34.40
  • Published

isnumberic

isNumber, isOdd, isEven, isNumeric, isNotNumber, isPrime, findPrimeToN

  • v0.0.7
  • 31.63
  • Published

is-string-a-number

This is a JavaScript utility. It returns `true` if the value is a string number written in fixed notation and in decimal base.

  • v2.0.2
  • 31.36
  • Published

base-p

Convert to/from integer in any base

  • v2.0.0
  • 23.95
  • Published

advance-javascript

a collection of javascript prototype extensions that make your javascript coding very easy and hanndy.

  • v1.0.4
  • 22.29
  • Published

ts-is-number

The ts-is-number a utility npm package that checks if a given input is a valid finite number or a string that can be converted to a valid finite number.

    • v1.1.0
    • 21.13
    • Published

    parseint-loudfail

    If this parseInt() encounters an invalid digit, it fails loudly instead of returning a partially parsed number.

    • v1.0.4
    • 15.74
    • Published

    retypejs

    Middle to parse through model strings for types.

    • v0.2.0
    • 15.13
    • Published

    @vionemc/ts-is-number

    Returns true if a number or string value is a finite number. Useful for regex matches, parsing, user input, etc. A Typescript refactor version.

    • v1.0.0
    • 9.73
    • Published

    wirecheck

    A JavaScript/Typescript library for fast type checking. Check if a given value is a string, number, object, ...

    • v1.1.0
    • 8.53
    • Published

    parse-ints

    Parse integers from comma separated string, including ranges.

    • v0.2.0
    • 8.39
    • Published

    get-integer

    Function will convert incoming value as integer. If argument is not a number, function will return 0.

    • v1.0.0
    • 8.10
    • Published

    dank-cast

    Cast values to more specific types with default values if they can't be casted

    • v0.0.2
    • 7.56
    • Published

    parse-int-array

    Parse a string to an integer array

      • v1.0.2
      • 7.54
      • Published

      strto

      strto is a strict string-to-number conversion library

      • v1.0.0
      • 7.11
      • Published

      faster-byte-hex

      Faster parseInt and toString for byte-hex conversion

      • v1.0.2
      • 6.31
      • Published

      parse-to-all

      Parse to all possible outputs

      • v1.0.1
      • 4.77
      • Published

      valint

      Testing whether a string represents any integer or a base10 integer

      • v0.0.0-prealpha
      • 0.00
      • Published