Socket
Socket
Sign inDemoInstall

roboflow

Package Overview
Dependencies
Maintainers
8
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

roboflow - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

6

config.js

@@ -11,3 +11,7 @@ const Conf = require("conf");

RF_APP_URL: "https://app.roboflow.com",
RF_API_URL: "https://api.roboflow.com"
RF_API_URL: "https://api.roboflow.com",
RF_OBJECT_DETECTION_URL: "https://detect.roboflow.com",
RF_CLASSIFICATION_URL: "https://classify.roboflow.com",
RF_INSTANCE_SEGMENTATION_URL: "https://outline.roboflow.com",
RF_SEMANTIC_SEGMENTATION_URL: "https://segment.roboflow.com"
};

@@ -14,0 +18,0 @@

2

package.json
{
"name": "roboflow",
"version": "0.0.6",
"version": "0.0.7",
"description": "Roboflow.ai node module and CLI tools",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -6,27 +6,4 @@ # Roboflow node library

**This project is under active development, use at your own risk**
## Node Module
The node module is currently a very basic wrapper around roboflow API endpoints.
You can use it like so:
```
const roboflow = require("roboflow");
const workspaceInfo = roboflow.getWorkspace(workspaceUrl, apiKey);
```
It currently includes the following functions, which are implemented in [api.js](api.js):
- `getWorkspace(workspaceUrl, apiKey)`
- `getProject(workspaceUrl, projectUrl, apiKey)`
- `getVersion(workspaceUrl, projectUrl, version, apiKey)`
- `getFormat(workspaceUrl, projectUrl, version, format, apiKey)`
- `uploadImage(filepath, projectUrl, apiKey, options)`
- `detectObject(filepath, modelUrl, apiKey, options)`
- `classify(filepath, modelUrl, apiKey)`
- `instanceSegmentation(filepath, modelUrl, apiKey)`
- `semanticSegmentation(filepath, modelUrl, apiKey)`
## CLI tool

@@ -33,0 +10,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc