Skip to content

Commit 115c0c0

Browse files
committedMar 19, 2021
📚 docs(README): Add emojis and import line sample.
1 parent 54367e4 commit 115c0c0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
 

‎README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
[@aureooms/js-compare](https://aureooms.github.io/js-compare)
1+
:apple::orange: [@aureooms/js-compare](https://aureooms.github.io/js-compare)
22
==
33

44
Comparison functions for JavaScript.
55
See [docs](https://aureooms.github.io/js-compare/index.html).
66

77
```js
8+
import { reverse, lexicographical, increasing } from '@aureooms/js-compare' ;
89
let compare = reverse( lexicographical( increasing ) ) ;
910
compare( [ 1 , 1 ] , [ 1 , 2 ] ) > 0 ; // true
1011
```
@@ -24,6 +25,6 @@ compare( [ 1 , 1 ] , [ 1 , 2 ] ) > 0 ; // true
2425
[![Documentation](https://aureooms.github.io/js-compare/badge.svg)](https://aureooms.github.io/js-compare/source.html)
2526
[![Package size](https://img.shields.io/bundlephobia/minzip/@aureooms/js-compare)](https://bundlephobia.com/result?p=@aureooms/js-compare)
2627

27-
## References
28+
## :scroll: References
2829

2930
- https://en.wikipedia.org/wiki/Lexicographical_order

0 commit comments

Comments
 (0)
Please sign in to comment.