Skip to content
Go to file

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time


node-dstk is a node.js module that provides an interface for the Data Science Toolkit distribution.

The Data Science Toolkit is a tool that can be used to:

  • Find places or persons in text
  • Find coordinates for IP-numbers or street address
  • Find the main content in a HTML document

...and several more methods.

The Data Science Toolkit it self is a Linux distribution assembled by Pete Warden that can be run as a virtual machine.

This module provides an interface by making HTTP requests to the server, by default the public server at is used but to improve speed you can clone this virtual machine and run it locally and set the dstk.apiURL to the cloned machines url ex. http://localhost:8080.


Simply use the npm package manager

$ npm install dstk

Usage example

var dstk = require('dstk');

// OPTIONAL: change from default server to custom server
// dstk.apiURL = 'http://localhost:8080';

// Find GPS coordinates for an IP number
dstk.ipToCoordinates('', function (error, data, httpResponse) {
	if (!error) {

// Find names in text
var dstk = require('dstk'),
	text =	'This is a text naming Anna Andersson and Peter Nilsson ' +
			'to try out the text to people functionality';

dstk.textToPeople(text, function (error, data, httpResponse) {
	if (!error) {

Available methods

Below are the currently supported methods, they are linked to the documentation on the Data Science Toolkit for more detailed explanations.


(The GPL license)

Copyright (C) 2013 Fredrik Söderström

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see


An node.js module that provides an interface for the Data Science Toolkit distribution, based on the jQuery plugin




No packages published
You can’t perform that action at this time.