Package Exports
- intersperse
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (intersperse) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
intersperse
Add an object to an array between each element.
Installation
npm install intersperseExample
var intersperse = require('intersperse');
var arr = intersperse([1, 2, 3], 'a');
console.log(arr) // [1, 'a', 2, 'a', 3]