Skip to content

Commit

Permalink
Add split option to README
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeembrey committed Jan 8, 2024
1 parent 8db40c3 commit f7ece2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/change-case/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ All methods accept an `options` object as the second argument:

- `delimiter?: string` The character to use between words. Default depends on method, e.g. `_` in snake case.
- `locale?: string[] | string | false` Lower/upper according to specified locale, defaults to host environment. Set to `false` to disable.
- `separateNumbers?: boolean` Splits `foo123` into `foo 123` instead of keeping them together. Defaults to `false`.
- `split?: (value: string) => string[]` A function to define how the input is split into words. Defaults to `split`.
- `prefixCharacters?: string` Retain at the beginning of the string. Defaults to `""`. Example: use `"_"` to keep the underscores in `__typename`.
- `suffixCharacters?: string` Retain at the end of the string. Defaults to `""`. Example: use `"_"` to keep the underscore in `type_`.

Expand Down

0 comments on commit f7ece2c

Please sign in to comment.