value-pipe

WebJar for value-pipe

Лицензия

Лицензия

MIT
Группа

Группа

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

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

value-pipe
Последняя версия

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

1.0.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

value-pipe
WebJar for value-pipe
Ссылка на сайт

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

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

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

https://github.com/bendrucker/value-pipe

Скачать value-pipe

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

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

Зависимости

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

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

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

value-pipe Build Status Greenkeeper badge

Pipe a value through a list of synchronous transform functions

Install

$ npm install --save value-pipe

Usage

var pipe = require('value-pipe')

var mirrorAndUppercase = pipe(mirror, uppercase)
mirrorAndUppercase('git')
//=> GITTIG

function mirror (value) {
  return value + value.split('').reverse().join('')
}

function uppercase (value) {
  return value.toUpperCase()
}

API

pipe(functions...) -> function

functions

Required
Type: function / array[function]

A set of functions to use to transform the value. At least one is required. You can pass the functions as arguments or pass a single array of functions.

License

MIT © Ben Drucker

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

Версия
1.0.1