Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/Narazaka/kawari7worker.js

kawari7worker.js
https://github.com/Narazaka/kawari7worker.js

shiori ukagaka

Last synced: 28 days ago
JSON representation

kawari7worker.js

Awesome Lists containing this project

README

        

Kawari7Worker - WebWorker SHIORI subsystem KAWARI7
==========================

Install
--------------------------
```
npm install kawari7worker.js
```

Usage
--------------------------
node.js
```javascript
var ShioriLoader = require("shioriloader");
var KawariWorker = require("kawari7worker.js");
```

browser
```javascript

```

then
```javascript
var shiori = new Kawari7Worker();
shiori.load(dirpath).then(...);

// or

ShioriLoader.shiori_detectors = [
function(fs, dirpath, shiories) {
return new Promise(function(resolve) { resolve(new shiories.kawari7(fs)) });
},
];

ShioriLoader
.detect_shiori(fs, dirpath)
.then((shiori) => shiori.load(dirpath))
.then(...);
```

License
--------------------------

This is released under [MIT License](http://narazaka.net/license/MIT?2016).