# djs-collection-persistent

> Collections stored in persistent database.

Latest version **0.1.5** (published 2017-11-02) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install djs-collection-persistent
pnpm add djs-collection-persistent
yarn add djs-collection-persistent
bun add djs-collection-persistent
```

## 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 | 2017-11-02 |
| First published | 2017-06-10 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Evelyne Lachance |
| Maintainers | eslachance |
| Keywords | node, nodejs, javascript, helpers |

## Links

- npm: https://www.npmjs.com/package/djs-collection-persistent
- Repository: https://github.com/eslachance/djs-collection-persistent
- Homepage: https://github.com/eslachance/djs-collection-persistent#readme
- Issues: https://github.com/eslachance/djs-collection-persistent/issues
- npm.io page: https://npm.io/package/djs-collection-persistent

## Dependencies (2)

- [level](https://npm.io/package/level.md) ^1.7.0
- [djs-collection](https://npm.io/package/djs-collection.md) 0.0.5

## Alternatives

- [@expo/fingerprint](https://npm.io/package/@expo/fingerprint.md) — 6.2M weekly downloads
- [@azure/monitor-opentelemetry-exporter](https://npm.io/package/@azure/monitor-opentelemetry-exporter.md) — 850.0K weekly downloads
- [@azure/monitor-opentelemetry](https://npm.io/package/@azure/monitor-opentelemetry.md) — 624.0K weekly downloads
- [@posthog/ai](https://npm.io/package/@posthog/ai.md) — 423.3K weekly downloads
- [fakefilter](https://npm.io/package/fakefilter.md) — 63.9K weekly downloads

## Recent versions

- 0.1.5 (latest) — 2017-11-02
- 0.1.4 — 2017-09-05
- 0.1.3 — 2017-06-16
- 0.1.2 — 2017-06-16
- 0.1.1 — 2017-06-11
- 0.1.0 — 2017-06-11
- 0.0.7 — 2017-06-11
- 0.0.6 — 2017-06-11
- 0.0.5 — 2017-06-10
- 0.0.3 — 2017-06-10
- 0.0.2 — 2017-06-10
- 0.0.1 — 2017-06-10

## README

# Discord.js Collections made Persistent

***__THIS REPOSITORY IS NOW OBSOLETE AND WILL NO LONGER BE UPDATED__***

## Moving to Enmap

`djs-collection-persistent` and `djs-collection` have been merged into a more efficient system that's been renamed *Enmap*.

To get enmap, see [The NPMJS Page](https://www.npmjs.com/package/enmap). 

Updating requires no migration, only a change in code: 

```
// OLD CODE

const PersistentCollection = require("djs-collection-persistent");
const myCollection = new PersistentCollection({name: 'myCollection'});

// NEW CODE

const Enmap = require('enmap');
const EnmapLevel = require('enmap-level');
const myCollection = new Enmap({ provider: new EnmapLevel({ name: 'myCollection' }); });
```

Note that persistence requires a *Provider*. If you're using `djs-collection-persistent` you'll need to install both `enmap` and `enmap-level` to migrate. No data will be lost.

## Support

For support join [〈evie.codes〉](https://discord.gg/PhT8scR) and talk to me, 〈evie.codes〉!

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