Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@sb1/ffe-formatters

Package Overview
Dependencies
Maintainers
4
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sb1/ffe-formatters

JavaScript general use string formatters

npmnpm
Version
100.1.1
Version published
Maintainers
4
Created
Source

@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/Formatters.

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.

Keywords

ffe

FAQs

Package last updated on 26 Sep 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts