Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/blixt/js-starbound-files

This package makes it easy to parse the contents of Starbound's various file formats.
https://github.com/blixt/js-starbound-files

Last synced: about 1 month ago
JSON representation

This package makes it easy to parse the contents of Starbound's various file formats.

Awesome Lists containing this project

README

        

Starbound Files
===============

This package makes it easy to parse the contents of Starbound's various
file formats.

**Note:** This package currently only supports HTML5 `File` objects.

Example
-------

```js
var starbound = require('starbound-files');

// Assume file is a File object pointing to a .pak file.
var file = ...;
var pak = starbound.Package.open(file);
console.log('All files in the .pak file:', pak.getIndex());
```