1.0.11 • Published 7 months ago

runa-js v1.0.11

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

7 months ago

1.0.10

7 months ago

1.0.9

7 months ago

1.0.8

7 months ago

1.0.7

7 months ago

1.0.4

7 months ago

1.0.3

7 months ago

1.0.2

7 months ago

1.0.1

7 months ago

1.0.0

7 months ago