Skip to content

alineacms/iso

Repository files navigation

iso

Cross platform JavaScript apis (supports Node.js 18+)

import {
  // Crypto
  crypto,

  // Web streams
  ByteLengthQueuingStrategy,
  CompressionStream,
  CountQueuingStrategy,
  DecompressionStream,
  ReadableByteStreamController,
  ReadableStream,
  ReadableStreamBYOBReader,
  ReadableStreamBYOBRequest,
  ReadableStreamDefaultController,
  ReadableStreamDefaultReader,
  TextDecoderStream,
  TextEncoderStream,
  TransformStream,
  TransformStreamDefaultController,
  WritableStream,
  WritableStreamDefaultController,
  WritableStreamDefaultWriter,

  // Fetch apis
  AbortController,
  AbortSignal,
  FormData,
  Headers,
  Request,
  Response,
  fetch,

  // Binary utilities
  atob,
  btoa,
  Blob
} from '@alinea/iso'