This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

typographic-arrows

1.0.3 • Public • Published

typographic-arrows Build Status

Use real arrows, not alphabetic substitutes

Micro module for real arrows.

Install

npm install --save typographic-arrows

Usage

import arrows from 'typographic-arrows';
 
arrows('a <- b'); // a ← b
arrows('a -> b'); // a → b
arrows('a <-> b'); // a ↔ b
arrows('a <= b'); // a ⇐ b
arrows('a => b'); // a ⇒ b
arrows('a <=> b'); // a ⇔ b

API

arrows(input)

input

Type: string

Text for transform.

License

MIT

Dependencies (0)

    Dev Dependencies (10)

    Package Sidebar

    Install

    npm i typographic-arrows

    Weekly Downloads

    2,105

    Version

    1.0.3

    License

    MIT

    Last publish

    Collaborators

    • andrepolischuk