Skip to content

Commit

Permalink
chore: fmt + lint
Browse files Browse the repository at this point in the history
  • Loading branch information
load1n9 committed Nov 4, 2024
1 parent beada97 commit 13723a1
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 11 deletions.
1 change: 0 additions & 1 deletion .github/workflows/depsbot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,3 @@ jobs:
uses: denosaurs/depsbot@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

31 changes: 22 additions & 9 deletions deno.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,24 @@
{
"name": "@denosaurs/pngs",
"version": "0.2.0",
"exports": "./mod.ts",
"tasks": {
"build": "deno run -A scripts/build.ts",
"fmt": "deno run -A scripts/fmt.ts",
"clean": "deno run -A scripts/clean.ts",
"lint": "deno run -A scripts/lint.ts"
}
"name": "@denosaurs/pngs",
"version": "0.2.0",
"exports": "./mod.ts",
"tasks": {
"build": "deno run -A scripts/build.ts",
"fmt": "deno run -A scripts/fmt.ts",
"clean": "deno run -A scripts/clean.ts",
"lint": "deno run -A scripts/lint.ts"
},
"lint": {
"exclude": [
"pkg"
]
},
"publish": {
"include": [
"mod.ts",
"wasm.js",
"README.md",
"LICENSE"
]
}
}
2 changes: 1 addition & 1 deletion examples/basic.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { decode } from "../mod.ts";

const file = await (await fetch(
"https://avatars.githubusercontent.com/u/65427464?s=49&v=4",
"https://avatars.githubusercontent.com/u/65427464?s=49&v=4",
)).bytes();
console.log(decode(file));

0 comments on commit 13723a1

Please sign in to comment.