Skip to content
This repository has been archived by the owner on Dec 30, 2023. It is now read-only.

strong-roots-capital/to-indicator-record

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

to-indicator-record Build status npm version codecov

Transform records to indicator-records

Install

npm install @strong-roots-capital/to-indicator-record

Use

import toIndicatorRecord from '@strong-roots-capital/to-indicator-record'
import randomRecordStream from '@strong-roots-capital/random-record-stream'

const context = getContext()
randomRecordStream(start.toDate(), end.toDate())
    .pipe(toIndicatorRecord(context))
    // and Records become IndicatorRecords

Related