Warning
This package is no longer maintained.
Starting with Asciidoctor.js 4.0, the project is now a native JavaScript implementation.
It is no longer compiled from Ruby via Opal.
Please refer to the Asciidoctor.js documentation for up-to-date usage instructions.
Caution
This library is a highly optimized version of the Opal runtime that contains the bare minimum to run Asciidoctor. If you are looking for a general purpose Opal runtime, please use https://www.npmjs.com/package/opal-runtime.
import Opal from '@asciidoctor/opal-runtime'
// Now let's have fun with Opal!This library is also available as a CommonJS module:
const Opal = require('@asciidoctor/opal-runtime')
// Now let's have fun with Opal!