Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/blixt/js-starbound-files
- Owner: blixt
- License: mit
- Created: 2014-02-09T16:56:22.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-01-29T21:52:22.000Z (almost 10 years ago)
- Last Synced: 2024-10-06T19:35:49.271Z (about 1 month 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());
```