0.0.3 • Published 2 years ago

sort-with v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

a sort utils stolen from ramda.js

usage

import {sortWith, ascendBy, descendBy } from 'sort-with'


sortWith(
	[ascendBy('title'), descendBy('sorce')],
	movies
)

// or


const sort = sortWith([ascendBy('title'), descendBy('sorce')])

const sorted = sort(movies)

thx for reading here

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago