1.0.11 • Published 1 year ago

runa-js v1.0.11

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

Runa

A simple text templating language with variable substitution and weighted random selection.

Installation

npm install runa-js

Usage

Using the execute function, you can execute a Runa script.

const { execute } = require('runa-js');

const result = execute(`Hello\nWorld`);

Or using executeFile to execute a Runa script from a file.

const { executeFile } = require('runa-js');

const result = executeFile('script.runa');
1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago