{"_id":"functions","_rev":"21-f982144c8962a11fb1a5aa6c8ff890fb","name":"functions","time":{"modified":"2022-06-18T04:17:53.786Z","created":"2011-10-16T15:48:58.768Z","0.0.1":"2011-10-16T15:49:04.364Z","0.0.2":"2011-10-16T16:22:14.033Z","0.0.4":"2011-10-16T18:33:20.040Z","0.0.5":"2011-10-17T16:35:52.073Z","1.0.1":"2016-03-26T02:08:10.666Z","1.0.2":"2016-03-26T04:07:00.240Z","1.0.3":"2016-03-26T04:18:39.670Z","1.0.4":"2016-03-26T04:25:00.394Z","1.0.5":"2016-03-27T23:44:59.015Z","1.0.6":"2016-03-29T01:16:42.262Z","1.0.7":"2016-04-08T04:24:35.191Z","1.0.8":"2016-06-08T16:54:38.692Z","1.0.9":"2016-06-08T18:25:58.543Z"},"maintainers":[{"name":"chrismatthieu","email":"chris@matthieu.us"}],"dist-tags":{"latest":"1.0.9"},"description":"functions for computes.io","readme":"# Computes.io functions\n\nThis NPM module allows developers to easily add common supercomputer functions to their computes.io apps.\n\n## Getting Started\n\n> npm install functions\n\n> var functions = require(\"functions\");\n\n## How to use functions\n\n> functions.list\n\nreturns: [ 'sentiment', 'md5cracker', \"nextprime\" ]\n\n> functions.sentiment\n\nreturns: sentiment function\n\n> functions.md5cracker\n\nreturns: MD5 cracker function\n\n> functions.nextprime\n\nreturns: Next Prime function\n\n\n## Computes.io Example\n\n```\nvar computes = require(\"computes\");\nvar functions = require(\"functions\");\n\nvar options = {\n  domain: \"{{user.domainKey}}\",\n  priority: \"normal\",  //'low', 'normal' & 'high'\n  ttl: 60000,  // milliseconds\n  delay: 0 //milliseconds\n}\n\nvar job = computes.connect();\n\njob.on(\"ready\", function (){\n  var data = \"i love skynet\";\n  job.compute(functions.sentiment, data, options);\n});\n\njob.on(\"result\", function (result){\n  console.log(result);\n  job.disconnect();\n});\n```\n","versions":{"1.0.1":{"name":"functions","version":"1.0.1","description":"functions for computes.io","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/computes/functions.git"},"keywords":["computes","functions","supercomputer"],"author":{"name":"computes.io"},"license":"ISC","bugs":{"url":"https://github.com/computes/functions/issues"},"homepage":"https://github.com/computes/functions#readme","gitHead":"c69c1054f9021027e7223683ea125f228a8864f5","_id":"functions@1.0.1","_shasum":"ac49e6403ad894ab3dca1ffdc8e72bf96df41d0b","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.3.1","_npmUser":{"name":"chrismatthieu","email":"chris@matthieu.us"},"dist":{"shasum":"ac49e6403ad894ab3dca1ffdc8e72bf96df41d0b","tarball":"https://registry.npmjs.org/functions/-/functions-1.0.1.tgz","integrity":"sha512-Pl9MhpBM5z6FlggHBDxCEWl2MsXleMAFyaaKXY3hpi2VT7oMyj7oBFaSJxD4aS5rakPJ27LAU4QmAv+yH/efuQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG6xSC4Rtd6WzM0w1PXoZHsIt+gIb2q/Q7QnBTsu6xOjAiB6aw0OY/DhDdpAJaH90ng52JbNt8fTdm43RfHgxUyx/Q=="}]},"maintainers":[{"name":"chrismatthieu","email":"chris@matthieu.us"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/functions-1.0.1.tgz_1458958090253_0.5749974970240146"}},"1.0.2":{"name":"functions","version":"1.0.2","description":"functions for computes.io","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/computes/functions.git"},"keywords":["computes","functions","supercomputer"],"author":{"name":"computes.io"},"license":"ISC","bugs":{"url":"https://github.com/computes/functions/issues"},"homepage":"https://github.com/computes/functions#readme","gitHead":"eea6fc50cc310f0275e85040d868f6fe28d4de85","_id":"functions@1.0.2","_shasum":"44fa21482f04ab4134bc24f12b37fb8ab8eeddd6","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.3.1","_npmUser":{"name":"chrismatthieu","email":"chris@matthieu.us"},"dist":{"shasum":"44fa21482f04ab4134bc24f12b37fb8ab8eeddd6","tarball":"https://registry.npmjs.org/functions/-/functions-1.0.2.tgz","integrity":"sha512-zT+crTTvB0+ytDivLAKDwmRJ+/TJ6vebKQxAzYoJEC5FokLWPFCudlba93GEFBb15ZsvTmtIxBPr0TOQvm3Brw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBrcbpF2ovdJ1A5ZZrM2kkvLaVksDgM+j5q7M0hH/A1bAiB6Wpw3XGNEw9Sd0lh+qrSMmrWz1fyNcFNqp//n4NlGJw=="}]},"maintainers":[{"name":"chrismatthieu","email":"chris@matthieu.us"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/functions-1.0.2.tgz_1458965219822_0.35666298191063106"}},"1.0.3":{"name":"functions","version":"1.0.3","description":"functions for computes.io","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/computes/functions.git"},"keywords":["computes","functions","supercomputer"],"author":{"name":"computes.io"},"license":"ISC","bugs":{"url":"https://github.com/computes/functions/issues"},"homepage":"https://github.com/computes/functions#readme","gitHead":"eea6fc50cc310f0275e85040d868f6fe28d4de85","_id":"functions@1.0.3","_shasum":"d7349ca9de46121963a8d98ec875395974339751","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.3.1","_npmUser":{"name":"chrismatthieu","email":"chris@matthieu.us"},"dist":{"shasum":"d7349ca9de46121963a8d98ec875395974339751","tarball":"https://registry.npmjs.org/functions/-/functions-1.0.3.tgz","integrity":"sha512-LcIZaylQ/Z384fzCoWoaahspfHeqiFw1r/cAFGXu9+xkEssbaM9gDkf0OwRVLXU1UMdfkGgX9CpksR3o8UKzkQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCi3XrVjPxUThksL1+zhHWldjW30WTCepJrpiNCM7F9EwIhAMoxkIWn3EvIAydiVqvYAVj85ctW8vz7wr4zE33kgEnS"}]},"maintainers":[{"name":"chrismatthieu","email":"chris@matthieu.us"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/functions-1.0.3.tgz_1458965919270_0.6551719878334552"}},"1.0.4":{"name":"functions","version":"1.0.4","description":"functions for computes.io","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/computes/functions.git"},"keywords":["computes","functions","supercomputer"],"author":{"name":"computes.io"},"license":"ISC","bugs":{"url":"https://github.com/computes/functions/issues"},"homepage":"https://github.com/computes/functions#readme","gitHead":"eea6fc50cc310f0275e85040d868f6fe28d4de85","_id":"functions@1.0.4","_shasum":"004ea70d663b91f56ebaa9eea687c4be794c2013","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.3.1","_npmUser":{"name":"chrismatthieu","email":"chris@matthieu.us"},"dist":{"shasum":"004ea70d663b91f56ebaa9eea687c4be794c2013","tarball":"https://registry.npmjs.org/functions/-/functions-1.0.4.tgz","integrity":"sha512-qRoNXSwWJzvDyuQpfOJ6fZ4YeCCSFquJBsAm33KU2OaEXDb7luQBH9vUav70i6yqJ2LDqJPGrI9Ns9wmjNg/tQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB1zHzDs3LRZ2836Qo/W6AUrkNdyiyx0cdLPX5SRD0KzAiEA6Xe9Vw6FAPBJM1Krrj6ZrkR9NIrVDLCOrQSoVToCoWs="}]},"maintainers":[{"name":"chrismatthieu","email":"chris@matthieu.us"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/functions-1.0.4.tgz_1458966299952_0.2428799611516297"}},"1.0.5":{"name":"functions","version":"1.0.5","description":"functions for computes.io","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/computes/functions.git"},"keywords":["computes","functions","supercomputer"],"author":{"name":"computes.io"},"license":"ISC","bugs":{"url":"https://github.com/computes/functions/issues"},"homepage":"https://github.com/computes/functions#readme","gitHead":"da6f8ef29007c2b3611b32d4c7502dd668b6f7bc","_id":"functions@1.0.5","_shasum":"2530d3588bc881e041d2006df1a5e46a16dd1e1f","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.3.1","_npmUser":{"name":"chrismatthieu","email":"chris@matthieu.us"},"dist":{"shasum":"2530d3588bc881e041d2006df1a5e46a16dd1e1f","tarball":"https://registry.npmjs.org/functions/-/functions-1.0.5.tgz","integrity":"sha512-lySGtbkPg8f5N3l3+txs9kDPBQgLApk+XjcZXWV2bc/CGYDM77VZmYe+4c2TajAbDihPqsoMkQyUCwKUZDSVDQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHYscShPN5+0262zud21JhHj7uzK+uAQFVP1B47n9oBjAiEA1MUuaumD0iSMnZ14cYzs1daQDK51dYlre9gsuU9wdsE="}]},"maintainers":[{"name":"chrismatthieu","email":"chris@matthieu.us"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/functions-1.0.5.tgz_1459122298591_0.43147104047238827"}},"1.0.6":{"name":"functions","version":"1.0.6","description":"functions for computes.io","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/computes/functions.git"},"keywords":["computes","functions","supercomputer"],"author":{"name":"computes.io"},"license":"ISC","bugs":{"url":"https://github.com/computes/functions/issues"},"homepage":"https://github.com/computes/functions#readme","gitHead":"bea258eab5874efdb6ee5423677a399582570eb7","_id":"functions@1.0.6","_shasum":"d2e931d902536f45d28513b96dce48a7d25a8026","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.3.1","_npmUser":{"name":"chrismatthieu","email":"chris@matthieu.us"},"dist":{"shasum":"d2e931d902536f45d28513b96dce48a7d25a8026","tarball":"https://registry.npmjs.org/functions/-/functions-1.0.6.tgz","integrity":"sha512-erT4ZmNS4cCQWqNjd0z2u0c3ofejM0MB+hKCnELRyg2XK8wlf8KJLwNb3kUksxuZqT5qH9r0sj0Q8/V6J4E0EA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIACqCfR8sw4uZcWlhI06/Q/YfkXm/ts0RGOtUKp9GUKeAiEAjQcCAjgNiWXwnC4+fxs2bgAkaX5Vai5zLYkNRcnfPFs="}]},"maintainers":[{"name":"chrismatthieu","email":"chris@matthieu.us"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/functions-1.0.6.tgz_1459214201825_0.14387329574674368"}},"1.0.7":{"name":"functions","version":"1.0.7","description":"functions for computes.io","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/computes/functions.git"},"keywords":["computes","functions","supercomputer"],"author":{"name":"computes.io"},"license":"ISC","bugs":{"url":"https://github.com/computes/functions/issues"},"homepage":"https://github.com/computes/functions#readme","gitHead":"e158f6b103386a39dd42eee25f0b7c2cafc2d54c","_id":"functions@1.0.7","_shasum":"26188bc451813ddfcad283ca2a2a3ca759965cd7","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.3.1","_npmUser":{"name":"chrismatthieu","email":"chris@matthieu.us"},"dist":{"shasum":"26188bc451813ddfcad283ca2a2a3ca759965cd7","tarball":"https://registry.npmjs.org/functions/-/functions-1.0.7.tgz","integrity":"sha512-wCEsvWdxq2Ja4HNhmtxpH+JKOXH7eoOCWsLjkcV0rMF6x/Bbfbf5YdysrpwnMu8Y2b+7JWULYG2/VHXlH2m6Sw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC7kPzk4IYgEdynk2DKEHhNh6zTQ2griqbyAmTGi96gMwIgCTq+lLNuDJNaGdIhVSfFQL5HbvftUBuuRnJWBXSEiiw="}]},"maintainers":[{"name":"chrismatthieu","email":"chris@matthieu.us"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/functions-1.0.7.tgz_1460089474512_0.9639725047163665"}},"1.0.8":{"name":"functions","version":"1.0.8","description":"functions for computes.io","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/computes/functions.git"},"keywords":["computes","functions","supercomputer"],"author":{"name":"computes.io"},"license":"ISC","bugs":{"url":"https://github.com/computes/functions/issues"},"homepage":"https://github.com/computes/functions#readme","gitHead":"aa28af3c405e446d87b31a4de7c4bb00b61b2a09","_id":"functions@1.0.8","_shasum":"72e078a61c6d2e7a944242a14981a06547e9c7b1","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.0.0","_npmUser":{"name":"chrismatthieu","email":"chris@matthieu.us"},"dist":{"shasum":"72e078a61c6d2e7a944242a14981a06547e9c7b1","tarball":"https://registry.npmjs.org/functions/-/functions-1.0.8.tgz","integrity":"sha512-KW9TgoYlUj78Q0b4qftiKmPX9pYonl6+pxjQOiMkvk3p+6/e5PmzvZgBHd4vo0fouY9Wa0itCYbWHpOPiUdIew==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDtps2rlUJQIqg8rP7ICBYcXwwTNsOxdNjvzvpZU6+LWQIgLnCVH4fg2ZBjZGxqi6nVQ9zRb+gQWLSiUm2OQrPmNjQ="}]},"maintainers":[{"name":"chrismatthieu","email":"chris@matthieu.us"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/functions-1.0.8.tgz_1465404878225_0.8497706418856978"}},"1.0.9":{"name":"functions","version":"1.0.9","description":"functions for computes.io","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/computes/functions.git"},"keywords":["computes","functions","supercomputer"],"author":{"name":"computes.io"},"license":"ISC","bugs":{"url":"https://github.com/computes/functions/issues"},"homepage":"https://github.com/computes/functions#readme","gitHead":"b6049ad45ac937e350f33713866d303c1480da08","_id":"functions@1.0.9","_shasum":"8c55330bad60880c63c4e21074add580dac9ffe8","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.0.0","_npmUser":{"name":"chrismatthieu","email":"chris@matthieu.us"},"dist":{"shasum":"8c55330bad60880c63c4e21074add580dac9ffe8","tarball":"https://registry.npmjs.org/functions/-/functions-1.0.9.tgz","integrity":"sha512-h0zM/T9ds8kS7px2jDvlo3Neej8a1T8MGJ+qMgBA2Ki0X+SVvghwy0fGPEYr89hrlzd4QXnJsLimA/+FJqRv+w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEe3nbdV27aD9iRFXz5m8YhQa3NoDXegqkVaUqmM7NqVAiASRRmW2aoUgnDPe4vp6Gca30WDhit2BGB6uo2RBln5GA=="}]},"maintainers":[{"name":"chrismatthieu","email":"chris@matthieu.us"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/functions-1.0.9.tgz_1465410355110_0.38170711207203567"}}},"homepage":"https://github.com/computes/functions#readme","keywords":["computes","functions","supercomputer"],"repository":{"type":"git","url":"git+https://github.com/computes/functions.git"},"author":{"name":"computes.io"},"bugs":{"url":"https://github.com/computes/functions/issues"},"license":"ISC","readmeFilename":"readme.md"}