@sb1/ffe-formatters v5.0.11
@sb1/ffe-formatters
JavaScript general use string formatters.
Installation
Install this package via npm like so:
npm install --save @sb1/ffe-formattersUsage
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 startA 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.
6 months ago
7 months ago
8 months ago
8 months ago
9 months ago
9 months ago
12 months ago
12 months ago
12 months ago
6 months ago
6 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
8 years ago
8 years ago
8 years ago