Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Narazaka/satoriworker.js
satoriworker.js
https://github.com/Narazaka/satoriworker.js
shiori ukagaka
Last synced: 28 days ago
JSON representation
satoriworker.js
- Host: GitHub
- URL: https://github.com/Narazaka/satoriworker.js
- Owner: Narazaka
- Created: 2015-05-02T14:57:07.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2020-06-25T07:27:31.000Z (over 4 years ago)
- Last Synced: 2024-07-30T20:57:40.474Z (4 months ago)
- Topics: shiori, ukagaka
- Language: JavaScript
- Size: 1.59 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
SatoriWorker - WebWorker SHIORI subsystem Satori
==========================Install
--------------------------
```
npm install satoriworker.js
```Usage
--------------------------
node.js
```javascript
var ShioriLoader = require("shioriloader");
var SatoriWorker = require("satoriworker.js");
```browser
```javascript```
then
```javascript
var shiori = new SatoriWorker();
shiori.load(dirpath).then(...);// or
ShioriLoader.shiori_detectors = [
function(fs, dirpath, shiories) {
return new Promise(function(resolve) { resolve(new shiories.satori(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).