JSPM

types-cloudflare-worker

1.2.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2326
  • Score
    100M100P100Q118989F
  • License Apache-2.0

TypeScript types for the Cloudflare Worker API

Package Exports

  • types-cloudflare-worker

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 (types-cloudflare-worker) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

TypeScript types for Cloudflare Workers

Types for Cloudflare Workers extending Service Worker types. Follows documentation available in: https://developers.cloudflare.com/workers/about/

Use

Requires tsconfig.json to contain:

"lib": ["webworker"],

See additional details and a demo in: https://github.com/udacity/cloudflare-typescript-workers

License

Licensed under the Apache License, Version 2.0.

© 2019 Udacity, Inc.

Content derived from Cloudflare Developer Documentation. © 2019 Cloudflare, Inc.