@midwayjs/hooks
    TypeScript icon, indicating that this package has built-in type declarations

    2.3.0 • Public • Published

    @midwayjs/hooks

    中文文档

    Midway Hooks Api

    Usage

    import { useContext } from '@midwayjs/hooks'
    
    // get url query
    export function getQuery() {
      const ctx = useContext()
      return ctx.query
    }

    Keywords

    Install

    npm i @midwayjs/hooks

    DownloadsWeekly Downloads

    251

    Version

    2.3.0

    License

    MIT

    Unpacked Size

    21.7 kB

    Total Files

    42

    Last publish

    Collaborators

    • czy88840616
    • legendecas
    • echosoar
    • lellansin
    • lxxyx
    • stone-jin