Skip to content

Instantly share code, notes, and snippets.

@catalinpit

catalinpit/client.js

Created May 26, 2021
Embed
What would you like to do?
src/notion/client.js
const { Client } = require('@notionhq/client');
require('dotenv').config();
const notion = new Client({
auth: process.env.NOTION_TOKEN
});
module.exports = {
notion
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment