Skip to content

Commit 446bc29

Browse files
committed
add deno-with-jsdeliver as an example deno script
1 parent 1ae2ba3 commit 446bc29

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

example/deno-with-jsdeliver.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/usr/bin/env deno run
2+
/* eslint-disable no-console */
3+
import * as msgpack from "https://cdn.jsdelivr.net/npm/@msgpack/msgpack/mod.ts";
4+
5+
console.log(msgpack.decode(msgpack.encode("Hello, world!")));

0 commit comments

Comments
 (0)