concat-array

Takes a string and an array of strings and concatenates the first string to each string in the array.

concat-array

Takes a string and an array of strings and concatenates the first string to each string in the array.

Install the plugin:

npm install concat-array

Require it:

var ca = require('concat-array');

Test it:

console.log(ca.concatArray('jumbo', ['shrimp', 'tron']));

Licensed under the MIT License (MIT)