Skip to content

Commit 9b601f6

Browse files
committed
Added readme
1 parent 7134b37 commit 9b601f6

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

README.md

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# js-utilities
2+
3+
## Utilities
4+
5+
### `inspect`
6+
7+
`inspect` and **console.log** out the result. Uses the [util class](https://nodejs.org/api/util.html#utilinspectobject-showhidden-depth-colors)
8+
9+
### `decodeBase64`
10+
11+
Decode a **base64** string
12+
13+
### `createObjectWithOrderedKeys`
14+
15+
Sorts key/value pairs in a **Object** by keys
16+
17+
### `removeKeys`
18+
19+
Removes **keys** (***recursively***) from the given **Object**
20+
21+
### `uniqueValues`
22+
23+
Get only **unique** value(s) by either key or keys
24+
25+
### `relativeDateFormat`
26+
27+
Format a duration of **Date** into a relative format
28+
29+
### `currencyFormat`
30+
31+
Format a **Number** into a currency string

0 commit comments

Comments
 (0)