{"id":15345428,"url":"https://github.com/jthomas/whiskify","last_synced_at":"2025-03-19T11:06:28.759Z","repository":{"id":140707091,"uuid":"55614442","full_name":"jthomas/whiskify","owner":"jthomas","description":"Utility class to help running JavaScript functions as OpenWhisk Actions.","archived":false,"fork":false,"pushed_at":"2017-02-16T16:27:32.000Z","size":6,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-25T04:27:00.434Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jthomas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-04-06T14:48:13.000Z","updated_at":"2017-01-14T13:14:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"7d2c87a2-64f6-4d37-b8c0-202ec046e8c6","html_url":"https://github.com/jthomas/whiskify","commit_stats":{"total_commits":8,"total_committers":3,"mean_commits":"2.6666666666666665","dds":0.5,"last_synced_commit":"0b0b6ac913be14c558644635b6716d00c5bc1b01"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jthomas%2Fwhiskify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jthomas%2Fwhiskify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jthomas%2Fwhiskify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jthomas%2Fwhiskify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jthomas","download_url":"https://codeload.github.com/jthomas/whiskify/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244413458,"owners_count":20448710,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-01T11:13:23.119Z","updated_at":"2025-03-19T11:06:28.742Z","avatar_url":"https://github.com/jthomas.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# whiskify\n\nUtility class to help running JavaScript functions as [OpenWhisk](https://github.com/openwhisk/openwhisk) Actions.\n\n## why?\n\n\"Serverless\" cloud platforms let us create simple \"microservices\" from JavaScript functions.\n\nThis library helps you convert normal JavaScript functions to ephemeral \"microservices\" and interact with them as local functions. \n\nWe can now choose to move computations from the local machine to a scalable cloud platform with minimal code changes.\n\n## installation\n\n```\nnpm install whiskify\n```\n\n## usage\n\n```\nconst whiskify = require('whiskify')({api: 'https://', api_key: '...', namespace: '...'})\nconst action = whiskify(function (item) { return item + 1; })\n\naction(1).then(function (result) {\n  // == 2\n})\n\naction.map([1, 2, 3, 4]).then(function (result) {\n // == [2, 3, 4, 5]\n})\n\naction.delete() \n```\n\n## limitations\n\nOpenWhisk Actions currently execute using Node.js v6.9.1. Functions must not use features not available on this platform, e.g. async/await.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjthomas%2Fwhiskify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjthomas%2Fwhiskify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjthomas%2Fwhiskify/lists"}