1.0.1 • Published 3 years ago

@fortit/base v1.0.1

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
3 years ago

base Published on npm

Installation

npm i @fortit/base

API

Slots

None

Properties/Attributes

None

Methods

NameDescription
debounce = (callback: DebounceCallbackFunction, debounceTime = 300) => voidDebounce a function call
dynMsg = (key: string) => stringReturn message string from client/i18n/messages.
formatCurrency = (number: string \| number, locale = 'de-CH', style = 'currency', currency = 'CHF') => stringFormat number to CHF 12'560.
formatDate = (timestamp?: number) => stringFormat timestamp to dd.MM.yyyy.
formatDateTime = (timestamp?: number) => stringFormat timestamp to dd.MM.yyyy HH:mm.

Events

None

1.0.1

3 years ago

1.0.0

3 years ago

0.1.26

3 years ago

0.1.25

3 years ago

0.1.24

3 years ago

0.1.23

3 years ago

0.1.22

3 years ago

0.1.21

3 years ago

0.1.20

3 years ago

0.1.19

3 years ago

0.1.18

3 years ago

0.1.17

3 years ago

0.1.16

3 years ago

0.1.15

4 years ago

0.1.14

4 years ago

0.1.13

4 years ago

0.1.11

4 years ago

0.1.10

4 years ago

0.1.9

4 years ago

0.1.8

4 years ago

0.1.7

4 years ago

0.1.6

4 years ago

0.1.5

4 years ago

0.1.4

4 years ago

0.1.2

4 years ago