JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 28302
  • Score
    100M100P100Q161140F
  • License MIT

Api paths of @mocks-server/plugin-admin-api

Package Exports

  • @mocks-server/admin-api-paths
  • @mocks-server/admin-api-paths/dist/index.cjs.js
  • @mocks-server/admin-api-paths/dist/index.esm.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@mocks-server/admin-api-paths) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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.