@exobase/use-express
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-rc.33 • Public • Published

title: 'useExpress' description: 'A root hook for the Express.js API framework' group: 'Root Hooks' badge: 'Express.js'

An Exobase root hook for the ExpressJS framework

Install

yarn add @exobase/use-express

Usage

import { compose } from 'radash'
import type { Props } from '@exobase/core'
import { useExpress } from '@exobase/use-express'

const endpoint = (props: Props) => {
  console.log(props)
}

export default compose(useExpress(), endpoint)

Readme

Keywords

none

Package Sidebar

Install

npm i @exobase/use-express

Weekly Downloads

18

Version

1.0.0-rc.33

License

MIT

Unpacked Size

371 kB

Total Files

18

Last publish

Collaborators

  • rayepps