# sessions

> NodeJS session management

Latest version **0.0.2-7** (published 2013-01-08) · 0 weekly downloads

## Install

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

## 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.2-7 |
| Published | 2013-01-08 |
| First published | 2012-02-02 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 0.4.0 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Diogo Resende |
| Maintainers | dresende |
| Keywords | session, cookie |

## Links

- npm: https://www.npmjs.com/package/sessions
- Repository: http://github.com/dresende/node-sessions
- npm.io page: https://npm.io/package/sessions

## 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.2-7 (latest) — 2013-01-08
- 0.0.2-6 — 2013-01-07
- 0.0.2-5 — 2012-12-27
- 0.0.2-4 — 2012-02-28
- 0.0.2-3 — 2012-02-27
- 0.0.2-2 — 2012-02-27
- 0.0.2-1 — 2012-02-07
- 0.0.2 — 2012-02-07
- 0.0.1 — 2012-02-02

## README

Sessions ![ Travis CI ](https://secure.travis-ci.org/dresende/node-sessions.png)
========

## About

Sessions is a session management module designed to help you manage user sessions.
It supports multiple stores to save your data and can be easly attached to an http
server.

## Installing

Install using NPM:

    npm install sessions

## Usage

    var http = require("http"),
        Sessions = require("sessions"),
        sessionHandler = new Sessions(); // memory store by default
    
    http.createServer(function (req, res) {
        var session = sessionHandler.httpRequest(req, res);
        // check session for possible methods
    });

This is not only for http requests, check examples to see a simple example for
any type of session usage.

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