Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@goldfire/storyscript

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@goldfire/storyscript

Lexer and parser for StoryScript game screenplay format.

  • 1.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Description

StoryScript is a fork of the standard screenplay format to be used with interactive games, originally designed for use in the game Arctic Awakening.

Installation

  • Install with npm: npm install @goldfire/storyscript
  • Install with Yarn: yarn add @goldfire/storyscript

Usage

To use as a CLI:

> node StoryScript /absolute/path/to/script.txt

To use in a Node.js project:

const {parseScript} = require('@goldfire/storyscript');

const scriptFile = fs.readFileSync('/path/to/script.txt', 'utf8');
const ast = parseScript(scriptFile);

console.log(JSON.stringify(ast, null, 2));

StoryScript Syntax

TODO

License

Copyright (c) 2021 James Simpson and GoldFire Studios, Inc.

Released under the MIT License.

Keywords

FAQs

Package last updated on 13 Sep 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc