Skip to content

Instantly share code, notes, and snippets.

halkeand

Block or report user

Report or block halkeand

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Git API query
{
search(query: "stars:>10000 language:javascript", type: REPOSITORY, first: 10) {
repositoryCount
edges {
node {
... on Repository {
name
diskUsage
description
stargazers {
@halkeand
halkeand / fetch-and-process.js
Last active Dec 15, 2017
fetch-and-process
View fetch-and-process.js
const render = (data) => console.log(data)
const apiUrl = 'https://jsonplaceholder.typicode.com/albums'
const fetchAsync = async (url) => {
let resp = await fetch(url)
let data = await resp.json()
return data
}
const fetchAndProcess = (url, process) => {
You can’t perform that action at this time.