@sir_wernich/taco-wrap
v1.0.8
Published
Takes a string and wraps it in taco emojis
Downloads
116
Readme
taco-wrap
A Node.js module that wraps a string in taco emojis (🌮) or gives you a single taco emoji if you passed in a null or empty string.
npm install taco-wrap --save
yarn add taco-wrap
bower install taco-wrap --save
Usage
Javascript
var tacoWrap = require('taco-wrap');
var wrappedString = tacoWrap('taco ingredients');
Output should be '🌮 taco ingredients 🌮'
TypeScript
import tacoWrap from 'taco-wrap';
console.log(tacoWrap('cheese, mince, tomato, guacamole'))
Output should be '🌮 cheese, mince, tomato, guacamole 🌮'
AMD
define(function(require,exports,module){
var tacoWrap = require('taco-wrap');
});
Test
npm run test