Library DocumentationNPMGitHub
  • Preparing search index...
  • The search index is not available
Amplify JS API Documentation
  • Amplify JS API Documentation
  • @aws-amplify/adapter-nextjs
  • index
  • <Reference Types>
  • "/home/runner/work/amplify-js/amplify-js/amplify-js/packages/adapter-nextjs/node_modules/undici-types/index"
  • parseMIMEType

Function parseMIMEType

  • parseMIMEType(input): "failure" | MIMEType
  • Parse a string to a MIMEType object. Returns failure if the string couldn't be parsed.

    Parameters

    • input: string

    Returns "failure" | MIMEType

    See

    https://mimesniff.spec.whatwg.org/#parse-a-mime-type

Settings

Member Visibility

Theme

Amplify JS API Documentation
  • aws-amplify
  • @aws-amplify
    • geo
    • interactions
    • predictions
    • pubsub
    • adapter-nextjs
    • datastore-storage-adapter