# foundationdb-uniquename

> A simple module to store and manage a list of unique names associated with entities (such as usernames on a web site)

Latest version **0.1.5** (published 2015-02-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install foundationdb-uniquename
pnpm add foundationdb-uniquename
yarn add foundationdb-uniquename
bun add foundationdb-uniquename
```

## 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.1.5 |
| Published | 2015-02-04 |
| First published | 2015-01-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Max Metral |
| Maintainers | mmetral |
| Keywords | foundationdb, web, unique |

## Links

- npm: https://www.npmjs.com/package/foundationdb-uniquename
- Repository: https://github.com/djMax/foundationdb-uniquename
- Issues: https://github.com/djMax/foundationdb-uniquename/issues
- npm.io page: https://npm.io/package/foundationdb-uniquename

## Dependencies (4)

- [fdb](https://npm.io/package/fdb.md) ^3.0.3
- [debuglog](https://npm.io/package/debuglog.md) ^1.0.1
- [longjohn](https://npm.io/package/longjohn.md) ^0.2.4
- [buffer-equal](https://npm.io/package/buffer-equal.md) 0.0.1

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 0.1.5 (latest) — 2015-02-04
- 0.1.4 — 2015-02-04
- 0.1.3 — 2015-02-04
- 0.1.2 — 2015-01-21
- 0.1.1 — 2015-01-21
- 0.1.0 — 2015-01-14

## README

# foundationdb-uniquename
[![Build Status](https://travis-ci.org/djMax/foundationdb-uniquename.png)](https://travis-ci.org/djMax/foundationdb-uniquename)

A simple module to manage a set of unique names in FoundationDb. This can be useful for users choosing aliases on a
website, or unique phone numbers, etc.

```js
    var UniqueNames = require('foundationdb-uniquename');
    var usernames = new UniqueNames({
        directory: 'usernames'
    });
    usernames.takeName('djMax', 'user_id_or_guid_or_something', function (error, success) {
        // If success is true and error is null, this user now owns the name.
        assert(success, 'takeName should have worked');
    });

```

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