UNPKG

asciidoctor-opal-runtime

Version:
22 lines (14 loc) 846 B
# Opal Runtime for Asciidoctor.js [![Travis build status](https://img.shields.io/travis/Mogztter/asciidoctor-opal-node-runtime/master.svg)](https://travis-ci.org/Mogztter/asciidoctor-opal-node-runtime) [![npm version](http://img.shields.io/npm/v/asciidoctor-opal-runtime.svg)](https://www.npmjs.org/package/asciidoctor-opal-runtime) :fire: **CAUTION**: This library is an _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. ## Usage ```javascript import Opal from 'asciidoctor-opal-runtime' // Now let's have fun with Opal! ``` This library is also available as a CommonJS module: ```javascript const Opal = require('asciidoctor-opal-runtime') // Now let's have fun with Opal! ```