1.1.1 • Published 21 hours ago

typographic-guillemets v1.1.1

Weekly downloads
455
License
MIT
Repository
github
Last release
21 hours ago

typographic-guillemets 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, where respectively << and >> should be replaced by a left-pointing double angle quotation mark (en, en) and a right-pointing double angle quotation mark(en). The left-pointing mark should be followed by a narrow no-break space (en, fr) and the right-pointing mark should be preceded by a narrow no-break space.

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

Install

npm:

npm install --save typographic-guillemets

Usage

var guillemets = require('typographic-guillemets')

guillemets(`<< here >>`, { locale: 'fr' })
// will be replaced by «NNBShereNNBS» where NNBS is a narrow no-break space.

This module can also be used through textr.

License

MIT © Zeste de Savoir

1.1.1

21 hours ago

1.1.0

1 year ago

1.0.16

3 years ago

1.0.15

4 years ago

1.0.14

5 years ago

1.0.13

5 years ago

1.0.12

5 years ago

1.0.11

5 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago