Skip to content

You can use `@mind-elixir/export-xmind` to export a `.xmind` file.

Notifications You must be signed in to change notification settings

SSShooter/export-xmind

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@mind-elixir/export-xmind

@mind-elixir/export-xmind is a plugin of mind-elixir-core. You can use @mind-elixir/export-xmind to export a .xmind file.

Install

npm i @mind-elixir/export-xmind jszip file-saver

How To Use

Use As A Plugin

import MindElixir from 'mind-elixir'
import exportXmind from '@mind-elixir/export-xmind'

const mind = new MindElixir(options)
mind.install(exportXmind)
mind.init(data)

const blob = await mind.exportXmind() // get blob

mind.exportXmindFile(fileName) // download file

MindElixir Data To Xmind

import { data2Xmind } from '@mind-elixir/export-xmind'
// use this way to avoid creating instance
const blob = await data2Xmind(JSON.parse(JSON.stringify(data))) // data returned by getData()

About

You can use `@mind-elixir/export-xmind` to export a `.xmind` file.

Resources

Stars

Watchers

Forks

Packages

No packages published