0.1.5 • Published 7 years ago

djs-collection-persistent v0.1.5

Weekly downloads
42
License
Apache-2.0
Repository
github
Last release
7 years ago

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.

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〉 and talk to me, 〈evie.codes〉!

0.1.5

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago