array-from

WebJar for array-from

Лицензия

Лицензия

MIT
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

array-from
Последняя версия

Последняя версия

2.1.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

array-from
WebJar for array-from
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/studio-b12/array-from

Скачать array-from

Как подключить последнюю версию

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

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

Coveralls – test coverage Travis – build status David – status of dependencies Code style: airbnb

array-from

A ponyfill for the ES 2015 Array.from().

* Ponyfill: A polyfill that doesn't overwrite the native method.
* ES 2015: The new name for ES6 that nobody expected.

Modeled after the final ES 2015 spec. Credits for the implementation go to the amazing folks of the MDN and our awesome contributors.

 

Installation

$ npm install array-from

Usage

Recommended:

var arrayFrom = require('array-from');
  // You’ll get the native `Array.from` if it’s available.

function () {console.log(
  arrayFrom(arguments).map(require('1-liners/increment'))
);}(1, 2, 3);
//» [2, 3, 4]

You can also use it as a classical polyfill. It’s not recommended, but sometimes practical:

if (!Array.from) Array.from = require('array-from');
  // This will affect all loaded modules.

function () {console.log(
  Array.from(arguments).map(require('1-liners/increment'))
);}(1, 2, 3);
//» [2, 3, 4]

Support note

We support the current and active LTS release of Node.js. More info in nodejs/LTS.

License

MIT © Studio B12 GmbH

org.webjars.npm

Studio-B12

Версии библиотеки

Версия
2.1.1