Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/doesdev/ascii-modifiers-map

Simple mapping of some sans-serif MathML characters to their plain counterparts
https://github.com/doesdev/ascii-modifiers-map

Last synced: about 20 hours ago
JSON representation

Simple mapping of some sans-serif MathML characters to their plain counterparts

Awesome Lists containing this project

README

        

# ascii-modifiers-map

> ASCII Modifiers Map

Nothing more than a mapping of plain alphas to their [bold](https://www.w3.org/TR/MathML2/bold-sans-serif.html) and [italic](https://www.w3.org/TR/MathML2/sans-serif-italic.html) counterparts

# Install

```sh
$ npm install --save ascii-modifiers-map
```

# Usage

```js
import { bold, italic } from 'ascii-modifiers-map'

console.log(bold.a, bold.A, bold[0])

// note: italic does not contain numerics
console.log(italic.a, italic.A)
```

# License

MIT © [Andrew Carpenter](https://github.com/doesdev)