Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. PureScript
  3. purescript-routing

purescript-routing

Apache-2.0PureScriptv11.0.0

A clean, type-safe client-side routing library for PureScript applications.

GitHubGitHub
107 stars36 forks0 contributors

What is purescript-routing?

Routing is a client-side routing library for PureScript that enables type-safe URL management and navigation in single-page applications. It provides a clean API for defining routes, parsing parameters, and handling navigation events without page reloads. The library leverages PureScript's type system to ensure routing logic is correct at compile time.

Target Audience

PureScript developers building client-side web applications who need a robust, type-safe solution for managing routing and navigation.

Value Proposition

Developers choose Routing for its strong type safety, which eliminates common routing errors, and its clean, declarative API that integrates seamlessly with PureScript's functional programming paradigm.

Overview

A clean, type-safe routing library for PureScript.

Use Cases

Best For

  • Building type-safe single-page applications in PureScript
  • Managing client-side navigation with compile-time route validation
  • Parsing and validating URL parameters in a functional style
  • Creating maintainable routing logic for PureScript web apps
  • Integrating routing with PureScript's effect systems
  • Developing SPAs where URL correctness is critical

Not Ideal For

  • Projects requiring server-side rendering or isomorphic applications
  • Teams using JavaScript or TypeScript without PureScript integration
  • Applications where routing needs are minimal and don't justify type safety overhead

Pros & Cons

Pros

Type Safety Assurance

Leverages PureScript's type system to validate routes and parameters at compile time, eliminating common runtime routing errors as emphasized in the philosophy.

Declarative API

Offers a clean, straightforward interface for defining routes, making code maintainable and easy to reason about, as highlighted in the guide and documentation.

Comprehensive Documentation

Includes a detailed guide, module docs on Pursuit, and usage examples in the test suite, providing multiple resources for learning and troubleshooting.

PureScript Integration

Designed specifically for PureScript, ensuring seamless integration with its functional programming patterns and effect systems for client-side applications.

Cons

PureScript-Only Limitation

Restricted to PureScript projects, making it unusable in mixed-language environments or with popular frameworks like React or Vue without significant workarounds.

Documentation Fragmentation

Documentation is spread across Pursuit, a docs directory, and the test suite, which can make it challenging to find specific information quickly and cohesively.

Niche Community Support

As part of the smaller PureScript ecosystem, it has limited community resources, fewer third-party extensions, and slower response times for issues and updates.

Frequently Asked Questions

Quick Stats

Stars107
Forks36
Contributors0
Open Issues8
Last commit4 years ago
CreatedSince 2015

Tags

#functional-programming#single-page-application#purescript#type-safe#client-side#web-development#routing

Built With

P
PureScript

Included in

PureScript482
Auto-fetched 15 hours ago

Related Projects

purescript-routing-duplexpurescript-routing-duplex

Unified parsing and printing for routes in PureScript

Stars94
Forks20
Last commit3 years ago
purescript-troutpurescript-trout

Type-Level Routing for PureScript

Stars42
Forks15
Last commit6 years ago
purescript-cofree-react-routerpurescript-cofree-react-router

React-Router implemented in PureScript as Cofree Comonad for the Array functor.

Stars26
Forks2
Last commit8 years ago
purescript-boomboompurescript-boomboom

Never hard code your urls again. Boomboom them all!

Stars5
Forks2
Last commit7 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub