{"id":15101393,"url":"https://github.com/connor-baer/rich-text-from-notion","last_synced_at":"2025-10-08T08:32:27.846Z","repository":{"id":76829176,"uuid":"193398486","full_name":"connor-baer/rich-text-from-notion","owner":"connor-baer","description":"A library to convert Notion page content to the Contentful Rich Text document format.","archived":true,"fork":false,"pushed_at":"2019-07-03T18:59:30.000Z","size":696,"stargazers_count":7,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-20T21:24:01.475Z","etag":null,"topics":["contentful","convert","notion","rich-text"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/connor-baer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-06-23T21:47:27.000Z","updated_at":"2024-04-16T14:09:08.000Z","dependencies_parsed_at":"2023-06-12T11:15:30.420Z","dependency_job_id":null,"html_url":"https://github.com/connor-baer/rich-text-from-notion","commit_stats":{"total_commits":14,"total_committers":3,"mean_commits":4.666666666666667,"dds":0.2142857142857143,"last_synced_commit":"7f76c507bf09d5cfe1d9373c5554af5b9ac94579"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":"connor-baer/package-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/connor-baer%2Frich-text-from-notion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/connor-baer%2Frich-text-from-notion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/connor-baer%2Frich-text-from-notion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/connor-baer%2Frich-text-from-notion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/connor-baer","download_url":"https://codeload.github.com/connor-baer/rich-text-from-notion/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235700110,"owners_count":19031668,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["contentful","convert","notion","rich-text"],"created_at":"2024-09-25T18:22:11.136Z","updated_at":"2025-10-08T08:32:22.364Z","avatar_url":"https://github.com/connor-baer.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# rich-text-from-notion \u003c!-- omit in TOC --\u003e\n\nA library to convert [Notion](https://notion.so) page content to the Contentful [Rich Text](https://www.contentful.com/developers/docs/concepts/rich-text/) document format.\n\n[![npm version](https://badge.fury.io/js/%40madebyconnor%2Frich-text-from-notion.svg)](https://badge.fury.io/js/%40madebyconnor%2Frich-text-from-notion) [![Build Status](https://travis-ci.org/connor-baer/rich-text-from-notion.svg?branch=master)](https://travis-ci.org/connor-baer/rich-text-from-notion) [![codecov](https://codecov.io/gh/connor-baer/rich-text-from-notion/branch/master/graph/badge.svg)](https://codecov.io/gh/connor-baer/rich-text-from-notion) [![License MIT](https://img.shields.io/github/license/connor-baer/rich-text-from-notion.svg)](https://github.com/connor-baer/rich-text-from-notion/blob/master/LICENSE.md)\n\n\u003c/div\u003e\n\n\u003c!-- TOC --\u003e\n\n- [Installation](#Installation)\n- [Getting started](#Getting-started)\n- [Getting the smallest possible bundle size](#Getting-the-smallest-possible-bundle-size)\n- [Changelog](#Changelog)\n\n\u003c!-- /TOC --\u003e\n\n---\n\n[`rich-text-from-notion`](https://www.npmjs.com/package/@madebyconnor/rich-text-from-notion) is *in writing...*\n\nSome standout features include...\n\nAll this clocks in at around 3.7 kB gzipped.\n\n⚠️ Requires Node \u003e= 8.0.0.\n\n## Installation\n\nInstall `@madebyconnor/rich-text-from-notion` with your favorite package manager.\n\n```shell\n# yarn\nyarn add @madebyconnor/rich-text-from-notion\n# npm\nnpm install @madebyconnor/rich-text-from-notion\n```\n\n## Getting started\n\n`@madebyconnor/rich-text-from-notion` exports a function\n\n```js\nimport richTextFromNotion from '@madebyconnor/rich-text-from-notion';\n\nrichTextFromNotion(notionPageContent)\n\n/*\n    returns:\n\n    rich text. duh! (in writing...)\n */\n```\n\n## Getting the smallest possible bundle size\n\nMany development conveniences are placed behind `process.env.NODE_ENV !== \"production\"` conditionals. When bundling your app, it's a good idea to replace these code snippets such that a minifier (like uglify) can sweep them away and leave a smaller overall bundle.\n\nHere are instructions for some of the popular bundlers:\n\n- [webpack](https://webpack.js.org/guides/production/#specify-the-environment)\n- [browserify plugin](https://github.com/hughsk/envify)\n- [parcel](https://parceljs.org/production.html)\n- [fuse-box](http://fuse-box.org/plugins/replace-plugin#notes)\n\n## Changelog\n\nSee [GitHub Releases](https://github.com/connor-baer/rich-text-from-notion/releases).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconnor-baer%2Frich-text-from-notion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconnor-baer%2Frich-text-from-notion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconnor-baer%2Frich-text-from-notion/lists"}