
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
notion-export-cli
Advanced tools
fastest way to export notion pages.
有两种使用方法,一种是通过命令行调用,一种是在代码中通过函数调用。
命令行:
notion-export-cli --email example@mail.com --password your_password --blockId page1_id --blockId page2_id
函数:
const notionExportFn = require('notion-export-cli');
notionExportFn({
email: 'example@mail.com',
password: 'your_password',
blockId: [
// ...
],
})
.then(res => {
// ['page_content_download_url']
console.log(res);
});
| 参数名 | 种类 | 描述 | 默认值 |
|---|---|---|---|
| string | notion 登录邮箱 | - | |
| password | string | notion 登录密码 | - |
| blockId | string|array | 导出的 notion 页面的 id | - |
| exportType | string | 导出 notion 页面的类型 | 'markdown' |
首先打开页面,然后点击右上角的 share 按钮,会弹出如下弹窗:
之后点击 copy link,就会得到页面链接,格式为:
https://www.notion.so/页面标题-blockId
通过查看链接即可得到 blockId。
FAQs
fastest way to export notion pages.
We found that notion-export-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.