{"id":23092605,"url":"https://github.com/kjdev/apache-mod-coffee","last_synced_at":"2025-04-03T18:28:36.017Z","repository":{"id":3301487,"uuid":"4343183","full_name":"kjdev/apache-mod-coffee","owner":"kjdev","description":"mod_coffee is CoffeeScript handler module for Apache HTTPD Server. ","archived":false,"fork":false,"pushed_at":"2012-05-16T03:32:01.000Z","size":152,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-09T06:44:14.428Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kjdev.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}},"created_at":"2012-05-16T03:31:27.000Z","updated_at":"2013-10-24T01:20:49.000Z","dependencies_parsed_at":"2022-09-21T11:30:36.680Z","dependency_job_id":null,"html_url":"https://github.com/kjdev/apache-mod-coffee","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/kjdev%2Fapache-mod-coffee","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kjdev%2Fapache-mod-coffee/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kjdev%2Fapache-mod-coffee/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kjdev%2Fapache-mod-coffee/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kjdev","download_url":"https://codeload.github.com/kjdev/apache-mod-coffee/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247055507,"owners_count":20876201,"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-12-16T21:35:13.331Z","updated_at":"2025-04-03T18:28:36.001Z","avatar_url":"https://github.com/kjdev.png","language":"C","readme":"# mod_coffee #\n\nmod_coffee is CoffeeScript handler module for Apache HTTPD Server.\n\n## Dependencies ##\n\n* [coffee-script](http://coffeescript.org/)\n* [V8](http://code.google.com/p/v8)\n\n## Build ##\n\n    % ./autogen.sh (or autoreconf -i)\n    % ./configure [OPTION]\n    % make\n    % make install\n\n### Build Options ###\n\nV8 path.\n\n* --with-v8=PATH  [default=/usr/include]\n* --with-v8-lib=PATH  [default=no]\n\nV8 isolate.\n\n* --enable-v8-isolate  [default=no]\n\napache path.\n\n* --with-apxs=PATH  [default=yes]\n* --with-apr=PATH  [default=yes]\n\n## Configration ##\n\nhttpd.conf:\n\n    LoadModule coffee_module modules/mod_coffee.so\n    AddHandler coffee-script .coffee\n\n## CoffeeScript Compile Options ##\n\nbare: true\n\n  Compile the JavaScript without the top-level function safety wrapper.\n\n## Example ##\n\ntest.coffee:\n\n    # Assignment:\n    number   = 42\n    opposite = true\n\n    # Conditions:\n    number = -42 if opposite\n\n    # Functions:\n    square = (x) -\u003e x * x\n\n    # Arrays:\n    list = [1, 2, 3, 4, 5]\n\n    # Objects:\n    math =\n      root:   Math.sqrt\n      square: square\n      cube:   (x) -\u003e x * square x\n\n    # Splats:\n    race = (winner, runners...) -\u003e\n      print winner, runners\n\n    # Existence:\n    alert \"I knew it!\" if elvis?\n\n    # Array comprehensions:\n    cubes = (math.cube num for num in list)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkjdev%2Fapache-mod-coffee","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkjdev%2Fapache-mod-coffee","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkjdev%2Fapache-mod-coffee/lists"}