5.0.0 • Published 9 months ago

@sb1/ffe-formatters v5.0.0

Weekly downloads
115
License
MIT
Repository
-
Last release
9 months ago

@sb1/ffe-formatters

JavaScript general use string formatters.

Installation

Install this package via npm like so:

npm install --save @sb1/ffe-formatters

Usage

Full documentation on formatter usage is available at https://design.sparebank1.no/komponenter/formatering/.

Import the formatter(s) you need the following way:

import formatNumber from '@sb1/ffe-formatters/lib/formatNumber';
import formatPercentage from '@sb1/ffe-formatters/lib/formatPercentage';

You'll find a full overview and documentation over all the available formatters in src/.

Development

To start a local development server, run the following from the designsystem root folder:

npm install
npm run build
npm start

A local instance of component-overview with live reloading will run at http://localhost:1234/.

Example implementations using the latest versions of all components are also available at https://sparebank1.github.io/designsystem.

5.0.0

9 months ago

4.2.7

10 months ago

4.2.8

10 months ago

4.2.6

10 months ago

4.2.3

1 year ago

4.2.2

1 year ago

4.2.5

11 months ago

4.2.4

11 months ago

4.2.1

1 year ago

4.2.0

1 year ago

4.1.5

1 year ago

4.1.4

1 year ago

4.1.3

1 year ago

4.1.2

1 year ago

4.1.1

1 year ago

4.1.0

2 years ago

4.0.12

2 years ago

4.0.11

3 years ago

4.0.10

3 years ago

4.0.9

3 years ago

4.0.8

3 years ago

4.0.5

3 years ago

4.0.4

3 years ago

4.0.7

3 years ago

4.0.6

3 years ago

4.0.3

4 years ago

4.0.2

4 years ago

4.0.1

4 years ago

4.0.0

4 years ago

3.1.5

4 years ago

3.1.4

4 years ago

3.1.3

7 years ago

3.1.2

7 years ago

3.1.1

7 years ago

3.1.0

7 years ago

3.0.3

7 years ago

3.0.2

7 years ago

3.0.1

7 years ago

3.0.0

7 years ago