{"id":24118387,"url":"https://github.com/fantasyui-com/dreamtime","last_synced_at":"2025-06-13T04:06:56.712Z","repository":{"id":34982677,"uuid":"194078862","full_name":"fantasyui-com/dreamtime","owner":"fantasyui-com","description":"Causality violation for JavaScript. Executing programs before functions are written (think cucumber in js). [Code Generation]","archived":false,"fork":false,"pushed_at":"2025-05-05T18:16:40.000Z","size":1373,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-09T12:58:04.296Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fantasyui-com.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-06-27T10:58:27.000Z","updated_at":"2025-05-05T18:16:44.000Z","dependencies_parsed_at":"2023-01-15T11:30:43.967Z","dependency_job_id":"f927706d-3ade-4576-a4f6-09c9d4b0bf76","html_url":"https://github.com/fantasyui-com/dreamtime","commit_stats":{"total_commits":78,"total_committers":2,"mean_commits":39.0,"dds":0.3076923076923077,"last_synced_commit":"4df8f0df090a01338e46eec4b7b659a24be90f35"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fantasyui-com/dreamtime","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fantasyui-com%2Fdreamtime","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fantasyui-com%2Fdreamtime/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fantasyui-com%2Fdreamtime/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fantasyui-com%2Fdreamtime/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fantasyui-com","download_url":"https://codeload.github.com/fantasyui-com/dreamtime/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fantasyui-com%2Fdreamtime/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259578216,"owners_count":22879215,"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":"2025-01-11T08:19:24.290Z","updated_at":"2025-06-13T04:06:56.689Z","avatar_url":"https://github.com/fantasyui-com.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dreamtime\nCausality violation for JavaScript. Executing programs before functions are written (think cucumber in js)\n\n# Dreamtime Functions\n\n## PROCEDURE: First Order Functions\n\nFirst order functions describe a procedure completed by second order functions.\n- specify order of operations\n- it feels like they exist to debug flow control\n\n## TASK: Second Order Functions\n\nSecond order functions follow good conventions for managing fulfillment of the task they are charged with.\n- There is a single new Promise instance here and heavy reliance on async functions\n\n## UTILITY: Third Order Functions\n\nThird order functions do the dirty work, they don't even receive arguments in an object, they get a standard comma separated deal with it set.\n  - get simple arguments (ex: function(url, timeout){ /* dirty work */ })\n\n## Todo\n\n- if module directory changes update the package.json name field\n\n## References\n\nhttps://github.com/fantasyui-com/tarnation\n\n## Example\n\n```JavaScript\nconst dreamtime = require('dreamtime');\n\nconst program = dreamtime()\n\n  .downloadHtml('http://trackthis.link')\n  .htmlQuery('head \u003e script[url]')\n  .downloadUrls()\n  .extractObjects('ObjectExpression')\n\nconsole.log(program)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffantasyui-com%2Fdreamtime","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffantasyui-com%2Fdreamtime","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffantasyui-com%2Fdreamtime/lists"}