JSPM

hashtagable

1.0.0
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 1
    • Score
      100M100P100Q22839F
    • License ISC

    Make twitter-style hashtag from common string of text

    Package Exports

    • hashtagable

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (hashtagable) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    Хештегостроитель

    Модуль преобразует текстовую строку в хештег.

    Например, вызов hashtagable('make love not war') вернёт строку #MakeLoveNotWar.

    Установка

    npm install hashtagable

    Использование

    const makeHashTag = require('hashtagable');
    const str = 'feel the power of Node.js';
    
    console.log( makeHashTag(str) ); // #FeelThePowerOfNodejs