diff --git a/joplin.js b/joplin.js new file mode 100644 index 0000000..a77b8f6 --- /dev/null +++ b/joplin.js @@ -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(); \ No newline at end of file diff --git a/package.json b/package.json index e1b46c7..296324a 100644 --- a/package.json +++ b/package.json @@ -1,4 +1,5 @@ { + "type": "module", "dependencies": { "@notionhq/client": "^2.1.1", "dotenv": "^16.0.1",