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