Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
rapp-platform-api
Advanced tools
Containes RAPPCloud API modules used for interfering wth RAPP Platform as well as the RAPP Objects.
Containes RAPPCloud API modules used for interfering wth RAPP Platform as well as the RAPP Objects.
You can distribute robotic applications you make using this API through this Robot Apps Store
To use this JS API you need nodejs and npm. You can run the global_deps_install_script.sh located in the root folder to install them along with grunt-cli and mocha which are the global dependencies the API needs for task management and testing.
The rest dependencies (required npm modules), will be taken care of, from npm, while you install the rapp-platform-api package.
Installing the rapp-platform-api is as easy as
npm install rapp-platform-api
To install it globally:
npm install rapp-platform-api -g
If you also want to install the developer depencdencies, go to the root folder of the project and execute:
npm install
The examples located in the examples directory showcase how you may use the RAPPCloud services for your convenience. Provided you have succesfully installed the API in your system, you can require the service(s) that you want to use in your application, after requiring the RAPPCloud module as shown in the examples:
var RAPPCloud = require('rapp-platform-api/lib/cloud/RAPPCloud');
RAPPCloud.qr_detection = require('rapp-platform-api/lib/cloud/qr_detection');
RAPPCloud.face_detection = require('rapp-platform-api/lib/cloud/face_detection');
var services = new RAPPCloud();
services.qr_detection('../../testdata/qrcode.png', 'png', handler);
services.face_detection('../../testdata/faces.png', 'png', handler);
For the RAPP platform API objects you would have to point as well, to the respective directory in order to require them:
var RAPPObjects = require('rapp-platform-api/lib/objects/RAPPObject');
RAPPObject.face = require('rapp-platform-api/lib/objects/face');
var objects = new RAPPObject();
For the following to run you will also need to install the developer dependencies (check installation section).
In the test directory unit tests for all the services and objects can be found. In order to run them while on root directory type:
npm test
The source files for the examples are under the examples folder located in the root of the JS Rapp Platform API.
You can run them individually, or use them as templates.
For a complete list of all RAPP JS API Cloud services and Objects along with their documentation see here.
You might as well want to genetate documentation automatically from the comments of the code. For the following to run you will also need to install the developer dependencies (check installation section).
This package's source-code is documented using the JSDoc javascript documentation generator.
Generate documentation for the RAPP API Cloud Services only:
npm run doc-cloud
Generate documentation for the RAPP API Objects only:
npm run doc-objects
Gererate documentation for ALL:
npm run doc
Or
grunt jsdoc
Generated doc files are located under the doc/ directory.
If you run into any bugs or issues, please report them on github. Alternatively, hit us up on Gitter:
FAQs
Containes RAPPCloud API modules used for interfering wth RAPP Platform as well as the RAPP Objects.
The npm package rapp-platform-api receives a total of 11 weekly downloads. As such, rapp-platform-api popularity was classified as not popular.
We found that rapp-platform-api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.