Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@accounts/database-manager

Package Overview
Dependencies
Maintainers
6
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@accounts/database-manager - npm Package Compare versions

Comparing version 0.28.0-alpha.0 to 0.28.0-alpha.1

10

package.json
{
"name": "@accounts/database-manager",
"version": "0.28.0-alpha.0",
"version": "0.28.0-alpha.1",
"description": "Accounts Database Manager, allow the use of separate databases for session and user",

@@ -38,4 +38,4 @@ "main": "lib/index.js",

"devDependencies": {
"@types/jest": "25.2.1",
"@types/node": "14.0.13",
"@types/jest": "25.2.3",
"@types/node": "14.0.14",
"jest": "26.0.1",

@@ -45,6 +45,6 @@ "rimraf": "3.0.2"

"dependencies": {
"@accounts/types": "^0.28.0-alpha.0",
"@accounts/types": "^0.28.0-alpha.1",
"tslib": "2.0.0"
},
"gitHead": "9d3a051504a7c8a1698fd3c9cd8b1dbb11fcd906"
"gitHead": "cdeb32e488cefb4042cf1fe092d92ea73a87c64f"
}
# @accounts/database-manager
## Install
[![npm](https://img.shields.io/npm/v/@accounts/database-manager)](https://www.npmjs.com/package/@accounts/database-manager)
[![npm downloads](https://img.shields.io/npm/dm/@accounts/database-manager)](https://www.npmjs.com/package/@accounts/database-manager)
[![codecov](https://img.shields.io/codecov/c/github/accounts-js/accounts)](https://codecov.io/gh/accounts-js/accounts)
[![License](https://img.shields.io/github/license/accounts-js/accounts)](https://github.com/accounts-js/accounts/blob/master/LICENSE)
## Documentation
- [API documentation](https://www.accountsjs.com/docs/api/database-manager/globals)
## Installation
```

@@ -9,14 +18,4 @@ yarn add @accounts/database-manager

## Usage
## Contributing
```javascript
import { AccountsServer } from '@accounts/server';
import { DatabaseManager } from '@accounts/database-manager';
const accountsDb = new DatabaseManager({
userStorage: // Your user storage db
sessionStorage: // Your session storage db
});
const accountsServer = new AccountsServer({ db: accountsDb });
```
Any contribution is very welcome, read our [contributing guide](https://github.com/accounts-js/accounts/blob/master/CONTRIBUTING.md) to see how to locally setup the repository and see our development process.
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