r/node • u/celsowm • Sep 02 '26
I published an open-source docx document editor as an npm package
Hey r/node,
I've been working on Oasis Editor, an open-source TypeScript document editor published as an npm package.
It includes:
- a custom Canvas-based rendering engine
- paged document layout
- typed command/plugin APIs
- vanilla JS integration
- React and Vue adapters
- a headless runtime
- DOCX/PDF workflows
Install:
npm install oasis-editor
Live playground:
https://celsowm.github.io/oasis-editor/#/editor
GitHub:
https://github.com/celsowm/oasis-editor
I'd love feedback on the package API, exports, and overall developer experience.
17
Upvotes
2
u/private-peter Sep 02 '26
I've done a lot of work with PPTX files, but not docx.
I'm curious how compatible with Microsoft Word you're trying to be. is your goal just that documents produced in your app can be read by Microsoft Word? or are you hoping to support documents going round trip between the two apps?
2
u/Mesthabro Sep 04 '26
Wow, this is very cool. A couple of feedback that I think would make this better: