
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
array-concat
Advanced tools
Returns a new array comprised of the given array's contents with the given value appended.
Returns a new array comprised of the given array's contents with the given value appended.
npm install array-concat --save
You can also use Duo, Bower or download the files manually.
Returns a new array comprised of the given array's contents with the given value appended. Pass an array as the second argument to append multiple values.
var concat = require('array-concat')
concat(['a', 'b'], ['c', 'd'])
//=> ['a', 'b', 'c', 'd']
var concat = require('array-concat')
var list = [['b'], ['c'], ['d']]
list.map(concat(['a']))
//=> [['a', 'b'], ['a', 'c'], ['a', 'd']]
concat(list, value)
list (array)
.value (any)
.(array)
Returns an array comprised of the given array's contents with the given value(s) appended.SEE: contributing.md
FAQs
Returns a new array comprised of the given array's contents with the given value appended.
The npm package array-concat receives a total of 67 weekly downloads. As such, array-concat popularity was classified as not popular.
We found that array-concat demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.