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.
js-data-rethinkdb
Advanced tools
RethinkDB adapter for js-data.
To get started, visit http://js-data.io.
npm install --save js-data js-data-rethinkdb rethinkdbdash
.
// Use Container instead of DataStore on the server
import {Container} from 'js-data'
import RethinkDBAdapter from 'js-data-rethinkdb'
// Create a store to hold your Mappers
const store = new Container()
// Create an instance of RethinkDBAdapter with default settings
const adapter = new RethinkDBAdapter()
// Mappers in "store" will use the RethinkDB adapter by default
store.registerAdapter('rethinkdb', adapter, { default: true })
// Create a Mapper that maps to a "user" table
store.defineMapper('user')
async function findAllAdminUsers () {
// Find all users where "user.role" == "admin"
return await store.findAll('user', {
role: 'admin'
})
}
js-data-examples/server/rethinkdb
Get started at http://js-data.io
The MIT License (MIT)
Copyright (c) 2014-2016 js-data-rethinkdb project authors
3.0.0-alpha.13 - 17 March 2016
FAQs
RethinkDB adapter for js-data.
The npm package js-data-rethinkdb receives a total of 20 weekly downloads. As such, js-data-rethinkdb popularity was classified as not popular.
We found that js-data-rethinkdb demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.
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.