cabal-version: 3.0
name: pinterest-url-normalizer
version: 0.1.1.0
synopsis: Parse and normalize Pinterest URLs without network requests
description:
A small, zero-I/O library for classifying and normalizing Pinterest Pin,
short, profile, board, and Ideas URLs. It uses an exact host allow list and
rejects HTTP URLs, credentials, non-standard ports, and lookalike domains.
homepage: https://savepinner.com/
bug-reports: https://github.com/jiankn/pinterest-url-normalizer-haskell/issues
license: MIT
license-file: LICENSE
author: SavePinner
maintainer: jiankn@users.noreply.github.com
copyright: 2026 SavePinner
category: Web
build-type: Simple
extra-source-files: README.md
extra-doc-files: CHANGELOG.md
source-repository head
type: git
location: https://github.com/jiankn/pinterest-url-normalizer-haskell.git
library
exposed-modules: SavePinner.PinterestURL
hs-source-dirs: src
build-depends: base >=4.15 && <5,
network-uri >=2.6 && <2.7
default-language: Haskell2010
ghc-options: -Wall
test-suite pinterest-url-normalizer-test
type: exitcode-stdio-1.0
main-is: Spec.hs
hs-source-dirs: test
build-depends: base >=4.15 && <5,
pinterest-url-normalizer
default-language: Haskell2010
ghc-options: -Wall