UNPKG

markdown2jira

Version:

Export Markdown document to JIRA JSON import file

6 lines (5 loc) 208 B
import fs from 'fs' export default function save (filename, content) { fs.writeFileSync(filename, JSON.stringify(content ,null ," "), {encoding: 'utf8'}) console.log("Saved to file: " + filename) }