UNPKG
map-transform-cjs
Version:
latest (0.2.0)
0.2.0
0.1.1
0.1.0
MapTransform with CJS support
github.com/oderayi/map-transform-cjs
oderayi/map-transform-cjs
map-transform-cjs
/
dist
/
transformers
/
indexFn.js
11 lines
•
251 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
// src/transformers/indexFn.ts
var
transformer =
function
index
(
) {
return
() =>
(
_data, state
) =>
{
return
state.
index
||
0
; }; };
var
indexFn_default = transformer;
export
{ indexFn_default
as
default
};
//# sourceMappingURL=indexFn.js.map