Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Oh heck, it's a heckin' case conversion library for PureScript

License

Notifications You must be signed in to change notification settings

maxdeviant/purescript-heckin

Repository files navigation

purescript-heckin

Pursuit

Oh heck, it's a heckin' case conversion library for PureScript

heckin provides functions for converting between various casing conventions.

Supported Casing Conventions

  • camelCase
  • PascalCase
  • snake_case
  • SCREAMING_SNAKE_CASE
  • kebab-case
  • Title Case

Installation

You can install heckin with Spago:

spago install heckin

Usage

To use heckin, import your desired casing functions and call them. All of the casing functions have a signature of String -> String.

In the REPL:

> import Data.String.Casing
> toSnakeCase "helloWorld"
"hello_world"
> toCamelCase "hello_world"
"helloWorld"

Documentation

Documentation is available on Pursuit.

Prior Art

This library was inspired by heck, both in name and behavior.

About

Oh heck, it's a heckin' case conversion library for PureScript

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /