Imported node-fetch into joplin api wrapper module
This commit is contained in:
parent
4c41583ba8
commit
49f49112b3
|
|
@ -0,0 +1,8 @@
|
|||
import fetch from 'node-fetch';
|
||||
|
||||
async function main() {
|
||||
const res = await fetch("https://example.com");
|
||||
console.log(res.body);
|
||||
}
|
||||
|
||||
const res = main();
|
||||
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"type": "module",
|
||||
"dependencies": {
|
||||
"@notionhq/client": "^2.1.1",
|
||||
"dotenv": "^16.0.1",
|
||||
|
|
|
|||
Loading…
Reference in New Issue