@clarketm/supernumber

1.2.32 • Public • Published

Number

NPM release

Number with superpowers! 💪

This data structure inherit all methods and properties from the Number built-in.

Individual Module Installation

Yarn

$ yarn add @clarketm/supernumber

Npm

$ npm install @clarketm/supernumber --save

API

constructor(number: number)

Construct a Number

fromRomanNumeral(str: string): number

Convert a roman numeral to number

Name Type Attribute Description
str string Roman numeral

toRomanNumeral(): string

Convert a number to roman numeral

isNumber(str: string): boolean

Test if a string is a valid number

Name Type Attribute Description
str string – string representation of a number

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.2.32
    1
    • latest

Version History

Package Sidebar

Install

npm i @clarketm/supernumber

Weekly Downloads

1

Version

1.2.32

License

MIT

Unpacked Size

15.4 kB

Total Files

6

Last publish

Collaborators

  • clarketm