How to use @bbob/core - 2 common examples

To help you get started, we’ve selected a few @bbob/core examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github JiLiZART / bbob / packages / bbob-html / src / index.js View on Github external
const toHTML = (source, plugins, options) => core(plugins)
  .process(source, { ...options, render: renderNodes }).html;
github JiLiZART / bbob / packages / bbob-react / src / render.js View on Github external
const toAST = (source, plugins, options) => core(plugins)
  .process(source, {
    ...options,
    render: input => html.render(input, { stripTags: true }),
  }).tree;

@bbob/core

⚡️Blazing-fast js-bbcode-parser, bbcode js, that transforms and parses to AST with plugin support in pure javascript, no dependencies

MIT
Latest version published 7 months ago

Package Health Score

71 / 100
Full package analysis

Popular @bbob/core functions