1.0.11 • Published 8 months ago

runa-js v1.0.11

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

8 months ago

1.0.10

8 months ago

1.0.9

8 months ago

1.0.8

8 months ago

1.0.7

8 months ago

1.0.4

8 months ago

1.0.3

8 months ago

1.0.2

8 months ago

1.0.1

8 months ago

1.0.0

8 months ago