Socket
Book a DemoInstallSign in
Socket

@mind-elixir/export-html

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mind-elixir/export-html

`@mind-elixir/export-html` is a plugin of [mind-elixir-core](https://github.com/ssshooter/mind-elixir-core). You can use `@mind-elixir/export-html` to export a `.html` file.

3.0.0
latest
npmnpm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

@mind-elixir/export-html

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

Install

npm i @mind-elixir/export-html file-saver

How To Use

Use As A Plugin

import MindElixir from 'mind-elixir'
import exportHtml from '@mind-elixir/export-html'

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

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

mind.exportHtmlFile(fileName) // download file

MindElixir Data To Html

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

Compatibility

@mind-elixir/export-html@1.0.0 -> mind-elixir 1.x
@mind-elixir/export-html@2.0.0 -> mind-elixir 2.x
@mind-elixir/export-html@3.0.0 -> mind-elixir 3.x

FAQs

Package last updated on 19 Aug 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.