# vue-axios-rest

> Axios wrapper for rest endpoints, tailored for use by Vue apps

Latest version **0.3.1** (published 2022-01-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install vue-axios-rest
pnpm add vue-axios-rest
yarn add vue-axios-rest
bun add vue-axios-rest
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.3.1 |
| Published | 2022-01-10 |
| First published | 2022-01-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 303 |
| Unpacked size | 23.3 KB |
| Known vulnerabilities | 0 (+4 in 2 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Peter Skinner |
| Maintainers | skinnp91 |
| Keywords | axios, REST, Vue, API, endpoint |

## Links

- npm: https://www.npmjs.com/package/vue-axios-rest
- Repository: https://github.com/skinnp91/vue-endpoint-factory
- Homepage: https://github.com/skinnp91/vue-endpoint-factory/tree/main/vue-axios-rest
- Issues: https://github.com/skinnp91/vue-endpoint-factory/issues
- npm.io page: https://npm.io/package/vue-axios-rest

## Dependencies (303)

- [co](https://npm.io/package/co.md) ^4.6.0
- [ms](https://npm.io/package/ms.md) ^2.1.2
- [ws](https://npm.io/package/ws.md) ^7.5.6
- [ajv](https://npm.io/package/ajv.md) ^6.12.6
- [has](https://npm.io/package/has.md) ^1.0.3
- [psl](https://npm.io/package/psl.md) ^1.8.0
- [tmp](https://npm.io/package/tmp.md) ^0.0.33
- [abab](https://npm.io/package/abab.md) ^2.0.5
- [bser](https://npm.io/package/bser.md) ^2.1.1
- [exit](https://npm.io/package/exit.md) ^0.1.2
- [glob](https://npm.io/package/glob.md) ^7.2.0
- [levn](https://npm.io/package/levn.md) ^0.3.0
- [once](https://npm.io/package/once.md) ^1.4.0
- [rxjs](https://npm.io/package/rxjs.md) ^6.6.7
- [tmpl](https://npm.io/package/tmpl.md) ^1.0.5
- [tr46](https://npm.io/package/tr46.md) ^2.1.0
- [y18n](https://npm.io/package/y18n.md) ^5.0.8
- [acorn](https://npm.io/package/acorn.md) ^7.4.1
- [chalk](https://npm.io/package/chalk.md) ^4.1.2
- [cliui](https://npm.io/package/cliui.md) ^7.0.4
- [cssom](https://npm.io/package/cssom.md) ^0.4.4
- [debug](https://npm.io/package/debug.md) ^4.3.3
- [execa](https://npm.io/package/execa.md) ^5.1.1
- [fastq](https://npm.io/package/fastq.md) ^1.13.0
- [isexe](https://npm.io/package/isexe.md) ^2.0.0
- [jsdom](https://npm.io/package/jsdom.md) ^16.7.0
- [jsesc](https://npm.io/package/jsesc.md) ^2.5.2
- [json5](https://npm.io/package/json5.md) ^2.2.0
- [kleur](https://npm.io/package/kleur.md) ^3.0.3
- [leven](https://npm.io/package/leven.md) ^3.1.0
- [p-try](https://npm.io/package/p-try.md) ^2.2.0
- [saxes](https://npm.io/package/saxes.md) ^5.0.1
- [slash](https://npm.io/package/slash.md) ^3.0.0
- [table](https://npm.io/package/table.md) ^5.4.6
- [tslib](https://npm.io/package/tslib.md) ^1.14.1
- [which](https://npm.io/package/which.md) ^1.3.1
- [write](https://npm.io/package/write.md) ^1.0.3
- [yargs](https://npm.io/package/yargs.md) ^16.2.0
- [braces](https://npm.io/package/braces.md) ^3.0.2
- [dedent](https://npm.io/package/dedent.md) ^0.7.0
- [espree](https://npm.io/package/espree.md) ^6.2.1
- [expect](https://npm.io/package/expect.md) ^27.4.6
- [globby](https://npm.io/package/globby.md) ^11.1.0
- [ignore](https://npm.io/package/ignore.md) ^5.2.0
- [lodash](https://npm.io/package/lodash.md) ^4.17.21
- [merge2](https://npm.io/package/merge2.md) ^1.4.1
- [mkdirp](https://npm.io/package/mkdirp.md) ^0.5.5
- [nwsapi](https://npm.io/package/nwsapi.md) ^2.2.0
- [parse5](https://npm.io/package/parse5.md) ^6.0.1
- [rimraf](https://npm.io/package/rimraf.md) ^3.0.2
- [semver](https://npm.io/package/semver.md) ^6.3.0
- [throat](https://npm.io/package/throat.md) ^6.0.1
- [uri-js](https://npm.io/package/uri-js.md) ^4.4.1
- [walker](https://npm.io/package/walker.md) ^1.0.8
- [wrappy](https://npm.io/package/wrappy.md) ^1.0.2
- [chardet](https://npm.io/package/chardet.md) ^0.7.0
- [ci-info](https://npm.io/package/ci-info.md) ^3.3.0
- [deep-is](https://npm.io/package/deep-is.md) ^0.1.4
- [esprima](https://npm.io/package/esprima.md) ^4.0.1
- [esquery](https://npm.io/package/esquery.md) ^1.4.0
- [esutils](https://npm.io/package/esutils.md) ^2.0.3
- [figures](https://npm.io/package/figures.md) ^3.2.0
- [find-up](https://npm.io/package/find-up.md) ^4.1.0
- [flatted](https://npm.io/package/flatted.md) ^2.0.2
- [gensync](https://npm.io/package/gensync.md) ^1.0.0-beta.2
- [globals](https://npm.io/package/globals.md) ^12.4.0
- [is-glob](https://npm.io/package/is-glob.md) ^4.0.3
- [js-yaml](https://npm.io/package/js-yaml.md) ^3.14.1
- [mime-db](https://npm.io/package/mime-db.md) ^1.51.0
- [onetime](https://npm.io/package/onetime.md) ^5.1.2
- [p-limit](https://npm.io/package/p-limit.md) ^2.3.0
- [pirates](https://npm.io/package/pirates.md) ^4.0.4
- [pkg-dir](https://npm.io/package/pkg-dir.md) ^4.2.0
- [prompts](https://npm.io/package/prompts.md) ^2.4.2
- [regexpp](https://npm.io/package/regexpp.md) ^2.0.1
- [resolve](https://npm.io/package/resolve.md) ^1.21.0
- [reusify](https://npm.io/package/reusify.md) ^1.0.4
- [through](https://npm.io/package/through.md) ^2.3.8
- [tsutils](https://npm.io/package/tsutils.md) ^3.21.0
- [yallist](https://npm.io/package/yallist.md) ^4.0.0
- [anymatch](https://npm.io/package/anymatch.md) ^3.1.2
- [argparse](https://npm.io/package/argparse.md) ^1.0.10
- [asynckit](https://npm.io/package/asynckit.md) ^0.4.0
- [cssstyle](https://npm.io/package/cssstyle.md) ^2.3.0
- [dir-glob](https://npm.io/package/dir-glob.md) ^3.0.1
- [doctrine](https://npm.io/package/doctrine.md) ^3.0.0
- [emittery](https://npm.io/package/emittery.md) ^0.8.1
- [escalade](https://npm.io/package/escalade.md) ^3.1.1
- [fsevents](https://npm.io/package/fsevents.md) ^2.3.2
- [has-flag](https://npm.io/package/has-flag.md) ^4.0.0
- [inflight](https://npm.io/package/inflight.md) ^1.0.6
- [inherits](https://npm.io/package/inherits.md) ^2.0.4
- [inquirer](https://npm.io/package/inquirer.md) ^7.3.3
- [jest-cli](https://npm.io/package/jest-cli.md) ^27.4.7
- [make-dir](https://npm.io/package/make-dir.md) ^3.1.0
- [mimic-fn](https://npm.io/package/mimic-fn.md) ^2.1.0
- [minimist](https://npm.io/package/minimist.md) ^1.2.5
- [nice-try](https://npm.io/package/nice-try.md) ^1.0.5
- [p-locate](https://npm.io/package/p-locate.md) ^4.1.0
- [path-key](https://npm.io/package/path-key.md) ^3.1.1
- [progress](https://npm.io/package/progress.md) ^2.0.3
- [punycode](https://npm.io/package/punycode.md) ^2.1.1
- [react-is](https://npm.io/package/react-is.md) ^17.0.2
- [xmlchars](https://npm.io/package/xmlchars.md) ^2.2.0
- [acorn-jsx](https://npm.io/package/acorn-jsx.md) ^5.3.2
- [callsites](https://npm.io/package/callsites.md) ^3.1.0
- [camelcase](https://npm.io/package/camelcase.md) ^6.3.0
- [cli-width](https://npm.io/package/cli-width.md) ^3.0.0
- [data-urls](https://npm.io/package/data-urls.md) ^2.0.0
- [deepmerge](https://npm.io/package/deepmerge.md) ^4.2.2
- [escodegen](https://npm.io/package/escodegen.md) ^2.0.0
- [esrecurse](https://npm.io/package/esrecurse.md) ^4.3.0
- [fast-diff](https://npm.io/package/fast-diff.md) ^1.2.0
- [fast-glob](https://npm.io/package/fast-glob.md) ^3.2.10
- [form-data](https://npm.io/package/form-data.md) ^3.0.1
- [is-number](https://npm.io/package/is-number.md) ^7.0.0
- [is-stream](https://npm.io/package/is-stream.md) ^2.0.1
- [jest-diff](https://npm.io/package/jest-diff.md) ^27.4.6
- [jest-each](https://npm.io/package/jest-each.md) ^27.4.6
- [jest-mock](https://npm.io/package/jest-mock.md) ^27.4.6
- [jest-util](https://npm.io/package/jest-util.md) ^27.4.2
- [js-tokens](https://npm.io/package/js-tokens.md) ^4.0.0
- [lru-cache](https://npm.io/package/lru-cache.md) ^6.0.0
- [makeerror](https://npm.io/package/makeerror.md) ^1.0.12
- [minimatch](https://npm.io/package/minimatch.md) ^3.0.4
- [os-tmpdir](https://npm.io/package/os-tmpdir.md) ^1.0.2
- [path-type](https://npm.io/package/path-type.md) ^4.0.0
- [picomatch](https://npm.io/package/picomatch.md) ^2.3.1
- [run-async](https://npm.io/package/run-async.md) ^2.4.1
- [strip-bom](https://npm.io/package/strip-bom.md) ^4.0.0
- [type-fest](https://npm.io/package/type-fest.md) ^0.8.1
- [word-wrap](https://npm.io/package/word-wrap.md) ^1.2.3
- [wrap-ansi](https://npm.io/package/wrap-ansi.md) ^7.0.0
- [acorn-walk](https://npm.io/package/acorn-walk.md) ^7.2.0
- [agent-base](https://npm.io/package/agent-base.md) ^6.0.2
- [ansi-regex](https://npm.io/package/ansi-regex.md) ^5.0.1
- [babel-jest](https://npm.io/package/babel-jest.md) ^27.4.6
- [char-regex](https://npm.io/package/char-regex.md) ^1.0.2
- [cli-cursor](https://npm.io/package/cli-cursor.md) ^3.1.0
- [color-name](https://npm.io/package/color-name.md) ^1.1.3
- [concat-map](https://npm.io/package/concat-map.md) ^0.0.1
- [decimal.js](https://npm.io/package/decimal.js.md) ^10.3.1
- [estraverse](https://npm.io/package/estraverse.md) ^5.3.0
- [fill-range](https://npm.io/package/fill-range.md) ^7.0.1
- [flat-cache](https://npm.io/package/flat-cache.md) ^2.0.1
- [get-stream](https://npm.io/package/get-stream.md) ^6.0.1
- [iconv-lite](https://npm.io/package/iconv-lite.md) ^0.4.24
- [is-extglob](https://npm.io/package/is-extglob.md) ^2.1.1
- [micromatch](https://npm.io/package/micromatch.md) ^4.0.4
- [mime-types](https://npm.io/package/mime-types.md) ^2.1.34
- [node-int64](https://npm.io/package/node-int64.md) ^0.4.0
- [optionator](https://npm.io/package/optionator.md) ^0.8.3
- [path-parse](https://npm.io/package/path-parse.md) ^1.0.7
- [picocolors](https://npm.io/package/picocolors.md) ^1.0.0
- [prelude-ls](https://npm.io/package/prelude-ls.md) ^1.1.2
- [sisteransi](https://npm.io/package/sisteransi.md) ^1.0.5
- [slice-ansi](https://npm.io/package/slice-ansi.md) ^2.1.0
- [source-map](https://npm.io/package/source-map.md) ^0.6.1
- [sprintf-js](https://npm.io/package/sprintf-js.md) ^1.0.3
- [strip-ansi](https://npm.io/package/strip-ansi.md) ^6.0.1
- [text-table](https://npm.io/package/text-table.md) ^0.2.0
- [type-check](https://npm.io/package/type-check.md) ^0.3.2
- [whatwg-url](https://npm.io/package/whatwg-url.md) ^8.7.0
- [ansi-styles](https://npm.io/package/ansi-styles.md) ^3.2.1
- [array-union](https://npm.io/package/array-union.md) ^2.1.0
- [buffer-from](https://npm.io/package/buffer-from.md) ^1.1.2
- [cross-spawn](https://npm.io/package/cross-spawn.md) ^6.0.5
- [emoji-regex](https://npm.io/package/emoji-regex.md) ^8.0.0
- [fb-watchman](https://npm.io/package/fb-watchman.md) ^2.0.1
- [fs.realpath](https://npm.io/package/fs.realpath.md) ^1.0.0
- [glob-parent](https://npm.io/package/glob-parent.md) ^5.1.2
- [graceful-fs](https://npm.io/package/graceful-fs.md) ^4.2.9
- [imurmurhash](https://npm.io/package/imurmurhash.md) ^0.1.4
- [jest-circus](https://npm.io/package/jest-circus.md) ^27.4.6
- [jest-config](https://npm.io/package/jest-config.md) ^27.4.7
- [jest-runner](https://npm.io/package/jest-runner.md) ^27.4.6
- [jest-worker](https://npm.io/package/jest-worker.md) ^27.4.6
- [locate-path](https://npm.io/package/locate-path.md) ^5.0.0
- [mute-stream](https://npm.io/package/mute-stream.md) ^0.0.8
- [path-exists](https://npm.io/package/path-exists.md) ^4.0.0
- [resolve-cwd](https://npm.io/package/resolve-cwd.md) ^3.0.0
- [safe-buffer](https://npm.io/package/safe-buffer.md) ^5.1.2
- [signal-exit](https://npm.io/package/signal-exit.md) ^3.0.6
- [stack-utils](https://npm.io/package/stack-utils.md) ^2.0.5
- [symbol-tree](https://npm.io/package/symbol-tree.md) ^3.2.4
- [type-detect](https://npm.io/package/type-detect.md) ^4.0.8
- [w3c-hr-time](https://npm.io/package/w3c-hr-time.md) ^1.0.2
- [ansi-escapes](https://npm.io/package/ansi-escapes.md) ^4.3.2
- [astral-regex](https://npm.io/package/astral-regex.md) ^1.0.0
- [browserslist](https://npm.io/package/browserslist.md) ^4.19.1
- [caniuse-lite](https://npm.io/package/caniuse-lite.md) ^1.0.30001298
- [domexception](https://npm.io/package/domexception.md) ^2.0.1
- [eslint-scope](https://npm.io/package/eslint-scope.md) ^5.1.1
- [eslint-utils](https://npm.io/package/eslint-utils.md) ^1.4.3
- [html-escaper](https://npm.io/package/html-escaper.md) ^2.0.2
- [import-fresh](https://npm.io/package/import-fresh.md) ^3.3.0
- [import-local](https://npm.io/package/import-local.md) ^3.1.0
- [jest-resolve](https://npm.io/package/jest-resolve.md) ^27.4.6
- [jest-runtime](https://npm.io/package/jest-runtime.md) ^27.4.6
- [jest-watcher](https://npm.io/package/jest-watcher.md) ^27.4.6
- [merge-stream](https://npm.io/package/merge-stream.md) ^2.0.0
- [npm-run-path](https://npm.io/package/npm-run-path.md) ^4.0.1
- [resolve-from](https://npm.io/package/resolve-from.md) ^5.0.0
- [run-parallel](https://npm.io/package/run-parallel.md) ^1.2.0
- [safer-buffer](https://npm.io/package/safer-buffer.md) ^2.1.2
- [string-width](https://npm.io/package/string-width.md) ^4.2.3
- [test-exclude](https://npm.io/package/test-exclude.md) ^6.0.0
- [tough-cookie](https://npm.io/package/tough-cookie.md) ^4.0.0
- [universalify](https://npm.io/package/universalify.md) ^0.1.2
- [yargs-parser](https://npm.io/package/yargs-parser.md) ^20.2.9
- [acorn-globals](https://npm.io/package/acorn-globals.md) ^6.0.0
- [color-convert](https://npm.io/package/color-convert.md) ^1.9.3
- [function-bind](https://npm.io/package/function-bind.md) ^1.1.1
- [human-signals](https://npm.io/package/human-signals.md) ^2.1.0
- [is-typedarray](https://npm.io/package/is-typedarray.md) ^1.0.0
- [jest-docblock](https://npm.io/package/jest-docblock.md) ^27.4.0
- [jest-get-type](https://npm.io/package/jest-get-type.md) ^27.4.0
- [jest-jasmine2](https://npm.io/package/jest-jasmine2.md) ^27.4.6
- [jest-snapshot](https://npm.io/package/jest-snapshot.md) ^27.4.6
- [jest-validate](https://npm.io/package/jest-validate.md) ^27.4.6
- [node-releases](https://npm.io/package/node-releases.md) ^2.0.1
- [parent-module](https://npm.io/package/parent-module.md) ^1.0.1
- [pretty-format](https://npm.io/package/pretty-format.md) ^27.4.6
- [shebang-regex](https://npm.io/package/shebang-regex.md) ^1.0.0
- [string-length](https://npm.io/package/string-length.md) ^4.0.2
- [terminal-link](https://npm.io/package/terminal-link.md) ^2.1.1
- [balanced-match](https://npm.io/package/balanced-match.md) ^1.0.2
- [delayed-stream](https://npm.io/package/delayed-stream.md) ^1.0.0
- [detect-newline](https://npm.io/package/detect-newline.md) ^3.1.0
- [diff-sequences](https://npm.io/package/diff-sequences.md) ^27.4.0
- [is-core-module](https://npm.io/package/is-core-module.md) ^2.8.1
- [jest-haste-map](https://npm.io/package/jest-haste-map.md) ^27.4.6
- [normalize-path](https://npm.io/package/normalize-path.md) ^3.0.0
- [restore-cursor](https://npm.io/package/restore-cursor.md) ^3.1.0
- [supports-color](https://npm.io/package/supports-color.md) ^7.2.0
- [to-regex-range](https://npm.io/package/to-regex-range.md) ^5.0.1
- [v8-to-istanbul](https://npm.io/package/v8-to-istanbul.md) ^8.1.0
- [brace-expansion](https://npm.io/package/brace-expansion.md) ^1.1.11
- [combined-stream](https://npm.io/package/combined-stream.md) ^1.0.8
- [external-editor](https://npm.io/package/external-editor.md) ^3.1.0
- [fast-deep-equal](https://npm.io/package/fast-deep-equal.md) ^3.1.3
- [get-caller-file](https://npm.io/package/get-caller-file.md) ^2.0.5
- [is-generator-fn](https://npm.io/package/is-generator-fn.md) ^2.1.0
- [jest-regex-util](https://npm.io/package/jest-regex-util.md) ^27.4.0
- [jest-serializer](https://npm.io/package/jest-serializer.md) ^27.4.0
- [natural-compare](https://npm.io/package/natural-compare.md) ^1.4.0
- [queue-microtask](https://npm.io/package/queue-microtask.md) ^1.2.3
- [resolve.exports](https://npm.io/package/resolve.exports.md) ^1.1.0
- [shebang-command](https://npm.io/package/shebang-command.md) ^1.2.0
- [whatwg-encoding](https://npm.io/package/whatwg-encoding.md) ^1.0.5
- [whatwg-mimetype](https://npm.io/package/whatwg-mimetype.md) ^2.3.0
- [cjs-module-lexer](https://npm.io/package/cjs-module-lexer.md) ^1.2.2
- [fast-levenshtein](https://npm.io/package/fast-levenshtein.md) ^2.0.6
- [file-entry-cache](https://npm.io/package/file-entry-cache.md) ^5.0.1
- [follow-redirects](https://npm.io/package/follow-redirects.md) ^1.14.6
- [get-package-type](https://npm.io/package/get-package-type.md) ^0.1.0
- [http-proxy-agent](https://npm.io/package/http-proxy-agent.md) ^4.0.1
- [istanbul-reports](https://npm.io/package/istanbul-reports.md) ^3.1.3
- [path-is-absolute](https://npm.io/package/path-is-absolute.md) ^1.0.1
- [v8-compile-cache](https://npm.io/package/v8-compile-cache.md) ^2.3.0
- [babel-preset-jest](https://npm.io/package/babel-preset-jest.md) ^27.4.0
- [https-proxy-agent](https://npm.io/package/https-proxy-agent.md) ^5.0.0
- [jest-message-util](https://npm.io/package/jest-message-util.md) ^27.4.6
- [jest-pnp-resolver](https://npm.io/package/jest-pnp-resolver.md) ^1.2.2
- [require-directory](https://npm.io/package/require-directory.md) ^2.1.1
- [w3c-xmlserializer](https://npm.io/package/w3c-xmlserializer.md) ^2.0.0
- [write-file-atomic](https://npm.io/package/write-file-atomic.md) ^3.0.3
- [convert-source-map](https://npm.io/package/convert-source-map.md) ^1.8.0
- [jest-changed-files](https://npm.io/package/jest-changed-files.md) ^27.4.2
- [jest-leak-detector](https://npm.io/package/jest-leak-detector.md) ^27.4.6
- [jest-matcher-utils](https://npm.io/package/jest-matcher-utils.md) ^27.4.6
- [source-map-support](https://npm.io/package/source-map-support.md) ^0.5.21
- [to-fast-properties](https://npm.io/package/to-fast-properties.md) ^2.0.0
- [webidl-conversions](https://npm.io/package/webidl-conversions.md) ^6.1.0
- [xml-name-validator](https://npm.io/package/xml-name-validator.md) ^3.0.0
- [collect-v8-coverage](https://npm.io/package/collect-v8-coverage.md) ^1.0.1
- [eslint-visitor-keys](https://npm.io/package/eslint-visitor-keys.md) ^1.3.0
- [istanbul-lib-report](https://npm.io/package/istanbul-lib-report.md) ^3.0.0
- [strip-final-newline](https://npm.io/package/strip-final-newline.md) ^2.0.0
- [strip-json-comments](https://npm.io/package/strip-json-comments.md) ^3.1.1
- [supports-hyperlinks](https://npm.io/package/supports-hyperlinks.md) ^2.2.0
- [electron-to-chromium](https://npm.io/package/electron-to-chromium.md) ^1.4.38
- [escape-string-regexp](https://npm.io/package/escape-string-regexp.md) ^1.0.5
- [json-schema-traverse](https://npm.io/package/json-schema-traverse.md) ^0.4.1
- [typedarray-to-buffer](https://npm.io/package/typedarray-to-buffer.md) ^3.1.5
- [babel-plugin-istanbul](https://npm.io/package/babel-plugin-istanbul.md) ^6.1.1
- [html-encoding-sniffer](https://npm.io/package/html-encoding-sniffer.md) ^2.0.1
- [istanbul-lib-coverage](https://npm.io/package/istanbul-lib-coverage.md) ^3.2.0
- [jest-environment-node](https://npm.io/package/jest-environment-node.md) ^27.4.6
- [browser-process-hrtime](https://npm.io/package/browser-process-hrtime.md) ^1.0.0
- [jest-environment-jsdom](https://npm.io/package/jest-environment-jsdom.md) ^27.4.6
- [babel-plugin-jest-hoist](https://npm.io/package/babel-plugin-jest-hoist.md) ^27.4.0
- [is-fullwidth-code-point](https://npm.io/package/is-fullwidth-code-point.md) ^2.0.0
- [istanbul-lib-instrument](https://npm.io/package/istanbul-lib-instrument.md) ^5.1.0
- [prettier-linter-helpers](https://npm.io/package/prettier-linter-helpers.md) ^1.0.0
- [istanbul-lib-source-maps](https://npm.io/package/istanbul-lib-source-maps.md) ^4.0.1
- [functional-red-black-tree](https://npm.io/package/functional-red-black-tree.md) ^1.0.1
- [jest-resolve-dependencies](https://npm.io/package/jest-resolve-dependencies.md) ^27.4.6
- [fast-json-stable-stringify](https://npm.io/package/fast-json-stable-stringify.md) ^2.1.0
- [supports-preserve-symlinks-flag](https://npm.io/package/supports-preserve-symlinks-flag.md) ^1.0.0
- [babel-preset-current-node-syntax](https://npm.io/package/babel-preset-current-node-syntax.md) ^1.0.1
- [is-potential-custom-element-name](https://npm.io/package/is-potential-custom-element-name.md) ^1.0.1
- [json-stable-stringify-without-jsonify](https://npm.io/package/json-stable-stringify-without-jsonify.md) ^1.0.1

## Alternatives

- [launchdarkly-js-client-sdk](https://npm.io/package/launchdarkly-js-client-sdk.md) — 2.5M weekly downloads
- [@elastic/elasticsearch](https://npm.io/package/@elastic/elasticsearch.md) — 2.1M weekly downloads
- [@c8y/client](https://npm.io/package/@c8y/client.md) — 15.3K weekly downloads
- [@signaldb/maverickjs](https://npm.io/package/@signaldb/maverickjs.md) — 1.7K weekly downloads
- [@bbc/http-transport-cache](https://npm.io/package/@bbc/http-transport-cache.md) — 1.2K weekly downloads

## Recent versions

- 0.3.1 (latest) — 2022-01-10
- 0.3.0 — 2022-01-10
- 0.2.0 — 2022-01-09
- 0.1.0 — 2022-01-09

## README

# vue-rest-axios

## Usage
```
import axios from 'axios';
import RestFactory from 'vue-rest-axios';

const instance = axios.create(); // add axios options here
const yourEndpoint = new RestFactory('http://your.url.here/:id/moreurl/', { axiosInstance: instance });
yourEndpoint.get(['id1']);
// or if one id only
yourEndpoint.get('id1');

// options can also be passed
yourEndpoint.get('id', { timeout: 5000 });
```

### Available Functions
  #### delete(ids: inputIds, data: any, config?: AxiosRequestConfig)

  #### get(ids?: inputIds, config?: AxiosRequestConfig)

  #### head(ids?: inputIds, config?: AxiosRequestConfig)

  #### options(ids?: inputIds, config?: AxiosRequestConfig)

  #### patch(ids: inputIds, data: any, config?: AxiosRequestConfig)

  #### post(data: any, config?: AxiosRequestConfig)

  #### put(ids: inputIds, data: any, config?: AxiosRequestConfig)

## Constructor Options
### Url
String to use as base of rest calls
id(s) can be injected using `:id`  
example:  
`www.example.com/something/:id/details`  

### Axios options
`axios` Axios Instance  
`allowParallelRequests` remove endpoint abort trigger when calling while a request is in progress  
`trailingSlash` Force trailing slash on url  

## Outputs
### Status
Status of current endpoint call available on instance via `this.is`  
example:  
`this.is.loading`  
`this.is.loaded`  
`this.is.invalid`  

### Response
Axios response (when available)

### Error
Axios error (when available)



# TODO
## VueX export
- split for state, mutations, actions
## CompositionAPI export
- reactive vars
## Jest
- unit tests
## Cypress
- endpoint tests

# Should I
## allow response adapter as options?
- issues with list vs detail adapters


# API testing source
## zippopatam zip code info
Structure: api.zippopotam.us/country/postal-code
Example: api.zippopotam.us/us/90210
NEW! City->Zip: api.zippopotam.us/country/state/city
Example: api.zippopotam.us/us/ma/belmont

---
_Source: https://npm.io/package/vue-axios-rest · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
