Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lpil/justin
https://github.com/lpil/justin
Last synced: 21 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/lpil/justin
- Owner: lpil
- Created: 2023-12-30T18:40:36.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2023-12-31T11:34:43.000Z (12 months ago)
- Last Synced: 2024-05-01T23:05:05.243Z (7 months ago)
- Language: Gleam
- Size: 3.91 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
- awesome-gleam - justin - [📚](https://hexdocs.pm/justin/) - Convert between snake_case, camelCase, and other cases in Gleam (Packages / Text)
README
# justin
Convert between snake_case, camelCase, and other cases in Gleam.
[![Package Version](https://img.shields.io/hexpm/v/justin)](https://hex.pm/packages/justin)
[![Hex Docs](https://img.shields.io/badge/hex-docs-ffaff3)](https://hexdocs.pm/justin/)```sh
gleam add justin
```
```gleam
import justinpub fn main() {
justin.snake_case("Hello World")
// -> "hello_world"justin.camel_case("Hello World")
// -> "helloWorld"justin.pascal_case("Hello World")
// -> "HelloWorld"justin.kebab_case("Hello World")
// -> "hello-worldjustin.sentence_case("hello-world")
// -> "Hello world"
}
```Further documentation can be found at .