Skip to content

Commit b17287d

Browse files
authored
Merge pull request #207 from msgpack/deno-with-jsdeliver
add deno-with-jsdeliver as an example deno script
2 parents 1ae2ba3 + 446bc29 commit b17287d

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)