1.1.15 • Published 9 years ago

ohmit-haleoas v1.1.15

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

Ohmit-Haleoas

Connecting via haleoas with ohmit.

Usage

import ohmit from ‘ohmit’
import ohmitHaleoas from ‘ohmit-haleoas’

let resourceFactory = ohmitHaleoas({ fetch: myFetchImplementation })
let ohm = ohmit({ resourceFactory })
let q = {
    _root: ‘http://my.api.com’
    , about: ‘/about’
}
ohm.execute(q).then({ results} => {
    results.about[0].self() == ‘http://my.api.com/about’ // true
})
1.1.15

9 years ago

1.1.14

9 years ago

1.1.13

9 years ago

1.1.12

9 years ago

1.1.11

9 years ago

1.1.10

9 years ago

1.1.9

10 years ago

1.1.8

10 years ago

1.1.7

10 years ago

1.1.6

10 years ago

1.1.5

10 years ago

1.1.4

10 years ago

1.1.3

10 years ago

1.1.2

10 years ago

1.1.1

10 years ago