-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Tierney Cyren <[email protected]>
- Loading branch information
Showing
36 changed files
with
17,276 additions
and
17,141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,4 +14,4 @@ | |
"recommended": true | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
const core = require('@retrogen/core') | ||
const core = require('@retrogen/core'); | ||
|
||
async function generate () { | ||
const dates = { | ||
start: '2022-01-01', | ||
end: '2022-01-31' | ||
} | ||
async function generate() { | ||
const dates = { | ||
start: '2022-01-01', | ||
end: '2022-01-31', | ||
}; | ||
|
||
const data = await core('nodejs', dates) | ||
const data = await core('nodejs', dates); | ||
|
||
console.log(JSON.stringify(data, null, 2)) | ||
console.log(JSON.stringify(data, null, 2)); | ||
} | ||
|
||
generate() | ||
generate(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
const core = require('@retrogen/core') | ||
const core = require('@retrogen/core'); | ||
|
||
async function generate () { | ||
const dates = { | ||
start: '2022-01-01', | ||
end: '2022-01-31' | ||
} | ||
async function generate() { | ||
const dates = { | ||
start: '2022-01-01', | ||
end: '2022-01-31', | ||
}; | ||
|
||
const options = { | ||
sort: 'interactions', // default is `updated`, but assume we want to see what's most interacted with | ||
per_page: 50 // default is 100. Not sure why you'd want to limit this outside of *knowing* you have a small size and speeding up the query. | ||
} | ||
const options = { | ||
sort: 'interactions', // default is `updated`, but assume we want to see what's most interacted with | ||
per_page: 50, // default is 100. Not sure why you'd want to limit this outside of *knowing* you have a small size and speeding up the query. | ||
}; | ||
|
||
const data = await core('nodejs', dates, options) | ||
const data = await core('nodejs', dates, options); | ||
|
||
console.log(JSON.stringify(data, null, 2)) | ||
console.log(JSON.stringify(data, null, 2)); | ||
} | ||
|
||
generate() | ||
generate(); |
Oops, something went wrong.