0.3.1 • Published 10 months ago

@vieolo/parsers v0.3.1

Weekly downloads
-
License
MIT-0
Repository
github
Last release
10 months ago

Parsers

Providing utility functionalities for parsing different values

Install

npm install @vieolo/parsers

Usage

You can import the functions directly from the main directory

import { } from '@vieolo/parsers'

However, for a smaller build size, you can import them directly from the subdirectories

import {  } from '@vieolo/parsers/number_parsers';
import {  } from '@vieolo/parsers/time_parsers';

Functions

Number Parsers

toFixed
toFixedFloat
parseInputFloatToSafeString

String Parsers

addWhitespaceAtInterval

Time Parsers

parseHourAndMinute
parseDecimalTime
parseFormattedTime
parseMinuteCount
parseTimeEntries

XML Parsers

objectToXML
formatXML