UNPKG

jsonapi-to-ember-mirage

Version:

Convert JSONAPI responses to ember-cli-mirage fixture format

10 lines (6 loc) 260 B
# JSONAPI To Ember CLI Mirage ## Usage ```bash $ curl http://localhost:8000/api/v1/foo-bars | node index.js ``` This will write ember-cli-mirage compatible fixture files for each model type (data and included) contained in the response in your current dir.