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.
28.io-angularjs
Advanced tools
28.io-angularjs is an officially supported AngularJS binding for 28.io. 28.io is a query processing platform that allows you to write complex queries accross multiple data sources - relational databases; document stores, data warehouses and even web services.
We also have tutorials and an REST API reference.
Join our 28.io Support Group to ask questions and provide feedback.
Via Bower
$ bower install 28.io-angularjs --save
http://28msec.github.io/28.io-angularjs/3.1.0/
angular.module('myApp', ['auth.api.28.io', 'queries.api.28.io'])
.controller('AppCtrl', function($scope, $cacheFactory, Auth, Queries){
var projectName = 'myproject';
var auth = new Auth('http://portal.28.io', $cacheFactory('Auth'));
var queries = new Queries('http://' + projectName + '.28.io/v1', $cacheFactory('Queries'));
auth.authenticate({ grant_type: 'client_credentials', email: $scope.login, password: $scope.password })
.then(function(tokens){
var projectToken = tokens.project_tokens['project_' + projectName];
queries.listQueries({ visibility: 'public', token: projectToken })
.then(function(publicQueries){
$scope.publicQueries = publicQueries;
})
.catch(function(error){
alert('Server replied: ' + error.description);
});
})
.catch(function(error) {
alert('Server replied: ' + error.description);
});
});
If you'd like to hack on 28.io-angularjs itself, you'll need node.js, and Bower:
npm install && bower install
Use grunt to build and test the code:
# Default task - build source and then runs unit tests
grunt
##License
Apache 2
FAQs
AngularJS bindings for 28.io.
The npm package 28.io-angularjs receives a total of 0 weekly downloads. As such, 28.io-angularjs popularity was classified as not popular.
We found that 28.io-angularjs 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.