@mocks-server/admin-api-paths
TypeScript icon, indicating that this package has built-in type declarations

5.0.0 • Public • Published

Mocks Server logo

Build Status Coverage Quality Gate Downloads Renovate License


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.

Package Sidebar

Install

npm i @mocks-server/admin-api-paths

Weekly Downloads

16,989

Version

5.0.0

License

MIT

Unpacked Size

9.87 kB

Total Files

8

Last publish

Collaborators

  • javierbrea