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: 5 months ago
JSON representation
This package makes it easy to parse the contents of Starbound's various file formats.
- Host: GitHub
- URL: https://github.com/blixt/js-starbound-files
- Owner: blixt
- License: mit
- Created: 2014-02-09T16:56:22.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2015-01-29T21:52:22.000Z (over 11 years ago)
- Last Synced: 2025-02-22T23:16:24.608Z (over 1 year ago)
- Language: JavaScript
- Size: 316 KB
- Stars: 6
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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());
```