{"id":13624689,"url":"https://github.com/calvinmetcalf/catiline","last_synced_at":"2025-12-12T03:11:16.823Z","repository":{"id":5345706,"uuid":"6531446","full_name":"calvinmetcalf/catiline","owner":"calvinmetcalf","description":"JavaScript library to take the pain out of web workers.","archived":false,"fork":false,"pushed_at":"2017-04-24T11:56:12.000Z","size":12037,"stargazers_count":583,"open_issues_count":13,"forks_count":57,"subscribers_count":24,"default_branch":"gh-pages","last_synced_at":"2024-05-10T18:44:27.209Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://catilinejs.com/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"antlr/grammars-v4","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/calvinmetcalf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-11-04T14:27:26.000Z","updated_at":"2024-05-02T05:54:13.000Z","dependencies_parsed_at":"2022-08-25T18:42:00.829Z","dependency_job_id":null,"html_url":"https://github.com/calvinmetcalf/catiline","commit_stats":null,"previous_names":["calvinmetcalf/communist"],"tags_count":40,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calvinmetcalf%2Fcatiline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calvinmetcalf%2Fcatiline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calvinmetcalf%2Fcatiline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calvinmetcalf%2Fcatiline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/calvinmetcalf","download_url":"https://codeload.github.com/calvinmetcalf/catiline/tar.gz/refs/heads/gh-pages","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248646994,"owners_count":21139079,"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-08-01T21:01:45.221Z","updated_at":"2025-10-04T20:19:13.796Z","avatar_url":"https://github.com/calvinmetcalf.png","language":"JavaScript","funding_links":[],"categories":["Javascript Libraries","JavaScript"],"sub_categories":[],"readme":"__Catiline.js__ is a JavaScript library all about workers. Workers should make your life easier, not harder, and with Catiline.js launching a new worker is as simple as calling a function. It works the same across all (modern) browsers. Formerly known as Communist.js, Catiline.js is the same great library with a less controversial name.\n\nHow easy is it? `var worker = cw(myFunc)` creates a worker. Send it data with `var response = worker.data(YOUR DATA);`, and the response is a [promise](http://blogs.msdn.com/b/ie/archive/2011/09/11/asynchronous-programming-in-javascript-with-promises.aspx). It's that easy. For more in-depth usage, checkout the examples bellow or the \n\n\u003ca class='navLink' id='API' href='docs/API.md'\u003eAPI page\u003c/a\u003e.\n\nWant to use it? Grab the \n[development version](https://raw.github.com/calvinmetcalf/catiline/master/dist/catiline.js)\nor [production version](https://raw.github.com/calvinmetcalf/catiline/master/dist/catiline.min.js) from the dist folder. \n\nFor usage in addition to the \u003ca class='navLink' id='API' href='docs/API.md'\u003eAPI page\u003c/a\u003e and \u003ca class='navLink' id='DOCUMENTATION' href='docs/DOCUMENTATION.md'\u003edocumentation\u003c/a\u003e, I wrote a [blog post](http://cwmma.tumblr.com/post/54338607071/making-web-workers-with-communistjs) about Catiline.js (under its old name). Or, you can browse some demos:\n\n- [Parsing a dictionary](http://catilinejs.com/website/dict/)\n- [Fractal Map](http://catilinejs.com/website/leaflet-fractal/), (April Mozilla Dev Derby [Finalist](https://hacks.mozilla.org/2013/06/announcing-the-winners-of-the-april-2013-dev-derby/))\n- [RTree Bounding Boxes](http://leaflet-extras.github.io/RTree/examples/worker.html)\n- [Census Visualization](http://data-otp.rhcloud.com/)\n- [Vector Map Tiles](http://calvinmetcalf.github.io/vector-layers/)\n- [Unzipping files and reprojecting maps](http://calvinmetcalf.github.io/shapefile-js/site/proj.html)\n\nUpdates and changes are all in the \u003ca class='navLink' id='CHANGELOG' href='docs/CHANGELOG.md'\u003echangelog\u003c/a\u003e.\n\nThere is also a \u003ca class='navLink' id='PLUGINS' href='docs/PLUGINS.md'\u003eplugin list\u003c/a\u003e.\n\n__Important:__ the file catiline.js or catiline.min.js should be a standalone file hosted on the same domain as your web page. If you can't, or need to bundle catiline but you need it to work on IE10, Opera, and Safari, you have to host the file \"SHIM_WORKER.js\" on the same domain as the html file \nand set the path to it in a global variable `SHIM_WORKER_PATH` before you load catiline.\n\nThis grew out of my work with [earlier versions](https://github.com/calvinmetcalf/catiline/tree/6e920be75ab3ed9b2a36d24dd184a9945f6b4000) \nof this library and my [differences in opinion](https://gist.github.com/calvinmetcalf/6050205) with\n[Parallel.js](https://github.com/adambom/parallel.js)'s direction. There is\nalso a library doing very similar things called [operative](https://github.com/padolsey/operative).\n\n[![Selenium Test Status](https://saucelabs.com/browser-matrix/calvinmetcalf.svg)](https://saucelabs.com/u/calvinmetcalf)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalvinmetcalf%2Fcatiline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcalvinmetcalf%2Fcatiline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalvinmetcalf%2Fcatiline/lists"}