Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: create and expose serializeLibraryAsJSON #5009

Merged
merged 4 commits into from Apr 5, 2022

Conversation

pomdtr
Copy link
Contributor

@pomdtr pomdtr commented Apr 3, 2022

This PR add an serializeLibraryAsJSON helper.

Example usecase in the VSCode extension: excalidraw/excalidraw-vscode#16

@vercel
Copy link

vercel bot commented Apr 3, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployments, click below or on the icon next to each commit.

excalidraw – ./

🔍 Inspect: https://vercel.com/excalidraw/excalidraw/DKRh8wWqZMbYh7Nk2apcr1zaAHgf
✅ Preview: https://excalidraw-git-fork-pomdtr-export-serialize-library-excalidraw.vercel.app

excalidraw-package-example – ./src/packages/excalidraw

🔍 Inspect: https://vercel.com/excalidraw/excalidraw-package-example/B7s5w2f6n8J7x69erA68vZEEM2dA
✅ Preview: https://excalidraw-package-example-git-fork-pomdtr-ex-5e385d-excalidraw.vercel.app

@pomdtr pomdtr changed the title create and expose serializeLibraryAsJSON fit: create and expose serializeLibraryAsJSON Apr 3, 2022
@pomdtr pomdtr changed the title fit: create and expose serializeLibraryAsJSON feat: create and expose serializeLibraryAsJSON Apr 3, 2022
src/data/json.ts Outdated Show resolved Hide resolved
@dwelle dwelle merged commit 873afda into excalidraw:master Apr 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants