{"id":20170220,"url":"https://github.com/fabrix-app/spool-websockets","last_synced_at":"2025-10-10T05:15:39.307Z","repository":{"id":95882881,"uuid":"149323481","full_name":"fabrix-app/spool-websockets","owner":"fabrix-app","description":"Spool: Websockets","archived":false,"fork":false,"pushed_at":"2018-09-18T17:00:51.000Z","size":30,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-18T03:39:15.032Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/fabrix-app.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","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":"2018-09-18T17:00:47.000Z","updated_at":"2018-09-20T05:02:21.000Z","dependencies_parsed_at":"2023-03-05T09:15:31.914Z","dependency_job_id":null,"html_url":"https://github.com/fabrix-app/spool-websockets","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fabrix-app/spool-websockets","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabrix-app%2Fspool-websockets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabrix-app%2Fspool-websockets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabrix-app%2Fspool-websockets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabrix-app%2Fspool-websockets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fabrix-app","download_url":"https://codeload.github.com/fabrix-app/spool-websockets/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabrix-app%2Fspool-websockets/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002881,"owners_count":26083468,"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","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-14T01:17:45.178Z","updated_at":"2025-10-10T05:15:39.291Z","avatar_url":"https://github.com/fabrix-app.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# spool-websockets\n\n[![Gitter][gitter-image]][gitter-url]\n[![NPM version][npm-image]][npm-url]\n[![Build Status][ci-image]][ci-url]\n[![Test Coverage][coverage-image]][coverage-url]\n[![Dependency Status][daviddm-image]][daviddm-url]\n[![Follow @FabrixApp on Twitter][twitter-image]][twitter-url]\n\n:package: Websockets Spool\n\n\n## Install\n```sh\n$ npm install --save @fabrix/spool-websockets\n```\n\n## Configure\n\n```js\n// config/main.ts\nimport { WebsocketsSpool } from '@fabrix/spool-websockets'\nexport const main = {\n  spools: [\n    // ... other spools\n    WebsocketsSpool\n  ]\n}\n```\n\n## Configuration\n\n```\n// config/websockets.ts\nexport const websockets = {\n  allowLocalFilesAccess: true,\n    printDelay: 100,\n    paperSize: {\n      format: 'Letter',\n      height: '11in',\n      width: '8.5in'\n    },\n    format: {\n      quality: 100\n    }\n}\n```\n\nFor more information about store (type and configuration) please see the websockets documentation.\n\n## Usage\n\n```js\n  this.app.websockets.htmlToWEBSOCKETS('\u003ch1\u003eHello World\u003c/h1\u003e')\n  .then(websockets =\u003e {\n    // Do something with your WEBSOCKETS\n  })\n```\n\n[npm-image]: https://img.shields.io/npm/v/@fabrix/spool-websockets.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/@fabrix/spool-websockets\n[ci-image]: https://img.shields.io/circleci/project/github/fabrix-app/spool-websockets/master.svg\n[ci-url]: https://circleci.com/gh/fabrix-app/spool-websockets/tree/master\n[daviddm-image]: http://img.shields.io/david/fabrix-app/spool-websockets.svg?style=flat-square\n[daviddm-url]: https://david-dm.org/fabrix-app/spool-websockets\n[gitter-image]: http://img.shields.io/badge/+%20GITTER-JOIN%20CHAT%20%E2%86%92-1DCE73.svg?style=flat-square\n[gitter-url]: https://gitter.im/fabrix-app/fabrix\n[twitter-image]: https://img.shields.io/twitter/follow/FabrixApp.svg?style=social\n[twitter-url]: https://twitter.com/FabrixApp\n[coverage-image]: https://img.shields.io/codeclimate/coverage/github/fabrix-app/spool-websockets.svg?style=flat-square\n[coverage-url]: https://codeclimate.com/github/fabrix-app/spool-websockets/coverage\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabrix-app%2Fspool-websockets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffabrix-app%2Fspool-websockets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabrix-app%2Fspool-websockets/lists"}