1.0.18 • Published 1 year ago

typographic-colon v1.0.18

Weekly downloads
449
License
MIT
Repository
github
Last release
1 year ago

typographic-colon Build Status Coverage Status

Micro module to fix a common typographic issue that is hard to fix with most keyboard layouts.

This is mainly meant for French typography, it replaces the space preceding a colon by a narrow no-break space (en, fr).

Submit a PR to src/db.js to add support for your locale.

Install

npm:

npm install --save typographic-colon

Usage

var colon = require('typographic-colon')

colon(`Exemple : voici.`, { locale: 'fr' })
// this char  ^ will be replaced by a narrow no-break space

This module can also be used through textr.

License

MIT © Zeste de Savoir

1.0.18

1 year ago

1.0.17

4 years ago

1.0.16

5 years ago

1.0.15

6 years ago

1.0.14

6 years ago

1.0.13

6 years ago

1.0.12

7 years ago

1.0.11

7 years ago

1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

0.0.17

8 years ago

0.0.16

8 years ago

0.0.15

8 years ago

0.0.14

8 years ago

0.0.13

8 years ago

0.0.12

8 years ago

0.0.11

8 years ago

0.0.10

8 years ago

0.0.9

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago