JSPM

  • Created
  • Published
  • Downloads 202
  • Score
    100M100P100Q79465F
  • License apache 2

Fluent apis for node (based on the concepts used in C#'s FluentSharp

Package Exports

  • fluentnode

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 (fluentnode) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

FluentNode

Fluent apis for node (based on the concepts used in C#'s FluentSharp

Methods implemented

  • fluent-path

  • {pathA}.path.join({pathA} - same as path.join(pathA, pathB)

  • {pathA}.pathCombine({pathA} - same as path.join(pathA, pathB)

  • fluent-array

  • {array}.first() - first element of an array same as array[0]

  • {array}.second() - second element of an array same as array[1]

  • {array}.third() - third element of an array same as array[2]

  • {array}.forth() - forth element of an array same as array[3]

all methods and tests are written in CoffeScript