{"_id":"client-transac-redline","_rev":"30-951ea8d73b83642cd810fe18aa91d744","name":"client-transac-redline","description":"Node.js client for transac-redline","dist-tags":{"latest":"0.0.5"},"versions":{"0.0.0":{"name":"client-transac-redline","version":"0.0.0","description":"Node.js client for transac-redline","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/redpelicans/client-transac-redline.git"},"keywords":["transac","log","production"],"author":{"name":"ebasley@gmail.com","email":"Eric BASLEY"},"license":"Apache","bugs":{"url":"https://github.com/redpelicans/client-transac-redline/issues"},"homepage":"https://github.com/redpelicans/client-transac-redline","_id":"client-transac-redline@0.0.0","dist":{"shasum":"783e158069c8a7da076078b7df04ae98b238dcc6","tarball":"https://registry.npmjs.org/client-transac-redline/-/client-transac-redline-0.0.0.tgz","integrity":"sha512-q0e5j6zorldgm/lBv9NnySBgoeSzfer8UZ/HZbRDITdQ48AEHyRQLKjdrJKY8/opa5viwVcRK4iSCIDWb4kXQg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAZO3ewYZLxohBxt1KlE54dEALYPsweGD8H6q8Uw5fUBAiAo4G5Lg8DbFJ00HyIlYACs3SoQs3PrFr1awaUcf03fiw=="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"ebasley","email":"ebasley@gmail.com"},"maintainers":[{"name":"ebasley","email":"ebasley@gmail.com"}]},"0.0.2":{"name":"client-transac-redline","version":"0.0.2","description":"Node.js client for transac-redline","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/redpelicans/client-transac-redline.git"},"keywords":["transac","log","production"],"author":{"name":"ebasley@gmail.com","email":"Eric BASLEY"},"license":"Apache","bugs":{"url":"https://github.com/redpelicans/client-transac-redline/issues"},"homepage":"https://github.com/redpelicans/client-transac-redline","dependencies":{"request":"*","async":"*","underscore":"*"},"_id":"client-transac-redline@0.0.2","dist":{"shasum":"46f9a1777df50ae3ff12023cd65412318cfd4490","tarball":"https://registry.npmjs.org/client-transac-redline/-/client-transac-redline-0.0.2.tgz","integrity":"sha512-AUE3jIiRnaLUIUt9nfivG3mC5h3w6B1aVR/T3niWGMZQT0n/plGv8WFec8Q9WviJSocWUb1q3qwSY+ypGyt8JA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCcAbnO/O0WOzjpfFgcQOL+AUMy6hyFmGDq6sKe9YSVcgIhAKKUmZrLo7DAhJOJUVmFs0/IVy3erS4pgoXSCwl1z2E8"}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"ebasley","email":"ebasley@gmail.com"},"maintainers":[{"name":"ebasley","email":"ebasley@gmail.com"}]},"0.0.3":{"name":"client-transac-redline","version":"0.0.3","description":"Node.js client for transac-redline","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/redpelicans/client-transac-redline.git"},"keywords":["transac","log","production"],"author":{"name":"ebasley@gmail.com","email":"Eric BASLEY"},"license":"Apache","bugs":{"url":"https://github.com/redpelicans/client-transac-redline/issues"},"homepage":"https://github.com/redpelicans/client-transac-redline","dependencies":{"request":"*","async":"*","underscore":"*"},"_id":"client-transac-redline@0.0.3","dist":{"shasum":"b61fbcdc44b221453c24182bfd4425c853e085d3","tarball":"https://registry.npmjs.org/client-transac-redline/-/client-transac-redline-0.0.3.tgz","integrity":"sha512-x0xGdYKNieKHU7i0iKFUbE2rjtnNWP3OZ4MOVfsM2Z+ppCdcxt8bI96sDKpVKKJaM9pV16iaUVotCrRt+yFIbw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC6dkILvXusTCU0EjUfC9GuDR4Mun2zOaAp6TGCyxpp7AiB1TBZOA8JOU3PO5WzyW18QSN3ZCBNWUSPsNEDUk7wo+A=="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"ebasley","email":"ebasley@gmail.com"},"maintainers":[{"name":"ebasley","email":"ebasley@gmail.com"}]},"0.0.4":{"name":"client-transac-redline","version":"0.0.4","description":"Node.js client for transac-redline","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/redpelicans/client-transac-redline.git"},"keywords":["transac","log","production"],"author":{"name":"ebasley@gmail.com","email":"Eric BASLEY"},"license":"Apache","bugs":{"url":"https://github.com/redpelicans/client-transac-redline/issues"},"homepage":"https://github.com/redpelicans/client-transac-redline","dependencies":{"request":"*","async":"*","underscore":"*"},"_id":"client-transac-redline@0.0.4","dist":{"shasum":"6cbb8c2731c92caf09cbd2f978933306869df9f2","tarball":"https://registry.npmjs.org/client-transac-redline/-/client-transac-redline-0.0.4.tgz","integrity":"sha512-74VxzGuS6NtvX5K3xPm0w1VolrLPeu8nuumiTgoXH//+3bc5yHginUfYgfY88j9TlU4SLC99xSLqsK7EzIoctw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHSHH1Goujeb0XlmxQ+Q54ocqwAqPVJ10BdFcm2jevMQAiEA3Tu9NvbzusxzXSV6AtLMMwRtdDZz3NuiUXGMzb5eNp8="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"ebasley","email":"ebasley@gmail.com"},"maintainers":[{"name":"ebasley","email":"ebasley@gmail.com"}]},"0.0.5":{"name":"client-transac-redline","version":"0.0.5","description":"Node.js client for transac-redline","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/redpelicans/client-transac-redline.git"},"keywords":["transac","log","production"],"author":{"name":"ebasley@gmail.com","email":"Eric BASLEY"},"license":"Apache","bugs":{"url":"https://github.com/redpelicans/client-transac-redline/issues"},"homepage":"https://github.com/redpelicans/client-transac-redline","dependencies":{"request":"*","async":"*","underscore":"*"},"_id":"client-transac-redline@0.0.5","dist":{"shasum":"f700b61634fe8787383998a2e8c62ef2d2f373b8","tarball":"https://registry.npmjs.org/client-transac-redline/-/client-transac-redline-0.0.5.tgz","integrity":"sha512-YnUwBWw7eEy3l2U9N0Z0HEPaJC5OI5gt/VbS1dkwthDVjLxz4hhJY/7m2Vu7LlJ74ctfwIGWUwP+Ogv5hq729Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFga4p8Igf6XLtMclz+UrR00xzvKTXc36UN0ySSgunVQAiBpmEwlw4+BzzNfGDQzsGiQfH2t4UUlvqKbcSRecfe0wQ=="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"ebasley","email":"ebasley@gmail.com"},"maintainers":[{"name":"ebasley","email":"ebasley@gmail.com"}]}},"readme":"client-transac-redline\n======================\n\nNode.js client for [transac-redline](https://www.npmjs.org/package/transac-redline)\n\n\n### Usage\n\n```javascript \nnpm install client-transac-redline\n\nvar transac = require('client-transac-redline');\n\nfunction run(transac, cb){\n  loadingData(function(err, data){\n    if(err)return cb(err);\n    transac.info('Loading Data', data.length + ' data loaded');\n    cb();\n  });\n}\n\ntransac.exec('Building Indicators Data', 'http://localhost:3002', run, {locked: false});\n```\n\n### transac.exec(transacName, serverUrl, fct, [options, callback])\n\n* transacName {String} Transaction's label within the web interface\n* serverUrl {String} Connexion string to the transac-redline server\n* fct {Function} Code to be run by transaction.   \n  * transac {Transac} instance\n  * callback {Function} to end transaction processing. If it returns an error, or an exception is raised, transaction will be aborted else commited.\n* options:\n  * valueDate {Date} value date of the transaction: we may load today data computed yesterday\n  * locked {Boolean} if locked a transaction can only be run once per value date, if we try to rerun client will throw an execption\n  * nested {Boolean} A nested transaction can run many time in a value date, just on transaction will appear with the web client\n* cb {Function} callback function called when fct will ended. \n\n### Transac instance methods\n\n#### (info | warning | error)(label, message)\n\n* label {String} message's label\n* message {String} message's content (converted as html by web client)\n\n\n#### (commit | abort)(label, message)\n\ntransparently used by client-transac-redline to end a transaction depending on fct.callback.err value.\n\n\n\n\n","maintainers":[{"name":"ebasley","email":"ebasley@gmail.com"}],"time":{"modified":"2022-06-13T06:10:16.048Z","created":"2014-01-24T14:13:32.840Z","0.0.0":"2014-01-24T14:13:33.600Z","0.0.2":"2014-01-27T11:09:14.967Z","0.0.3":"2014-03-11T09:54:52.984Z","0.0.4":"2014-03-11T14:26:10.666Z","0.0.5":"2014-03-19T11:04:07.139Z"},"readmeFilename":"README.md","author":{"name":"ebasley@gmail.com","email":"Eric BASLEY"},"repository":{"type":"git","url":"https://github.com/redpelicans/client-transac-redline.git"},"homepage":"https://github.com/redpelicans/client-transac-redline","keywords":["transac","log","production"],"bugs":{"url":"https://github.com/redpelicans/client-transac-redline/issues"},"license":"Apache","users":{}}