All Projects → sdesalas → websqldump

sdesalas / websqldump

Licence: MIT license
An ultra-light JS library for exporting data out of WebSQL

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to websqldump

cart-dumper
🎮 Gameboy ROM for cartridge dumping
Stars: ✭ 24 (-33.33%)
Mutual labels:  dump
gluesql-js
GlueSQL JavaScript Interface
Stars: ✭ 59 (+63.89%)
Mutual labels:  websql
CTF-Script-And-Template-Thrift-Shop
[180+ scripts] There are a few genuine gems in there. And a lot of spaghetti code. Most of these scripts were for solving CTF's. If you googles something for a CTF and landed here look at the scripts they're all fairly malleable. Sorry for the shitty naming conventions (not really). If you are a recruiter stop. I wont be able to rewrite half thi…
Stars: ✭ 38 (+5.56%)
Mutual labels:  dump
app
Buggregator is a beautiful, lightweight debug server build on Laravel that helps you catch your smpt, sentry, var-dump, monolog, ray outputs. It runs without installation on multiple platforms.
Stars: ✭ 259 (+619.44%)
Mutual labels:  dump
dd
This package will add the dd and dump helpers to your Phalcon application.
Stars: ✭ 17 (-52.78%)
Mutual labels:  dump
myanon
A mysqldump anonymizer
Stars: ✭ 24 (-33.33%)
Mutual labels:  dump
DebugStatementsFixers
Fixers set for PHP-CS-Fixer. Removes debug statements, which shouldn't be in production ever.
Stars: ✭ 22 (-38.89%)
Mutual labels:  dump
DumpDex
基于Xposed的极简易的dump dex文件脱壳工具
Stars: ✭ 46 (+27.78%)
Mutual labels:  dump
client-persist
Offline storage for your web client. Supports IndexedDB, WebSQL, localStorage and sessionStorage with an easy to crawl with API.
Stars: ✭ 14 (-61.11%)
Mutual labels:  websql
SmartDump
SmartDump - an exception and memory dump capture utility
Stars: ✭ 17 (-52.78%)
Mutual labels:  dump
pgantomizer
Anonymize data in your PostgreSQL dabatase with ease
Stars: ✭ 95 (+163.89%)
Mutual labels:  dump
CertDump
Dump certificates from PE files in different formats
Stars: ✭ 16 (-55.56%)
Mutual labels:  dump
jvm-dump-proxy
A proxy DLL for Windows to dump JVM classes at JNI level
Stars: ✭ 53 (+47.22%)
Mutual labels:  dump
DynamodbToCSV4j
Dump DynamoDB data into a CSV file using java
Stars: ✭ 18 (-50%)
Mutual labels:  dump
sqlweb
SqlWeb is an extension of JsStore which allows to use sql query for performing database operation in IndexedDB.
Stars: ✭ 38 (+5.56%)
Mutual labels:  websql
binance-pump-bot
Automation for Binance p&d(pump and dump) activity, ensures fastest purchase and provides auto selling functionality to lockdown profit during these events.
Stars: ✭ 112 (+211.11%)
Mutual labels:  dump
pouchy
A simple, opinionated interface for PouchDB 👝
Stars: ✭ 59 (+63.89%)
Mutual labels:  websql
sync-client
SyncProxy javascript client with support for all major embedded databases (IndexedDB, SQLite, WebSQL, LokiJS...)
Stars: ✭ 30 (-16.67%)
Mutual labels:  websql
ELFDump
ELFDump is a C parser for ELF64 object files.
Stars: ✭ 15 (-58.33%)
Mutual labels:  dump
Get-instagram-users-info---Any-instagram-account
Dump instagram users info without API.
Stars: ✭ 345 (+858.33%)
Mutual labels:  dump

WebSQLDump Logo

An ultra-light JS library for exporting data out of WebSQL

Usage

// Export whole db to console
websqldump.export({
  database: 'NorthwindLite'
});
// Export database data and POST to remote server
websqldump.export({
  database: 'NorthwindLite',
  dataonly: true,
  linebreaks: true,
  success: function(sql) {
    $.ajax({type: 'POST', url: 'http://myserver.com/sync', data: {clientId: '4EAB0319', localdb: sql});
  }
});
// Export single table (schema only) to alert window, ignore errors
websqldump.export({
  database: 'NorthwindLite',
  table: 'Orders',
  schemaonly: true,
  linebreaks: true,
  success: function(sql) {
    alert(sql); 
  },
  error: function(msg) {
    // do nothing
  }
});

Export options

  • database: Required. The name of the database to export
  • table: The table to export, if undefined then all tables are exported (defaults to undefined)
  • version: The version of the web database (defaults to '1.0')
  • dbsize: The size of the database in bytes (defaults to 5 * 1024 * 1024 - ie 5MB)
  • linebreaks: Set to true to add line-breaks (defaults to false)
  • schemaonly: Set to true to get the schema only (defaults to false)
  • dataonly: Set to true to get the data only (defaults to false)
  • success: Callback with 1 parameter (sql output). If not available will output to console.
  • error: Callback with 1 parameter (err message). If not available on error will throw an exception.

Dependencies

No JavaScript library dependencies. Requires browser with HTML5 WebSql support (such as WebKit browsers like chrome and safari) or equivalent openDatabase polyfill.

Demo

The following page contains a test harness:

http://sdesalas.github.io/websqldump

You will need to create some tables and enter data in order for the demo to become meaningful.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].