Skip to content
/ pure Public

Pure TypeScript utility library for browsers

License

Notifications You must be signed in to change notification settings

Pistonite/pure

Repository files navigation

pure

JSR Version JSR Version

Pure TypeScript utility library for browsers

Documentation

  • fs: Browser File System Integration
  • result: 0 runtime error handling without exceptions
  • log: Logging library with log export ability
  • sync: Synchronization utilities
    • SerialEvent: Discard/stop previous async process when a new one starts
  • pref: Preference utilities, for example theme and language.

Setup

Install the package from JSR with your package manager

npx jsr install @pistonite/pure

For React features

npx jsr install @pistonite/pure-react

Import the things you need

import type { Result } from "@pistonite/pure/result";