1.0.11 • Published 9 months ago

runa-js v1.0.11

Weekly downloads
-
License
ISC
Repository
github
Last release
9 months 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

9 months ago

1.0.10

9 months ago

1.0.9

9 months ago

1.0.8

9 months ago

1.0.7

9 months ago

1.0.4

9 months ago

1.0.3

9 months ago

1.0.2

9 months ago

1.0.1

9 months ago

1.0.0

9 months ago