Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jakeburden/example-leveldb-webworker
https://github.com/jakeburden/example-leveldb-webworker
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/jakeburden/example-leveldb-webworker
- Owner: jakeburden
- Created: 2016-01-27T07:43:11.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-27T22:49:41.000Z (almost 9 years ago)
- Last Synced: 2024-04-16T00:30:50.460Z (9 months ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.markdown
Awesome Lists containing this project
README
### example of leveldb in webworker
---#### proof of concept
The purpose of this example app is to experiment with a way of changing and storing app state without blocking UI rendering.
Also the idea of putting leveldb in webworker seemed cool af to me.
---
The main UI thread acts as a render loop while the webworker maintains all the state.
Leveldb is utilized within the webworker thread for persistent/offline storage.
#### getting started
First clone this repo and run npm install.```
npm install
```
---
##### development
To start watchify and the server on port 9090```
npm run dev
```----
##### production
To run browserify and uglify and start the server on port 9090```
npm run production
```