# typographic-question-mark

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

Latest version **1.0.17** (published 2024-04-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install typographic-question-mark
pnpm add typographic-question-mark
yarn add typographic-question-mark
bun add typographic-question-mark
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.17 |
| Published | 2024-04-27 |
| First published | 2017-06-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Victor Felder |
| Maintainers | situphen, talone |
| Keywords | textr |

## Links

- npm: https://www.npmjs.com/package/typographic-question-mark
- Repository: https://github.com/zestedesavoir/zmarkdown.git#master
- Homepage: https://github.com/zestedesavoir/zmarkdown/tree/master#readme
- Issues: https://github.com/zestedesavoir/zmarkdown/issues
- npm.io page: https://npm.io/package/typographic-question-mark

## Recent versions

- 1.0.17 (latest) — 2024-04-27
- 1.0.16 — 2021-02-14
- 1.0.15 — 2020-02-03
- 1.0.14 — 2019-07-27
- 1.0.13 — 2019-04-14
- 1.0.12 — 2019-02-04
- 1.0.11 — 2018-11-23
- 1.0.10 — 2018-10-04
- 1.0.9 — 2018-07-20
- 1.0.8 — 2018-03-06
- 1.0.7 — 2018-01-20
- 1.0.6 — 2018-01-13
- 1.0.5 — 2017-08-31
- 1.0.4 — 2017-08-25
- 1.0.3 — 2017-08-16
- … 8 more at https://npm.io/package/typographic-question-mark/versions

## README

# typographic-question-mark [![Build Status][build-badge]][build-status] [![Coverage Status][coverage-badge]][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 an interrogation point by a _narrow no-break space_ ([en](http://www.fileformat.info/info/unicode/char/202f/index.htm), [fr](https://fr.wikipedia.org/wiki/Espace_fine_ins%C3%A9cable)).

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

## Install

[npm][npm]:

```sh
npm install --save typographic-question-mark
```


## Usage

```js
var interrogation = require('typographic-question-mark')

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

This module can also be used through [textr][textr].

## License

[MIT][license] © [Zeste de Savoir][zds]

<!-- Definitions -->

[build-badge]: https://img.shields.io/travis/zestedesavoir/zmarkdown.svg

[build-status]: https://travis-ci.org/zestedesavoir/zmarkdown

[coverage-badge]: https://img.shields.io/coveralls/zestedesavoir/zmarkdown.svg

[coverage-status]: https://coveralls.io/github/zestedesavoir/zmarkdown

[license]: https://github.com/zestedesavoir/zmarkdown/blob/master/packages/typographic-question-mark/LICENSE-MIT

[zds]: https://zestedesavoir.com

[npm]: https://www.npmjs.com/package/typographic-question-mark

[textr]: https://github.com/A/textr

---
_Source: https://npm.io/package/typographic-question-mark · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
