Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
cerebral-pouchdb
Advanced tools
A cerebral module for integrating the cerebral store with one or more pouch dbs
A cerebral module for integrating the cerebral store with one or more pouch dbs.
npm install cerebral-pouchdb
From your main.js
// import your cerebral controller
import controller from './controller';
// import pouchdb cerebral service
import pouchdb form 'cerebral-pouchdb';
// import you app modules
import home from './modules/home';
import notFound from './modules/notFound';
// init the modules
import controller from './controller';
import setupModules from 'cerebral-modules';
const chains = setupModules(controller, [
pouchdb({
localDb: 'myappdb',
remoteDb: 'http://localhost:3000/db/myappdb', // optional - syncs with remote db when provided
statePath: 'data', // optional - defaults to [ 'data' ]
documentTypes: ['user', 'invoice'] // optional - defaults to all document types
}),
home,
notFound
]);
Fork repo
npm install
npm run dev
runs dev mode which watches for changes and auto lints, tests and buildsnpm test
runs the testsnpm run lint
lints the codenpm run build
compiles es6 to es5FAQs
A cerebral module for integrating the cerebral store with one or more pouch dbs
The npm package cerebral-pouchdb receives a total of 0 weekly downloads. As such, cerebral-pouchdb popularity was classified as not popular.
We found that cerebral-pouchdb 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 researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.