UNPKG

puml2code

Version:

PlantUML to code generator

6 lines (4 loc) 189 B
const Promise = require('bluebird'); const parser = require('./plantuml'); module.exports = data => Promise.try(() => parser.parse(data)); module.exports.SyntaxError = parser.SyntaxError;