@mocks-server/admin-api-paths
v5.0.0
Published
Api paths of @mocks-server/plugin-admin-api
Downloads
116,773
Maintainers
Readme
Api paths of the Mocks-Server Plugin Admin Api
Constants defining API paths of the Mocks Server Plugin Admin API. They can be used to build plugin API clients.
Installation
npm install --save @mocks-server/admin-api-paths
The UMD build is also available on unpkg. When UMD package is loaded, it creates a pluginAdminApiPaths
global object containing all constants.
<script src="https://unpkg.com/@mocks-server/admin-api-paths/dist/index.umd.js"></script>
Usage
import { BASE_PATH, CONFIG } from "@mocks-server/admin-api-paths";
console.log(BASE_PATH); // "/api"
console.log(CONFIG); // "/config"
Contributing
Contributors are welcome. Please read the contributing guidelines and code of conduct.