node package manager
Easy collaboration. Discover, share, and reuse code in your team. Create a free org »

concat-array

concat-array

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

Getting started

Install the plugin:

npm install concat-array

Require it:

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

Test it:

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

Author

License

Licensed under the MIT License (MIT)