UNPKG

compromise

Version:

modest natural language processing

12 lines (9 loc) • 268 B
import html from './html.js' import json from './json.js' import out from './out.js' import text from './text.js' const methods = { ...out, ...text, ...json, ...html } const addAPI = function (View) { Object.assign(View.prototype, methods) } export default addAPI