{"id":15399862,"url":"https://github.com/mcollina/fastzalgo","last_synced_at":"2026-03-12T06:01:47.771Z","repository":{"id":57233468,"uuid":"67132717","full_name":"mcollina/fastzalgo","owner":"mcollina","description":"Dezalgo at top speed","archived":false,"fork":false,"pushed_at":"2016-09-01T14:03:10.000Z","size":5,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-30T07:52:32.446Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/mcollina.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":"2016-09-01T13:17:20.000Z","updated_at":"2025-04-03T00:23:16.000Z","dependencies_parsed_at":"2022-08-31T14:11:18.672Z","dependency_job_id":null,"html_url":"https://github.com/mcollina/fastzalgo","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/mcollina%2Ffastzalgo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcollina%2Ffastzalgo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcollina%2Ffastzalgo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcollina%2Ffastzalgo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mcollina","download_url":"https://codeload.github.com/mcollina/fastzalgo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252662309,"owners_count":21784767,"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-01T15:50:46.748Z","updated_at":"2026-03-12T06:01:47.762Z","avatar_url":"https://github.com/mcollina.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fastzalgo\n\nMakes a function asynchronous by wrapping it inside `process.nexTick`.\nSimilar to [dezalgo][dezalgo] but almost 3 times faster:\n\n```\nrunDezalgo*10000000: 7553ms\nrunFastzalgo*10000000: 2845ms\n```\n\nThe main difference from [dezalgo][dezalgo] is that **you must call the callback only once**.\n\n## Usage\n\n```js\n'use strict'\n\nconst zalgo = require('.')\n\nconst print = console.log\nconst asyncPrint = zalgo(console.log)\n\nasyncPrint('this happens after')\nprint('this happens before')\n\n// Prints:\n//\n// this happens before\n// this happens after\n```\n\n## Install\n\n```js\nnpm i fastzalgo -g\n```\n\n## License\n\nMIT\n\n[dezalgo]: http://npm.im/dezalgo\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcollina%2Ffastzalgo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmcollina%2Ffastzalgo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcollina%2Ffastzalgo/lists"}