{"id":17862552,"url":"https://github.com/krdlab/grunt-fay","last_synced_at":"2025-10-29T15:23:22.752Z","repository":{"id":15603484,"uuid":"18339669","full_name":"krdlab/grunt-fay","owner":"krdlab","description":"A grunt task to compile Haskell code to JavaScript using the Fay compiler","archived":false,"fork":false,"pushed_at":"2014-04-03T00:25:38.000Z","size":136,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-08T11:34:27.303Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":false,"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/krdlab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-MIT","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-04-01T18:20:01.000Z","updated_at":"2020-11-05T06:46:12.000Z","dependencies_parsed_at":"2022-09-21T19:23:29.639Z","dependency_job_id":null,"html_url":"https://github.com/krdlab/grunt-fay","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/krdlab%2Fgrunt-fay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krdlab%2Fgrunt-fay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krdlab%2Fgrunt-fay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krdlab%2Fgrunt-fay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/krdlab","download_url":"https://codeload.github.com/krdlab/grunt-fay/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246892848,"owners_count":20850850,"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-28T08:53:13.753Z","updated_at":"2025-10-29T15:23:22.687Z","avatar_url":"https://github.com/krdlab.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# grunt-fay\n\n\u003e Compile Haskell code to JavaScript using Fay\n\n## Getting Started\nThis plugin requires Grunt `~0.4.1`\n\nIf you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:\n\n```shell\nnpm install grunt-fay --save-dev\n```\n\nOnce the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:\n\n```js\ngrunt.loadNpmTasks('grunt-fay');\n```\n\n## The \"fay\" task\n\n### Overview\nIn your project's Gruntfile, add a section named `fay` to the data object passed into `grunt.initConfig()`.\n\n```js\ngrunt.initConfig({\n  fay: {\n    options: {\n      // Task-specific options go here.\n    },\n    your_target: {\n      // Target-specific file lists and/or options go here.\n    },\n  },\n})\n```\n\n\n### Usage Examples\n\nIn this example, the file `hello_world.hs` in the `src` directory is compiled to `hello_world.js` in the `dest` directory.\n\n```js\ngrunt.initConfig({\n  fay: {\n    files: {\n      'dest/hello_world.js': 'src/hello_world.hs',\n    },\n  },\n})\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrdlab%2Fgrunt-fay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkrdlab%2Fgrunt-fay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrdlab%2Fgrunt-fay/lists"}