twine-utils

Utilities for working with Twine 2 stories and story formats.

Usage no npm install needed!

<script type="module">
  import twineUtils from 'https://cdn.skypack.dev/twine-utils';
</script>

README

twine-utils

This lets you work with Twee source, Twine 2 stories, and story formats in a programmatic way: combining them, adding extra JS or CSS, or otherwise modifying them in JavaScript.

This also contains two command-line tools:

  • entwine combines source files and publish to a new story format.
  • entwee combines source files and saves as Twee source code.