# login-sdk

> A microservice that can be used by other applications to perform all Login operations for MongoDB.

Latest version **0.0.7** (published 2019-09-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install login-sdk
pnpm add login-sdk
yarn add login-sdk
bun add login-sdk
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.7 |
| Published | 2019-09-09 |
| First published | 2018-11-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=8.9.0 |
| Dependencies | 8 |
| Unpacked size | 9.9 KB |
| Known vulnerabilities | 0 (+4 in 2 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Akshay Misal |
| Maintainers | akshay2218 |
| Keywords | authenticate, changePassword, forgotPassword, updatePassword |

## Links

- npm: https://www.npmjs.com/package/login-sdk
- Repository: https://github.com/akshay2218/login-sdk
- Homepage: https://github.com/akshay2218/login-sdk#readme
- Issues: https://github.com/akshay2218/login-sdk/issues
- npm.io page: https://npm.io/package/login-sdk

## Dependencies (8)

- [q](https://npm.io/package/q.md) ^1.5.1
- [chai](https://npm.io/package/chai.md) ^4.1.2
- [mongodb](https://npm.io/package/mongodb.md) ^2.0
- [tinyurl](https://npm.io/package/tinyurl.md) ^1.1.2
- [bcryptjs](https://npm.io/package/bcryptjs.md) ^2.4.3
- [crud-sdk](https://npm.io/package/crud-sdk.md) ^1.0.3
- [mongoskin](https://npm.io/package/mongoskin.md) ^2.0.3
- [jsonwebtoken](https://npm.io/package/jsonwebtoken.md) ^8.4.0

## Alternatives

- [@pothos/plugin-authz](https://npm.io/package/@pothos/plugin-authz.md) — 12.4K weekly downloads
- [@bounded-sh/client](https://npm.io/package/@bounded-sh/client.md) — 3.2K weekly downloads
- [@luigi-project/plugin-auth-oauth2](https://npm.io/package/@luigi-project/plugin-auth-oauth2.md) — 2.3K weekly downloads
- [@nocobase/plugin-verification](https://npm.io/package/@nocobase/plugin-verification.md) — 2.0K weekly downloads
- [escher-request](https://npm.io/package/escher-request.md) — 545 weekly downloads

## Recent versions

- 0.0.7 (latest) — 2019-09-09
- 0.0.6 — 2019-09-09
- 0.0.5 — 2019-09-09
- 0.0.4 — 2019-09-09
- 0.0.3 — 2018-11-27
- 0.0.2 — 2018-11-26
- 0.0.1 — 2018-11-26

## README

# Login Service
A microservice that can be used by other applications to perform all login operations for MongoDB.

## SDK for developers
The login-sdk helps developers to perform authentication operations on MongoDB for any application.

## Deployment
The project is hosted on GitHub. 

### Prerequisites
Make sure you have Node.js 8.9.0 or higher installed. If not, install it.

```sh
# Check your node version using this command
node --version
```
```sh
# Access the SDK using below command within the project directory
npm install login-sdk

# To save and install the SDK in your application package.json use below command within the project directory.
npm install -S login-sdk
```

## How to use login-sdk
```sh
var login = require('login-sdk');

# Create (Store data in MongoDB)
login.authenticate(<mongodb-connection-string>, <db-name>, <collection-name>, {username},{password}, function (err, data) {
            if (err) // do something
});
```

---
_Source: https://npm.io/package/login-sdk · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
