Skip to content

Ikagaka/Nar.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nar.js is not maintained now.

Please use Ikagaka/NarLoader.

Nar.js

Nanika Archive Reader

Usage

wiki

browser

<script src="./node_modules/encoding-japanese/encoding.min.js"></script>
<script src="./vendor/jszip.min.js"></script>
<script src="./vendor/XHRProxy.min.js"></script>
<script src="./vendor/WMDescript.js"></script>
<script src="./Nar.js"></script>
<script>
var loader = new Nar.Loader();
loader.loadFromURL("./vendor/mobilemaster.nar", function(err, nar){
  if(!!err) return console.error(err.stack);

  console.log(nar);
});
</script>

node.js

var loader = new require('ikagaka.nar.js').Loader;
loader.loadFromBuffer(buffer, function(err, nar){
  if(!!err) return console.error(err.stack);

  console.log(nar);
});

About

Ukagaka "Nanika Archive" reader

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published