1.0.8 • Published 4 years ago

@sir_wernich/taco-wrap v1.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

taco-wrap

Node.js Package Node.js CI

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
1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago