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

    Install

    npm i typographic-arrows

    DownloadsWeekly Downloads

    1,726

    Version

    1.0.3

    License

    MIT

    Last publish

    Collaborators

    • andrepolischuk