tokra-use-services
TypeScript icon, indicating that this package has built-in type declarations

0.0.1-rc.2 • Public • Published

@exobase/core

Provides the core types and functions to implement the Abstract & Compose design pattern

If you're writing Exobase endpoint (following the Abstract & Compose design pattern) and you're using Typescript you'll probably want this package for the types. If you're developing your own Exobase hooks you'll want the core package for the response parsing functions.

Install

Yarn

yarn add @exobase/core

Usage

If you're writing Exobase endpoints in Typescript you'll want to import the Props type.

import { compose } from 'radash'
import type { Props } from '@exobase/core'

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

export default compose()
// ...

If you're writing your own hooks you'll want to use a bit more.

Readme

Keywords

none

Package Sidebar

Install

npm i tokra-use-services

Weekly Downloads

2

Version

0.0.1-rc.2

License

MIT

Unpacked Size

15.5 kB

Total Files

14

Last publish

Collaborators

  • rayepps