npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

n8n-nodes-onenote-system

v0.2.0

Published

n8n community nodes for Microsoft OneNote (personal accounts): notebooks, sections, pages, images, audio, files and videos - read and write, plus a polling trigger.

Downloads

329

Readme

n8n-nodes-onenote-system

Deutsch · English

n8n-Community-Nodes für Microsoft OneNote mit privatem Microsoft-Konto. Notizen anlegen, lesen und ergänzen – mit Text, Markdown, HTML, Bildern, Audio, Dateien und Videos – in beide Richtungen.

Funktionen

| Ressource | Operationen | | --- | --- | | Notebook | Liste, Details, Erstellen | | Section | Liste (optional pro Notizbuch), Details, Erstellen | | Page | Erstellen, Lesen (HTML/Text/Metadaten, optional inkl. Medien), Liste mit Filtern, Ergänzen/Ersetzen, Kopieren, Verschieben, Löschen | | Media | Bilder/Audio/Dateien einer Seite als Binärdaten herunterladen · Binärdaten an eine Seite anhängen | | Login-Helfer | Node OneNote Login Helper: Geräte-Code-Login ohne Redirect-URI (für Server/LAN) | | Trigger | Polling: neue bzw. geänderte Seiten (gesamt, pro Notizbuch oder pro Abschnitt) |

  • Notizbuch, Abschnitt und Seite wählst du per Dropdown (mit Suche) oder per ID/Expression; jedes Ergebnis enthält die IDs (id, notebookId, sectionId, webUrl, …) zum Weiterverwenden.
  • Inhalte: Text, Markdown (Überschriften, Listen, To-dos, Tabellen, Code, Links, Bilder per URL) oder rohes HTML.
  • Bilder werden eingebettet, Audio/PDF/andere Dateien als Anhang. Videos kann OneNote nicht einbetten: sie werden nach OneDrive hochgeladen und als Link in die Seite eingefügt (bis 250 MB; abschaltbar).
  • Mehrere Binärfelder auf einmal (data,foto, oder * für alle).
  • Automatische Wiederholung bei Drosselung (HTTP 429) der Microsoft-Graph-API.
  • Keine Laufzeit-Abhängigkeiten – geeignet für die Verifizierung als Community-Node.

Installation

Aus npm (nach dem Veröffentlichen): n8n → Settings → Community Nodes → Install → n8n-nodes-onenote-system.

Lokal aus dem Quellcode (Docker):

npm install
npm run build
docker compose up -d          # n8n auf http://localhost:5678

Einrichtung des Zugangs

Für private Konten ist eine (kostenlose) App-Registrierung in Azure nötig – Schritt für Schritt in docs/setup-azure.md. Kurz: Redirect-URI http://localhost:5678/rest/oauth2-credential/callback, Client-ID + Client-Secret im n8n-Credential OneNote OAuth2 API eintragen, Connect klicken.

n8n auf einem Server oder ohne HTTPS? Azure erlaubt http:// nur für localhost. Dafür gibt es den Device-Login (ohne Redirect-URI, ohne Client Secret) mit dem Node OneNote Login Helper und dem Credential OneNote Device Login API; die Alternative ist ein SSH-Tunnel – beides in docs/setup-azure.md.

Nutzung

Siehe docs/usage.md und die importierbaren Workflows in examples/.

Entwicklung & Veröffentlichung

npm install
npm run build     # kompiliert nach dist/
npm run lint      # n8n-Community-Node-Regeln
npm test          # Unit-Tests (Node test runner, Graph-API gemockt)
npm run dev       # n8n mit Hot-Reload (n8n-node dev)
npm run release   # Version anheben, Tag setzen, veröffentlichen (release-it)

Veröffentlichen: npm login und npm publish (der Paketname muss mit n8n-nodes- beginnen). Für die n8n-Verifizierung wird das Paket über GitHub Actions mit npm-Provenance veröffentlicht.

Grenzen der OneNote-API

  • Kein Webhook/Änderungs-Feed → der Trigger arbeitet per Polling.
  • Videos lassen sich nicht einbetten (siehe oben). Audio wird als Datei-Anhang gespeichert.
  • Seiten-Inhalt kann nur angehängt/vorangestellt bzw. über Element-IDs ersetzt werden, nicht als Ganzes überschrieben.
  • Sehr große Notizbücher in OneDrive (> 5000 Elemente) können von der API mit Fehlern abgelehnt werden.
  • Ein Notizbuch/Abschnitt mit Passwortschutz ist über die API nicht lesbar.

English

n8n community nodes for Microsoft OneNote with a personal Microsoft account: create, read and extend notes with text, Markdown, HTML, images, audio, files and videos – in both directions.

  • Resources: Notebook, Section, Page, Media, plus a polling OneNote Trigger (new/modified pages).
  • Pick notebook/section/page from a searchable list or by ID/expression; outputs contain IDs and web URLs.
  • Images are embedded, audio/PDF/other files attached; videos are uploaded to OneDrive and linked (OneNote cannot embed video).
  • Personal accounts on a server/LAN IP: use the Device Login authentication (no redirect URI), see the setup guide.
  • Install via Settings → Community Nodes (n8n-nodes-onenote-system) or build locally (npm install && npm run build, docker compose up -d).
  • Setup of the Azure app registration: docs/setup-azure.md. Usage: docs/usage.md.

License: MIT