3.1.0 ā€¢ Published 10 months ago

twine-utils v3.1.0

Weekly downloads
3
License
GPL-3.0
Repository
github
Last release
10 months ago

twine-utils

šŸ“– API documentation

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 is able to read Twine 1 stories (TWS) and the HTML files created by Twine 1, but can't write them.

This library is intended to be used in a Node context, not a browser one, though everything except the path module should work. They aren't efficient to use in a browser context because they use Node modules for parsing HTML. In a browser content, you can have the browser do this for you instead.

Things you can do with this library:

  • Assemble a Twine story from disparate sources
  • Convert a Twine story to another format, like JSON
  • Incorporate Twine into a build process
  • Build a tool that works with Twine stories
3.0.3

10 months ago

3.0.2

10 months ago

3.1.0

10 months ago

3.0.1

10 months ago

3.0.0

10 months ago

1.3.2

3 years ago

2.0.0

3 years ago

1.3.1

5 years ago

1.3.0

5 years ago

1.2.6

7 years ago

1.2.5

7 years ago

1.2.4

8 years ago

1.2.3

8 years ago

1.2.2

8 years ago

1.2.1

8 years ago

1.2.0

8 years ago

1.1.0

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago