1.0.0-rc7 • Published 3 years ago
poolrc v1.0.0-rc7
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
3 years ago
1.0.0-rc6
4 years ago
1.0.0-rc5
4 years ago
1.0.0-rc4
4 years ago
1.0.0-rc1
4 years ago
0.9.9-alpha7
5 years ago
0.9.9-alpha4
5 years ago
0.9.9-alpha2
5 years ago
0.9.9-alpha1
5 years ago
0.9.9-alpha
5 years ago
0.9.2-alpha
5 years ago
0.9.0-6alpha
5 years ago
0.9.0-4alpha
5 years ago
0.9.0-5alpha
5 years ago
0.9.0-3alpha
5 years ago
0.9.0-1alpha
5 years ago
0.9.0-alpha
5 years ago