# sohook

> A hook javascript tools

Latest version **1.0.2** (published 2014-10-25) · ISC license · 0 weekly downloads

## Install

```sh
npm install sohook
pnpm add sohook
yarn add sohook
bun add sohook
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2014-10-25 |
| First published | 2014-10-25 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | soliury |
| Maintainers | soliury |
| Keywords | hook |

## Links

- npm: https://www.npmjs.com/package/sohook
- Repository: https://github.com/soliury/soHook
- Issues: https://github.com/soliury/soHook/issues
- npm.io page: https://npm.io/package/sohook

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.0.2 (latest) — 2014-10-25
- 1.0.1 — 2014-10-25
- 1.0.0 — 2014-10-25

## README

Just a hook javascript tools. 

This is an example:

```
hook = require 'shook'

test1 = ()->
  hook.doAction()
  console.log 'do some things'


hookAction = ()->
  console.log 'this is hook action!'
hookAction2 = () ->
  console.log 'this is hook action2'
hook.addAction test1, hookAction, 1
hook.addAction test1, hookAction2, 2

test1()
hook.removeAction test1, hookAction
test1()


```

---
_Source: https://npm.io/package/sohook · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
