{"id":27938808,"url":"https://github.com/osdio/sohook","last_synced_at":"2025-05-07T08:57:55.269Z","repository":{"id":22396458,"uuid":"25733480","full_name":"osdio/soHook","owner":"osdio","description":"A hook javascript tools.","archived":false,"fork":false,"pushed_at":"2014-10-25T14:45:35.000Z","size":148,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-07T08:57:51.142Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CoffeeScript","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/osdio.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":"2014-10-25T14:08:36.000Z","updated_at":"2014-10-25T14:45:35.000Z","dependencies_parsed_at":"2022-08-21T03:00:49.973Z","dependency_job_id":null,"html_url":"https://github.com/osdio/soHook","commit_stats":null,"previous_names":["soliury/sohook"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osdio%2FsoHook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osdio%2FsoHook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osdio%2FsoHook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osdio%2FsoHook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/osdio","download_url":"https://codeload.github.com/osdio/soHook/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252847507,"owners_count":21813450,"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-05-07T08:57:54.608Z","updated_at":"2025-05-07T08:57:55.263Z","avatar_url":"https://github.com/osdio.png","language":"CoffeeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Just a hook javascript tools. \n\nThis is an example:\n\n```\nhook = require 'shook'\n\ntest1 = ()-\u003e\n  hook.doAction()\n  console.log 'do some things'\n\n\nhookAction = ()-\u003e\n  console.log 'this is hook action!'\nhookAction2 = () -\u003e\n  console.log 'this is hook action2'\nhook.addAction test1, hookAction, 1\nhook.addAction test1, hookAction2, 2\n\ntest1()\nhook.removeAction test1, hookAction\ntest1()\n\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosdio%2Fsohook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fosdio%2Fsohook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosdio%2Fsohook/lists"}