Skip to content

Repository files navigation

seqen

SEQEN

ghit.menpm versionjestdependenciesdevDependenciesGitterLicense: MIT

High performance sequence engine in Javascript that optimizes execution of sequences in Immutable.js and provides fast incremental processing of insert, update, and delete operations. Fully integrated with DUXEN.

See http://applitopia.github.io/seqen for detailed documentation.

Installation

npm install seqen

Example

constcmp=(a,b)=>(a>b?1:a<b?-1:0)constrecipe=(seq)=>seq.filter((v,k)=>(k%2==1)).map((v)=>v.toLowerCase()).sort((a,b): number=>cmp(a,b))constmap=Map().withMutations((map)=>{map.set(1,"Peter");map.set(2,"Xavier");map.set(3,"Alex");map.set(4,"David");map.set(5,"John");});constseqen=newSeqen(map,recipe);constresult1=seqen.result().toIndexedSeq().toJS();expect(result1).toEqual(["alex","john","peter"]);

License

MIT

About

High performance sequence engine in Javascript that optimizes execution of sequences in Immutable.js

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages