{"_id":"tomas","_rev":"13-8de3250d1fb147fe0ff6812b14fc8c8e","name":"tomas","description":"save data to storage and read from it to speed up computing","dist-tags":{"latest":"2.0.3"},"versions":{"1.0.0":{"name":"tomas","version":"1.0.0","description":"save data to storage and read from it to speed up computing","main":"lib/tomas.js","dependencies":{"checkup":"~1.0.2","execon":"~1.0.1","ischanged":"~1.0.7","mkdirp":"~0.5.0"},"devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/coderaiser/node-tomas"},"keywords":["storage","cache"],"author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"http://coderaiser.github.io/"},"license":"MIT","bugs":{"url":"https://github.com/coderaiser/node-tomas/issues"},"engines":{"node":">=0.8"},"gitHead":"8f9bbcef26eff88867b814bbd4185afddd55ce6a","_id":"tomas@1.0.0","_shasum":"73ab12fc482a52e529e39224df0f16f7efacc2c9","_from":".","_npmVersion":"2.0.0","_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"dist":{"shasum":"73ab12fc482a52e529e39224df0f16f7efacc2c9","tarball":"https://registry.npmjs.org/tomas/-/tomas-1.0.0.tgz","integrity":"sha512-7Pq4RCiXTKEwJKUfwtQLi8u7vganp0M90GhP8kjYw2NclGe5iJywvMWVO5+8qYVsuC+nlZ6pJ98L/pnEEjXYSA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDLJBsxzt2DjkKekKWAopm/CXND0PCRMtw2kPt90YGOQAiEArIx7R9wBv8vHYlI4PohI+l2re3v+82MowYifj7mWQss="}]},"directories":{}},"1.0.1":{"name":"tomas","version":"1.0.1","description":"save data to storage and read from it to speed up computing","main":"lib/tomas.js","dependencies":{"checkup":"~1.0.2","execon":"~1.1.0","ischanged":"~1.0.7","mkdirp":"~0.5.0"},"devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/coderaiser/node-tomas"},"keywords":["storage","cache"],"author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"http://coderaiser.github.io/"},"license":"MIT","bugs":{"url":"https://github.com/coderaiser/node-tomas/issues"},"engines":{"node":">=0.8"},"gitHead":"18e53e1340e30c1399013ac966f108fdc75492c5","homepage":"https://github.com/coderaiser/node-tomas","_id":"tomas@1.0.1","_shasum":"d9daddca4434d6214dc25b6ef29d33539d3717f1","_from":".","_npmVersion":"2.0.0","_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"dist":{"shasum":"d9daddca4434d6214dc25b6ef29d33539d3717f1","tarball":"https://registry.npmjs.org/tomas/-/tomas-1.0.1.tgz","integrity":"sha512-LkReb0NAGQ9VetVXcE5d1zsWJKUfhAdPI3GO9Fmt7imTEmxD1fACYeipBeqmFOIPRUHMaQuDBWoQq9XmdF0ANg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD11VMCo9R7UQsPQsbgO4DcJRuBZXq4lNtGcyJqogQ+eQIhAOw9jGsZR3AQNRcWnC97yrl+F1nlEAkZbw5P3fEJWY11"}]},"directories":{}},"1.0.2":{"name":"tomas","version":"1.0.2","description":"save data to storage and read from it to speed up computing","main":"lib/tomas.js","dependencies":{"checkup":"~1.3.0","execon":"~1.2.0","ischanged":"~1.0.7","mkdirp":"~0.5.0"},"devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/coderaiser/node-tomas.git"},"keywords":["storage","cache"],"author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"http://coderaiser.github.io/"},"license":"MIT","bugs":{"url":"https://github.com/coderaiser/node-tomas/issues"},"engines":{"node":">=0.8"},"gitHead":"ad69a977f788c6a664ca37487677abb42b7db089","homepage":"https://github.com/coderaiser/node-tomas#readme","_id":"tomas@1.0.2","_shasum":"d1e47fcc17e616977b859ef1ffe497bb9dd3cf69","_from":".","_npmVersion":"2.11.0","_nodeVersion":"2.2.1","_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"dist":{"shasum":"d1e47fcc17e616977b859ef1ffe497bb9dd3cf69","tarball":"https://registry.npmjs.org/tomas/-/tomas-1.0.2.tgz","integrity":"sha512-fv/zuN1a2oM37KsSqQ/oXVxErbV426pNwIw6/LlQD3eOtSyKyfKNtfQK+vA4Hnl9YVx+nX/4i67/xHV1JM8G1A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA3oQFkDdmFhw93YKqzFGzl3CaS2Y2Jvya2vnTckmTO8AiEArP+Vof8Wydm7n5pWr8GrRgPVWAeYIZrhvWbbExCz5Wo="}]},"directories":{}},"2.0.0":{"name":"tomas","version":"2.0.0","description":"save data to storage and read from it to speed up computing","main":"lib/tomas.js","dependencies":{"checkup":"~1.3.0","execon":"~1.2.0","ischanged":"~1.0.7","mkdirp":"~0.5.0"},"devDependencies":{},"scripts":{"lint":"eslint lib"},"repository":{"type":"git","url":"git+https://github.com/coderaiser/node-tomas.git"},"keywords":["storage","cache"],"author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"http://coderaiser.github.io/"},"license":"MIT","bugs":{"url":"https://github.com/coderaiser/node-tomas/issues"},"engines":{"node":">=4"},"gitHead":"1c867614c8f651029bd95608c41a822b6bda2433","homepage":"https://github.com/coderaiser/node-tomas#readme","_id":"tomas@2.0.0","_npmVersion":"5.4.2","_nodeVersion":"8.6.0","_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"dist":{"integrity":"sha512-TSjaea2Lq4jCDFyLiytqV2EiJJP/l0hP/j//g0AzsSVjxPYPVsFoZ9YlNwNqCW4V34M7ZKefGr0QLJvH1/zEQg==","shasum":"0c13e46838e0e47b1159f8b434cc89f24f567098","tarball":"https://registry.npmjs.org/tomas/-/tomas-2.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDuoylmFl9Ugfi2WbKgdU6+VL+noRZvG4TPSJDyFQFswgIhAOFtBvrFFeYGYvHs/VedAEP7BAbwHfQs+4JcSc3wFqw/"}]},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tomas-2.0.0.tgz_1507540941008_0.19240257190540433"},"directories":{}},"2.0.1":{"name":"tomas","version":"2.0.1","description":"save data to storage and read from it to speed up computing","main":"lib/tomas.js","dependencies":{"checkup":"~1.3.0","execon":"~1.2.0","ischanged":"~1.0.7","mkdirp":"~0.5.0"},"devDependencies":{},"scripts":{"lint":"eslint lib"},"repository":{"type":"git","url":"git+https://github.com/coderaiser/node-tomas.git"},"keywords":["storage","cache"],"author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"http://coderaiser.github.io/"},"license":"MIT","bugs":{"url":"https://github.com/coderaiser/node-tomas/issues"},"engines":{"node":">=4"},"gitHead":"63b79e95cd54222dab5e241ca8c5a586a730dd06","homepage":"https://github.com/coderaiser/node-tomas#readme","_id":"tomas@2.0.1","_npmVersion":"5.4.2","_nodeVersion":"8.6.0","_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"dist":{"integrity":"sha512-nvUy9ttTAvHhbacKzje4CPhkhkiTWG8LmNk89T6m3oL4AT8FYJQ4l0DgJDNrjxktcs2Uz0nSQW9Ix1tpBlLa5w==","shasum":"0ab9fc199d72c6fa3fb25a174ca9c51d63f68703","tarball":"https://registry.npmjs.org/tomas/-/tomas-2.0.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCUZLDFvQg91OKEseU1Zwm6alec6cjpa2jHk3D+gxdJBgIgQy28AGMiCBUM/AnJUxI8JanJW4QCMp79mvFrey1V5sA="}]},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tomas-2.0.1.tgz_1507542429998_0.8829489881172776"},"directories":{}},"2.0.2":{"name":"tomas","version":"2.0.2","description":"save data to storage and read from it to speed up computing","main":"lib/tomas.js","dependencies":{"checkup":"~1.3.0","execon":"~1.2.0","ischanged":"~1.0.7","mkdirp":"~0.5.0"},"devDependencies":{},"scripts":{"lint":"eslint lib"},"repository":{"type":"git","url":"git+https://github.com/coderaiser/node-tomas.git"},"keywords":["storage","cache"],"author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"http://coderaiser.github.io/"},"license":"MIT","bugs":{"url":"https://github.com/coderaiser/node-tomas/issues"},"engines":{"node":">=4"},"gitHead":"12e0f04d96472f95276968c248c7607d66c7b53e","homepage":"https://github.com/coderaiser/node-tomas#readme","_id":"tomas@2.0.2","_npmVersion":"5.4.2","_nodeVersion":"8.6.0","_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"dist":{"integrity":"sha512-IqPlPO4ldadauio6iBEHhgOGWzrddtj4PxvVQT9xnjk8w1AQWzCMeWRYcl1oO7DDOecm3pGxjCRQEQfJwiIAgA==","shasum":"4409d3d39e26b87b22ecb23b7280a84ff6b46759","tarball":"https://registry.npmjs.org/tomas/-/tomas-2.0.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDocK0kQYhZeXpzA/oH/t6vASH8x29EBTlcJCNCe3l6rgIgKHAgEOs0KinpnqPSWQVIX+oqNr93LuUAONtbbvNZ9lQ="}]},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tomas-2.0.2.tgz_1507547745845_0.9796582467388362"},"directories":{}},"2.0.3":{"name":"tomas","version":"2.0.3","description":"save data to storage and read from it to speed up computing","main":"lib/tomas.js","dependencies":{"checkup":"^1.3.0","execon":"^1.2.0","ischanged":"^2.0.0","mkdirp":"^0.5.0"},"devDependencies":{"eslint":"^4.19.1","eslint-plugin-node":"^6.0.1"},"scripts":{"lint":"eslint lib"},"repository":{"type":"git","url":"git+https://github.com/coderaiser/node-tomas.git"},"keywords":["storage","cache"],"author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"http://coderaiser.github.io/"},"license":"MIT","bugs":{"url":"https://github.com/coderaiser/node-tomas/issues"},"engines":{"node":">=4"},"gitHead":"62012fcdd432ccea9214969e8ca678baadbe32a0","homepage":"https://github.com/coderaiser/node-tomas#readme","_id":"tomas@2.0.3","_npmVersion":"6.1.0","_nodeVersion":"10.4.1","_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"dist":{"integrity":"sha512-U6GIvj4kcfl81hK10OI5UVuH/vE3zqpJxhRf3BnXFpw+DKqy5NTtuGU7/smgKxJVaDuRi7Yz/RePmHCaF9MgrQ==","shasum":"0358a49e36e9911f21fded6b3710ae4626c2e2b7","tarball":"https://registry.npmjs.org/tomas/-/tomas-2.0.3.tgz","fileCount":7,"unpackedSize":6897,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbInHWCRA9TVsSAnZWagAAc0EQAIONN8pwOOfphO4uJJ5r\n4PWa+RM7woyK4VNf4cvL66JAt5dnrDzMNYYE1zvs8Y40oFuOuWuHI+ltGUiw\nqy/eQZZzelUw+j3Tff0jEJEKKjiKPo5U+ENGB5PCo41I8fkvJu3bi0DbNhq9\naBReUHw0CtNYsaGHb53J4bMmcejGxRxxK7lqylidZj5nAb3JLpbEruasU7O0\nVY1GtlrcB+evFs0hOfR2tLXEMl9rXCxoD7blj77Wjcgz4GqqTO8EHX/PnC7z\nrnOgVKA3BEhS9QvZ0bLdQ1jIvYc6dmJORDkucSF9+R8o+GXlL62V1mVlsADp\ndg7J1SmhE6oCFgSrckEHfBivwOs1q2oSd819n6Fn4GPws7XXmjWIJz12ocA9\nI95OLUg5Dbmw3dPKsOO5sSdpVOb3rWJn4uJk6oFgapWOynhEPs8PlNoAt3t+\nNQVsZnyH1CtgiptR+UwzLfUmfjzAtldCboQwF6Kffux0xMriKl8UF+vi8B7o\nYJb4ijIaKrBjKNsz1QfNIzRV7BUtFKNx6S7ONC1aEGKwiOxzIPcA01HAVfAq\nRdetG7E4piCyg4vTIc6pM0YuEeP5KFBFm10xzQpgtyQ7BsI66kda6Lr6Obwo\nhDYbOtwfQKODo+88gK8kSSLQSf8fwLLVpAwHDE9cR/hjNBQSVpGhR3q1Udfx\n8cjK\r\n=cIxJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCoGReemJlZPASl0fHHqn36GsBmR49EUq/51gftiY+WJgIhAJne6hqcj77+Alnrko05jlqS6kh3UzawscfkIqVZWEVm"}]},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tomas_2.0.3_1528984021746_0.22335584285734167"},"_hasShrinkwrap":false}},"readme":"# Tomas [![License][LicenseIMGURL]][LicenseURL] [![Dependency Status][DependencyStatusIMGURL]][DependencyStatusURL] [![Build Status][BuildStatusIMGURL]][BuildStatusURL] [![NPM version][NPMIMGURL]][NPMURL]\n\nSave data to storage and read from it to speed up computing.\n\n## Install\n\n```\nnpm i tomas --save\n```\n## How to use?\n\n```js\nconst fs = require('fs'),\nconst tomas = require('tomas'),\nconst path = './package.json',\nconst log = (error, data, str) => {\n     if (error)\n            console.error(error.message);\n        else\n            console.log(str, data);\n\n    return error;\n};\n\ntomas.check(path, (is) => {\n    if (is)\n        return tomas.read(name, (error, data) => {\n           log(error, data, 'tomas read:\\n');\n        });\n    \n    fs.readFile(name, 'utf8', (error, data) => {\n        if (!log(error))\n            tomas.write(name, data, (error) => {\n                log(error, data, 'tomas written:\\n');\n            });\n    });\n});\n```\n\n## License\n\nMIT\n\n[NPMIMGURL]:                https://img.shields.io/npm/v/tomas.svg?style=flat\n[BuildStatusIMGURL]:        https://img.shields.io/travis/coderaiser/node-tomas/master.svg?style=flat\n[DependencyStatusIMGURL]:   https://img.shields.io/david/coderaiser/node-tomas.svg?style=flat\n[LicenseIMGURL]:            https://img.shields.io/badge/license-MIT-317BF9.svg?style=flat\n[NPM_INFO_IMG]:             https://nodei.co/npm/tomas.png?stars\n[NPMURL]:                   http://npmjs.org/package/tomas\n[LicenseURL]:               https://tldrlegal.com/license/mit-license \"MIT License\"\n[BuildStatusURL]:           http://travis-ci.org/coderaiser/node-tomas  \"Build Status\"\n[DependencyStatusURL]:      https://david-dm.org/coderaiser/node-tomas \"Dependency Status\"\n\n","maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"time":{"modified":"2022-06-27T18:11:44.199Z","created":"2014-12-02T16:02:56.467Z","1.0.0":"2014-12-02T16:02:56.467Z","1.0.1":"2015-01-15T16:03:40.647Z","1.0.2":"2015-06-09T09:40:19.249Z","2.0.0":"2017-10-09T09:22:21.984Z","2.0.1":"2017-10-09T09:47:11.050Z","2.0.2":"2017-10-09T11:15:46.882Z","2.0.3":"2018-06-14T13:47:01.802Z"},"keywords":["storage","cache"],"repository":{"type":"git","url":"git+https://github.com/coderaiser/node-tomas.git"},"author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"http://coderaiser.github.io/"},"bugs":{"url":"https://github.com/coderaiser/node-tomas/issues"},"license":"MIT","readmeFilename":"README.md","homepage":"https://github.com/coderaiser/node-tomas#readme","users":{"coderaiser":true}}