Skip to content

馃 Deno compatibility #1708

Answered by gr2m
gr2m asked this question in General
May 12, 2020 · 5 comments · 30 replies
Discussion options

You must be logged in to vote

Looks like it just works when using cdn.skypack.dev instead of cdn.pika.dev 馃帀

// index.ts
import { Octokit } from "https://cdn.skypack.dev/@octokit/rest";

console.log(`Octokit.VERSION: ${Octokit.VERSION}`);

const octokit = new Octokit({
  auth: "[personall access token here]",
});

octokit.users.getAuthenticated().then(console.log, console.error);

Then run

deno run --allow-net index.ts

Replies: 5 comments 30 replies

Comment options

gr2m
May 12, 2020
Maintainer Author

You must be logged in to vote
1 reply
@gr2m
Comment options

gr2m May 12, 2020
Maintainer Author

Comment options

gr2m
May 12, 2020
Maintainer Author

You must be logged in to vote
3 replies
@kevinkassimo
Comment options

@gr2m
Comment options

gr2m May 13, 2020
Maintainer Author

@kevinkassimo
Comment options

Comment options

gr2m
Aug 9, 2020
Maintainer Author

You must be logged in to vote
2 replies
@wangkexiong
Comment options

@gr2m
Comment options

gr2m Dec 7, 2020
Maintainer Author

Answer selected by gr2m
Comment options

You must be logged in to vote
24 replies
@gr2m
Comment options

gr2m Jan 13, 2021
Maintainer Author

@gr2m
Comment options

gr2m Feb 14, 2021
Maintainer Author

@gr2m
Comment options

gr2m Feb 14, 2021
Maintainer Author

@orta
Comment options

@gr2m
Comment options

gr2m Feb 19, 2021
Maintainer Author

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
7 participants