---
title: "bondage.js"
description: "JavaScript parser and runtime for the Yarn dialogue tree markup language, usable in any web game."
canonical: "https://vibing.inc/library/bondage-js-vg-1118"
category: "Games, Juice & Interactive"
subcategory: "Interactive fiction & toys"
license: "MIT"
author: "(@hylyh)"
source: "https://github.com/hylyh/bondage.js"
---

# bondage.js
JavaScript parser and runtime for the Yarn dialogue tree markup language, usable in any web game.
## Facts
- Source: https://github.com/hylyh/bondage.js
- Category: Games, Juice & Interactive / Interactive fiction & toys
- Author: (@hylyh)
- Licence: MIT
- Tags: yarn, dialogue, parser, javascript
## Why it's a gem
Lets a web game consume the same Yarn files Unity narrative designers already write
---
Listed in The Vibeary: https://vibing.inc/library/bondage-js-vg-1118 · JSON: https://vibing.inc/api/public/library/gems/bondage-js-vg-1118