Skip to content

ysm/kdb.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kdb.js

JavaScript wrapper for kdb+ websockets. Makes it easier to develop web applications for kdb.

Usage:

var kdb = new KDB("localhost", 1234);
kdb.query("239*239", function(data) {
  console.log(data);
});

This will work after loading necessary JS files:

  • kdb.js itself
  • c.js from kx wiki

In your q script you will need to:

  1. Load json.k from kx wiki
  2. Define .z.ws function
  3. Open port to start accepting connections

See examples in sample.html and script.q.

About

JavaScript wrapper for kdb+ websockets.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published