@types/float-regex
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

Installation

npm install --save @types/float-regex

Summary

This package contains type definitions for float-regex (https://github.com/substack/float-regex).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/float-regex.

index.d.ts

/**
 * regular expression for real floating point values in javascript notation:
 * ```
 * /[-+]?(?:\d*\.?\d+|\d+\.?\d*)(?:[eE][-+]?\d+)?/
 * ```
 *
 * does not match:
 * * +/- Infinity
 * * NaN
 */
declare const regexp: RegExp;
export = regexp;

Additional Details

  • Last updated: Tue, 07 Nov 2023 03:09:37 GMT
  • Dependencies: none

Credits

These definitions were written by Anjun Wang.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/float-regex

Weekly Downloads

3

Version

1.0.2

License

MIT

Unpacked Size

3.04 kB

Total Files

5

Last publish

Collaborators

  • types