1.0.0 • Published 5 years ago

cityfibber v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

cityfibber

tiny npm package that pads the name of a city with additional fib

GitHub forks GitHub stars bundle size npm downloads

Installation

npm i cityfibber

Usage

// Dependencies
const cityfibber = require('cityfibber');

// Applying fib on one city name...
const gimmeFib = cityfibber("New York");
console.log(gimmeFib);
// 'New Yorkwar'

// Applying fib on a list of city names...
const tests = ["New York", "Garden Grove", "Long Beach", "Huntington Beach"];
const gimmeFibs = tests.map(cityfibber);
console.log(gimmeFibs);
// [ 'New Yorkwar',
//   'Garden Groveick',
//   'Fullertonlas',
//   'Huntington Beachmer' ]

Engineered with ♥ by @EthanThatOneKid