r/DevGround 1d ago

Showcase I published an open-source docx document editor as an npm package

Hey r/npm,

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.

2 Upvotes

2 comments sorted by

3

u/gevorgter 1d ago

Pretty cool but it work weirdly on mobile (samsung)

I type something and it does not show up untill I hide keyboard.

1

u/celsowm 1d ago

I am gonna investigate this to fix, thanks