Skip to content

Commit 1c9cada

Browse files
committed
Added module docs
1 parent a43d43a commit 1c9cada

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

encoding/deno.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "0.0.1",
2+
"version": "0.0.2",
33
"name": "@stdext/encoding",
44
"lock": false,
55
"exports": {

encoding/hex.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
/**
2+
* Utilities for hex encoded data.
3+
* @module
4+
*
5+
* ```ts
6+
* import { dump } from "@stdext/encoding/hex";
7+
* const buffer = new TextEncoder().encode("Hello world!");
8+
* console.log(dump(buffer));
9+
* ```
10+
*/
11+
112
/**
213
* Convert a buffer to a hexdump string.
314
*

0 commit comments

Comments
 (0)