{"id":19311761,"url":"https://github.com/emallates/enoa-client","last_synced_at":"2025-04-19T20:44:02.610Z","repository":{"id":57225535,"uuid":"58623121","full_name":"Emallates/enoa-client","owner":"Emallates","description":null,"archived":false,"fork":false,"pushed_at":"2018-01-27T12:16:17.000Z","size":11379,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-12T23:52:47.924Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Emallates.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-05-12T08:31:58.000Z","updated_at":"2017-04-19T06:23:28.000Z","dependencies_parsed_at":"2022-08-24T11:00:22.595Z","dependency_job_id":null,"html_url":"https://github.com/Emallates/enoa-client","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Emallates%2Fenoa-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Emallates%2Fenoa-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Emallates%2Fenoa-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Emallates%2Fenoa-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Emallates","download_url":"https://codeload.github.com/Emallates/enoa-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249795455,"owners_count":21326779,"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-11-10T00:30:05.672Z","updated_at":"2025-04-19T20:44:02.583Z","avatar_url":"https://github.com/Emallates.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Enoa Client\nJavascript client which is able to integrate multi adapters at the same time even in different envoirments\n\n[![Version][version-svg]][package-url]\n[![travis-svg]][travis-url]\n[![Downloads][downloads-image]][downloads-url]\n[![dependencies Status][dep-image]][dep-url]\n\n\n[![License][license-image]][license-url]\n[![Gitter][gitter-image]][gitter-url]\n[![StackVverflow][stackoverflow-image]][stackoverflow-url]\n\n[version-svg]: https://img.shields.io/npm/v/enoa-client.svg?style=flat-square\n[travis-svg]: https://img.shields.io/travis/Emallates/enoa-client/master.svg?style=flat-square\n[travis-url]: https://api.travis-ci.org/Emallates/enoa-client.svg?branch=master\n[package-url]: https://npmjs.org/package/enoa-client\n[license-image]: https://img.shields.io/badge/license-MIT-green.svg?style=flat-square\n[license-url]: LICENSE.txt\n[downloads-image]: https://img.shields.io/npm/dm/enoa-client.svg?style=flat-square\n[downloads-url]: http://npm-stat.com/charts.html?package=enoa-client\n[gitter-image]: https://badges.gitter.im/Emallates/enoa-client.svg\n[gitter-url]: https://gitter.im/Emallates/enoa-client?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=body_badge\n[stackoverflow-image]: https://img.shields.io/badge/stackoverflow-enoaclient-blue.svg\n[stackoverflow-url]: http://stackoverflow.com/questions/tagged/enoaclient \n[dep-url]: https://david-dm.org/emallates/enoa-client\n[dep-image]: https://david-dm.org/emallates/enoa-client/status.svg\n\n\n## Overview\n\nThe enoa-client is a universal JavaScript client, which enables in combination with an ADAPTER, Client-Server Side communications. Recommended Use Cases are e.g the use of web services(fallback, retry, CDN, timeout strategies thus minimizing bottlenecks for High-Availablity on the client-side). The modular structure includes the options of server-sided(Node.JS) as well as browser-sided(Vanilla, jQuery, AngularJS) client implementations. Recommended adapters can be found at [Emallates](https://github.com/Emallates \"Emallates\").\n\nPlease feel free to use our adapter examples as the structure for your own customized adapters! Recommendations and improvement hints concerning the structure of the enoa-client and the adapters , therefore, are always very welcome!\n\n#### Community Adapters\n\n  - Server-side\n  * [NodeJS](https://www.npmjs.com/package/zlogjs-adapter \"https://www.npmjs.com/package/zlogjs-adapter\")\n  - Client-side\n\t* [VanillaJS](https://cdn.jsdelivr.net/enoaclient.vanilla/0.0.8/enoaclient.vanilla.min.js \"https://cdn.jsdelivr.net/enoaclient.vanilla/0.0.8/enoaclient.vanilla.min.js\")\n\t* [jQueryJS ](https://cdn.jsdelivr.net/enoaclient.jquery/0.0.8/enoaclient.jquery.min.js \"https://cdn.jsdelivr.net/enoaclient.jquery/0.0.8/enoaclient.jquery.min.js\")\n\t* [AngularJS](https://cdn.jsdelivr.net/enoaclient.angualr/0.0.8/enoaclient.angualr.min.js \"https://cdn.jsdelivr.net/enoaclient.angualr/0.0.8/enoaclient.angualr.min.js\")\n\n## Installation\n\nSeveral installation options are available:\n  \n- [Download the latest release](https://github.com/Emallates/enoa-client/archive/master.zip).\n- Install with [npm](https://www.npmjs.com/package/enoa-client) ``` npm install enoa-client ```\n- Install with [bower](https://www.bower.io) ``` bower install enoa-client ```\n\n\n# Usage\n\n#### Server side NodeJS ( example with ZLogJS-Adapter )\n    var enoaClient = require('enoa-client');\n    var zlogjsAdapter = require('zlogjs-adapter');\n    var configs = {\n\tport:'9000',\n\tmode:\"central\",\n\thost:'localhost', \n\tappId:'your-appid',\n\tapiKey:'your-apiKey',\n\tadapter:zlogjsAdapter\n    }\n    enoaClient = enoaClient({ appId:'appId', apiKey:'apiKey', collections:{zlog:configs}});\n\n\n\n#### VanilaJS\n\n\t\u003cscript type=\"text/javascript\" src=\"path/to/enoaclient.vanilla.min.js\"\u003e\u003c/script\u003e\n\t\u003cscript type=\"text/javascript\"\u003e\n\t\tvar enoaClient = windos.enoaclient(options)\n\t\u003c/script\u003e\n#### jQuery\n\n\t\u003cscript type=\"text/javascript\" src=\"path/to/jquery.js\"\u003e\u003c/script\u003e\n\t\u003cscript type=\"text/javascript\" src=\"path/to/enoaclient.jquery.min.js\"\u003e\u003c/script\u003e\n\t\u003cscript type=\"text/javascript\"\u003e\n\t\tvar enoaClient = jQuery.enoaClient(options);\n\t\u003c/script\u003e\n\n#### AngularJS\n\nThis package will use [$http](https://docs.angularjs.org/api/ng/service/$http) for HTTP communication.\n\n\t\u003cscript type=\"text/javascript\" src=\"path/to/angular.js\"\u003e\u003c/script\u003e\n\t\u003cscript type=\"text/javascript\" src=\"path/to/enoaclient.angular.min.js\"\u003e\u003c/script\u003e\n\t\u003cscript type=\"text/javascript\"\u003e\n\t\tvar app = angular.module('app', ['enoa'])\n\t\tapp.service('client', ['enoaclient', function(enoaclient){\n\t\t\treturn enoaclient({appId:\"_appId\", apiKey:\"_apiKey\"})\n\t\t}]);\n\t\tapp.controller('ctrl', ['client', '$scope', function(client, $scope){\n\t\t\t// Now you can use client service anywaher in your project\n\t\t}]);\n\t\u003c/script\u003e\n\n## CONTRIBUTION\nPlease read through our contributing [guidelines](https://github.com/Emallates/enoa-client/blob/master/CONTRIBUTING.md). Included are directions for opening issues, coding standards, and notes on development.\n\n#### Build from source\n1. clone git repository ``` git clone https://github.com/Emallates/enoa-client.git ```\n2. Run `npm install`\n3. Run `npm run build`\n\n#### Tests\nComing soon\n\n## Community\n - [Gitter](https://gitter.im/Emallates/enoa-client?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=body_badge \"Live chat\")\n - [StackOverflow](http://stackoverflow.com/questions/tagged/enoaclient \"Ask Questions\")\n - [Github](https://github.com/Emallates/enoa-client/issues \"Open an issue\")\n\n#### Copyright and license\n\nCode and documentation copyright 2011-2016 Emallates, Inc. Code released under the MIT license. Docs released under Creative Commons.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femallates%2Fenoa-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femallates%2Fenoa-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femallates%2Fenoa-client/lists"}