array-map

WebJar for array-map

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

array-map
Last Version

Last Version

0.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

array-map
WebJar for array-map
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/substack/array-map

Download array-map

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/array-map/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>array-map</artifactId>
    <version>0.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/array-map/
implementation 'org.webjars.npm:array-map:0.0.0'
// https://jarcasting.com/artifacts/org.webjars.npm/array-map/
implementation ("org.webjars.npm:array-map:0.0.0")
'org.webjars.npm:array-map:jar:0.0.0'
<dependency org="org.webjars.npm" name="array-map" rev="0.0.0">
  <artifact name="array-map" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='array-map', version='0.0.0')
)
libraryDependencies += "org.webjars.npm" % "array-map" % "0.0.0"
[org.webjars.npm/array-map "0.0.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

array-map

[].map(f) for older browsers

testling badge

build status

example

var map = require('array-map');
var letters = map([97,98,99], function (c) {
    return String.fromCharCode(c);
});
console.log(letters.join(''));

output:

abc

methods

var map = require('array-map')

var ys = map(xs, f)

Create a new array ys by applying f(xs[i], i, xs) to each element in xs at index i.

install

With npm do:

npm install array-map

license

MIT

Versions

Version
0.0.0