poolrc

1.0.0-rc7 • Public • Published

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);

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.0-rc70latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.0-rc70
1.0.0-rc60
1.0.0-rc50
1.0.0-rc40
1.0.0-rc10
0.9.9-alpha70
0.9.9-alpha40
0.9.9-alpha20
0.9.9-alpha10
0.9.9-alpha0
0.9.2-alpha0
0.9.0-6alpha0
0.9.0-5alpha0
0.9.0-4alpha0
0.9.0-3alpha0
0.9.0-1alpha0
0.9.0-alpha0

Package Sidebar

Install

npm i poolrc

Weekly Downloads

0

Version

1.0.0-rc7

License

GPL-3.0-or-later

Unpacked Size

18.4 kB

Total Files

5

Last publish

Collaborators

  • soldy