Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
mindsdb-js-sdk
Advanced tools
[![npm version](https://img.shields.io/badge/npm-v6.13.7-orange)](https://www.npmjs.com/package/mindsdb-js-sdk) [![axios](https://img.shields.io/badge/axios-v0.18.1-orange)](https://www.npmjs.com/package/mindsdb-js-sdk) [![install size](https://img.shield
MindsDB generates metadata about your specific machine learning task, that you can visualize through our graphical user interface MindsDB GUI.
Using npm:
$ npm install mindsdb-js-sdk
Using yarn:
$ yarn add mindsdb-js-sdk
Commands should executed from javascript/
folder.
yarn
npm install
yarn build
npm run build
example of usage:
import MindsDB from 'mindsdb-js-sdk';
//connection
const connectData = {
email : 'user@muser.com', // mindsdb user
password : '' // mindsdb Password
}
const test = async () => {
const connect = await MindsDB.connect(connectData);
const getFiles = await MindsDB.getFiles();
const setQuery = await MindsDB.setQuery("SELECT * FROM example_db.demo_data.home_rentals LIMIT 10;");
console.log('=Get Account Status=>');
console.log(connect);
console.log('=Get Files=>');
console.log(getFiles);
console.log('=Set Files=>');
console.log(setQuery);
};
test();
MindsDB.connect(url)
Initialize connection to MindsDB server
params
returns Mindsdb User Info
MindsDB.disconnect()
Clear connection data
returns undefined
MindsDB.setQuery()
Send query
returns query response
FAQs
Official JavaScript SDK for MindsDB
The npm package mindsdb-js-sdk receives a total of 196 weekly downloads. As such, mindsdb-js-sdk popularity was classified as not popular.
We found that mindsdb-js-sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.