Repository
Current version released
2 years ago
Versions
deno911/utilities
Various utility modules for the Deno ecosystem, stored under one roof
callsites
Access call site data from the V8 stack trace API
- Features the new zero-cost AsyncStackTrace API
- Determine otherwise inaccessible downstream data, like
import.meta.url
- (this is the strategy used by the deno_blog project)
import { callsites } from "https://deno.land/x/callsites/mod.ts";
const call = () => callsites()[0];
const site = call();
site.getFileName();
// => "file:///Users/foo/bar.ts"
site.isAsync();
// => false
Contributing
This section assumes you have the GitHub CLI
1. Fork and clone the repository locally
gh repo fork deno911/utilities --clone
2. Create a new branch for your changes
git checkout -b fix/typo-in-readme
3. Make small changes and concise commits
β
Ensure youβve performed fmt
, lint
, and test
before committing.
if deno fmt && deno lint && deno test -A --no-check --unstable; then
git add README.md
git commit -S[GPG-KEY-iD] -m "fix: typo in readme"
git push
fi
4. Open a Pull Request
gh pr create --title "fix: typos in README.md"
# or just open github.com and use the web UI
Warning Β· make sure youβve selected the upstream repo for your Pull Request!