# saslmechanisms

> JavaScript framework for SASL authentication.

Latest version **0.1.1** (published 2012-12-28) · 0 weekly downloads

## Install

```sh
npm install saslmechanisms
pnpm add saslmechanisms
yarn add saslmechanisms
bun add saslmechanisms
```

## Health

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

Positive: has types package; no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2012-12-28 |
| First published | 2012-12-28 |
| Weekly downloads | 0 |
| TypeScript types | separate (@types/saslmechanisms) |
| Module format | CommonJS |
| Node | >= 0.4.0 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 11 |
| Author | Jared Hanson |
| Maintainers | jaredhanson |
| Keywords | sasl, auth, authn, authentication, security |

## Links

- npm: https://www.npmjs.com/package/saslmechanisms
- Repository: https://github.com/jaredhanson/js-sasl
- Issues: http://github.com/jaredhanson/js-sasl/issues
- npm.io page: https://npm.io/package/saslmechanisms

## Alternatives

- [@clerk/clerk-expo](https://npm.io/package/@clerk/clerk-expo.md) — 133.6K weekly downloads
- [@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

## Recent versions

- 0.1.1 (latest) — 2012-12-28
- 0.0.0 — 2012-12-28

## README

# SASL

This module is a JavaScript framework for SASL authentication and data security.
Mechanisms are pluggable, allowing a server and client to negotiate supported
mechanisms when performing authentication in connection-oriented protocols.

## Install

##### volo

    $ volo add jaredhanson/js-sasl sasl

For more information on using volo to manage JavaScript modules, visit [http://volojs.org/](http://volojs.org/).

## Usage

Create a SASL mechanism factory.

```javascript
var factory = new sasl.Factory();
```

Register supported SASL mechanisms.

```
factory.use(require('sasl-plain'));
```

## Mechanisms

|Mechanism                                              |Developer                                       |
|-------------------------------------------------------|------------------------------------------------|
|[PLAIN](https://github.com/jaredhanson/js-sasl-plain)  |[Jared Hanson](https://github.com/jaredhanson)  |

## Tests

##### Browser

To run tests in a browser, execute the Make target for the desired browser:

    $ make test-chrome
    $ make test-firefox
    $ make test-safari

##### PhantomJS

To run headless tests from a terminal using [PhantomJS](http://phantomjs.org/):

    $ make test-phantomjs

##### Node

To run tests in Node:

    $ make test-node
    
##### Status

[![Travis CI](https://secure.travis-ci.org/jaredhanson/js-sasl.png)](http://travis-ci.org/jaredhanson/js-sasl)

## Credits

  - [Jared Hanson](http://github.com/jaredhanson)

## License

[The MIT License](http://opensource.org/licenses/MIT)

Copyright (c) 2012 Jared Hanson <[http://jaredhanson.net/](http://jaredhanson.net/)>

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