1.5.2 • Published 6 years ago

afp-d3-format v1.5.2

Weekly downloads
1
License
ISC
Repository
-
Last release
6 years ago

AFP d3 formats

This repo contains all d3's time formats and number formats following AFP guidelines.

It's modularized, so you can use the import syntax.

Install

For now, only npm is supported. npm install afp-d3-format

Usage

import { fr } from 'afp-d3-format'

console.log('fr time format', fr.time)
console.log('fr number format', fr.number)

let timeLocale = d3.timeFormatLocale(fr.time)
console.log(timeLocale.format('%a %d')(new Date()))
1.5.2

6 years ago

1.5.1

6 years ago

1.5.0

7 years ago

1.4.0

7 years ago

1.2.0

7 years ago

1.1.0

7 years ago

1.0.0

7 years ago

0.2.0

7 years ago

0.1.0

7 years ago