
Product
Introducing Socket Fix for Safe, Automated Dependency Upgrades
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.
notion-client
Advanced tools
Robust TypeScript client for the unofficial Notion API.
npm install notion-client
This package is compatible with server-side V8 contexts such as Node.js, Deno, and Cloudflare Workers.
import { NotionAPI } from 'notion-client'
// you can optionally pass an authToken to access private notion resources
const api = new NotionAPI()
// fetch a page's content, including all async blocks, collection queries, and signed urls
const page = await api.getPage('067dd719-a912-471e-a9a3-ac10710e7fdf')
// fetch the data for a specific collection instance
const collectionId = '2d8aec23-8281-4a94-9090-caaf823dd21a'
const collectionViewId = 'ab639a5a-853e-45e1-9ef7-133b486c0acf'
const colectionData = await api.getCollectionData(
collectionId,
collectionViewId
)
MIT © Travis Fischer
Support my OSS work by following me on twitter
FAQs
Robust TypeScript client for the unofficial Notion API.
The npm package notion-client receives a total of 34,392 weekly downloads. As such, notion-client popularity was classified as popular.
We found that notion-client demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.
Security News
CISA denies CVE funding issues amid backlash over a new CVE foundation formed by board members, raising concerns about transparency and program governance.
Product
We’re excited to announce a powerful new capability in Socket: historical data and enhanced analytics.