JSPM

  • Created
  • Published
  • Downloads 31798
  • Score
    100M100P100Q158828F
  • License MIT

BBob is a tool to transform BBCode markup useing presets

Package Exports

  • @bbob/core

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@bbob/core) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

bbob

Usage

const bbob = require('@bbob/core');
const presetHTML5 = require('@bbob/preset-html5');
const code = `[i]Text[/i]`;

const processor = bbob([presetHTML5]).process(code, {sync: true}).html