1.0.0-rc7 • Published 2 years ago

poolrc v1.0.0-rc7

Weekly downloads
16
License
GPL-3.0-or-later
Repository
github
Last release
2 years ago

poolrc

The poolrc is a data pooling tool for science projects

init

const poolManager = new (require('poolrc')).base()

add data to the pool

let response = poolManager.add(
    data
);

// response {string} generated id

add data to the pool with set

let response = poolManager.set(
    name,
    data
);

// response {bool}

get data from the pool

let response = poolManager.get({
    name
});

// response {any}

edit data in the pool

let response = poolManager.edit(
    name,
    data
);

// response {bool} - faild if the set not exist

check data exist the pool

poolManager.check({
    name
});

get all data from the pool

poolManager.all();

full data export from the pool

poolManager.full();

// object 

check exist

let response = poolManager.check(
    name
);

// boolean

delete data from the pool

poolManager.del(
    name
);

drop all data from the pool

let response = poolManager.drop();

// bool true

empty check

let response = poolManager.empty();

// boolean

size of the pool

let response = poolManager.size();

// respone integer

save full data backup

poolManager.save(file_name);

load full data backup

poolManager.load(file_name);
1.0.0-rc7

2 years ago

1.0.0-rc6

3 years ago

1.0.0-rc5

3 years ago

1.0.0-rc4

3 years ago

1.0.0-rc1

3 years ago

0.9.9-alpha7

3 years ago

0.9.9-alpha4

4 years ago

0.9.9-alpha2

4 years ago

0.9.9-alpha1

4 years ago

0.9.9-alpha

4 years ago

0.9.2-alpha

4 years ago

0.9.0-6alpha

4 years ago

0.9.0-4alpha

4 years ago

0.9.0-5alpha

4 years ago

0.9.0-3alpha

4 years ago

0.9.0-1alpha

4 years ago

0.9.0-alpha

4 years ago