1.0.1 • Published 2 years ago

@fortit/base v1.0.1

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 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

2 years ago

1.0.0

2 years ago

0.1.26

2 years ago

0.1.25

2 years ago

0.1.24

2 years ago

0.1.23

2 years ago

0.1.22

2 years ago

0.1.21

2 years ago

0.1.20

2 years ago

0.1.19

2 years ago

0.1.18

2 years ago

0.1.17

2 years ago

0.1.16

2 years ago

0.1.15

2 years ago

0.1.14

2 years ago

0.1.13

2 years ago

0.1.11

2 years ago

0.1.10

2 years ago

0.1.9

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.2

2 years ago