Notwithstanding Previous Misdemeanors

    component-reverse

    0.0.2 • Public • Published

    reverse

    Unicode-aware string reverser. For more information, visit: https://github.com/mathiasbynens/esrever.

    Installation

    Install with component(1):

    $ component install component/reverse
    

    Or with node.js:

    $ npm install reverse-component
    

    Example

    reverse('foo 𝌆 bar') // rab 𝌆 oof
    reverse('mañana mañana') // anañam anañam

    API

    reverse(str)

    Reverse a string

    Credits

    The logic and examples are originally from: https://github.com/mathiasbynens/esrever. This code is reformatted and simplified for component.

    Test

    npm install component-test
    make test
    

    License

    MIT

    Install

    npm i component-reverse

    DownloadsWeekly Downloads

    0

    Version

    0.0.2

    License

    MIT

    Last publish

    Collaborators

    • defunctzombie
    • dfcreative
    • tootallnate
    • tjholowaychuk
    • rauchg
    • retrofox
    • coreh
    • forbeslindesay
    • kelonye
    • mattmueller
    • yields
    • anthonyshort
    • jongleberry
    • ianstormtaylor
    • cristiandouce
    • swatinem
    • stagas
    • amasad
    • juliangruber
    • calvinfo
    • dominicbarnes
    • timoxley
    • jonathanong
    • queckezz
    • nami-doc
    • clintwood
    • thehydroimpulse
    • stephenmathieson
    • trevorgerhardt
    • timaschew
    • hughsk