1.1.15 • Published 8 years ago

ohmit-haleoas v1.1.15

Weekly downloads
2
License
MIT
Repository
github
Last release
8 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

8 years ago

1.1.14

8 years ago

1.1.13

8 years ago

1.1.12

8 years ago

1.1.11

8 years ago

1.1.10

8 years ago

1.1.9

8 years ago

1.1.8

8 years ago

1.1.7

8 years ago

1.1.6

8 years ago

1.1.5

8 years ago

1.1.4

8 years ago

1.1.3

8 years ago

1.1.2

8 years ago

1.1.1

8 years ago