JSPM

@microsoft/kiota-http-fetchlibrary

1.0.0-preview.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 17948
  • Score
    100M100P100Q161420F
  • License MIT

Kiota request adapter implementation with fetch

Package Exports

  • @microsoft/kiota-http-fetchlibrary
  • @microsoft/kiota-http-fetchlibrary/dist/cjs/src/index.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 (@microsoft/kiota-http-fetchlibrary) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

To-do

TypeScript

  • browserlist configuration for compat
  • eslint configuration for linting
  • unit tests (chai + mocha + chai as promised + some coverage reporter)
  • doc comments

Using the Http fetch implementations

  1. Add a .npmrc file with the following content

    @microsoft:registry=https://npm.pkg.github.com/
  2. npm login --scope=@microsoft --registry=https://npm.pkg.github.com (use a token with package:read, repo and SSO enabled for the Microsoft organization as the password)

  3. npm i @microsoft/kiota-http-fetchlibrary -S.